I've been working on my mail system these day. Everything works fine, except that e-mails generated locally (usually from cron to root) end no longer in /var/mail/root but go to /var/spool/mqueue where they stay as they are refused by the provider's mail-server. Outgoing e-mails are processed OK. Where should I look ? Thanks, -- ~adj~ Ces mystères nous dépassent Feignons d'en être l'organisateur...
Which mail package are you using? Sendmail, Postfix, ...
In the future, I suggest putting the configuration files under version
control. Then you know what files changed and how, and always have a
working set you can fall back to.
Jeffrey
Quoting Alain DIDIERJEAN
I've been working on my mail system these day. Everything works fine, except that e-mails generated locally (usually from cron to root) end no longer in /var/mail/root but go to /var/spool/mqueue where they stay as they are refused by the provider's mail-server. Outgoing e-mails are processed OK. Where should I look ? Thanks,
-- I don't do Windows and I don't come to work before nine. -- Johnny Paycheck
On Friday 05 October 2001 05:32am, Alain DIDIERJEAN wrote:
I've been working on my mail system these day. Everything works fine, except that e-mails generated locally (usually from cron to root) end no longer in /var/mail/root but go to /var/spool/mqueue where they stay as they are refused by the provider's mail-server. Outgoing e-mails are processed OK.
Look for the mail server's default domain. It sounds like it is appending your ISP's domain. So "root" becomes "root@isp.net" instead of "root@localhost". You can send local e-mails by specifying a domain: "root@localhost". -- Robert Wohlfarth rjwohlfar@galaxyinternet.net "Is not life more important than food, and the body more important than clothes?" -- Matthew 6:25b
Alain DIDIERJEAN a écrit :
I've been working on my mail system these day. Everything works fine, except that e-mails generated locally (usually from cron to root) end no longer in /var/mail/root but go to /var/spool/mqueue where they stay as they are refused by the provider's mail-server. Outgoing e-mails are processed OK. Where should I look ? Thanks,
Thanks to all who helped. Things went back to what I expected since I commented out the last line in this excerpt from /etc/rc.config.d/sendmail.rc.config : # # do not deliver any email locally, but send all email to another host # this can just be used with another system that has the same users on it # and you probably also want to set the FROM_HEADER to the other host # #SENDMAIL_RELAY="pop.free.fr" Hope it can help... -- ~adj~ Ces mystères nous dépassent Feignons d'en être l'organisateur...
participants (3)
-
Alain DIDIERJEAN
-
Jeffrey Taylor
-
Robert Wohlfarth