Re: Re: [SLE] Weird mail routing
![](https://seccdn.libravatar.org/avatar/c43faa0436e97925199c77c24e85dc4b.jpg?s=120&d=mm&r=g)
"Robert C. Paulsen Jr." a écrit :
On Sun, Oct 07, 2001 at 06:22:35PM +0200, Alain
DIDIERJEAN wrote:
Tor Sigurdsson a écrit :
On Friday 05 October 2001 10:32, you 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
Where should I look ? Thanks,
How about providing a sample header for us to scrutinise ?
-tosi Here you are : free.fr is my provider and adj.org a
domain for internal use
----- Transcript of session follows ----- root... Deferred: Name server: pop.free.fr: host name lookup failure Warning: message still undelivered after 1 day Will keep trying until message is 5 days old
--f96M45M07087.1002405845/plant.adj.org Content-Type: message/delivery-status
Reporting-MTA: dns; plant.adj.org Arrival-Date: Sat, 6 Oct 2001 00:00:00 +0200
Final-Recipient: RFC822; root@plant.adj.org X-Actual-Recipient: RFC822; root@pop.free.fr Action: delayed Status: 4.4.3 Remote-MTA: DNS; pop.free.fr Last-Attempt-Date: Sun, 7 Oct 2001 00:04:05 +0200 Will-Retry-Until: Thu, 11 Oct 2001 00:00:00 +0200
To the original poster:
look in /etc/rc.config.d/sendmail.rc.config for the following:
# sendmail assumes the following space-separated host- names to be # the local host (this must just be used for names differrent to the # hostname, for e.g. aliases like www.nowhere.com) # SENDMAIL_LOCALHOST="localhost"
Change to SENDMAIL_LOCALHOST="localhost plant.adj.org"
After this change you must (as root) do the following:
SuSEconfig rcsendmail restart
SENMAIL_LOCALHOST was already set as above. I also found a SENDMAIL_RELAY set to "pop.free.fr" which could be the cause of my problems. I commented it out. W'll see what happens. Thanks for the tips,
-- ~adj~ Ces mystères nous dépassent Feignons d'en être l'organisateur...
-- To unsubscribe send e-mail to suse-linux-e- unsubscribe@suse.com For additional commands send e-mail to suse-linux-e- help@suse.com Also check the FAQ at http://www.suse.com/support/faq and
Hi, I'd step back from the original question...and go simpler. What is the product of the following: echo $MAIL you should find it is: /var/spool/mail/$USER if not then type in the following: export MAIL=/var/spool/mail/$USER and all should be well again Bon Journee tout le monde :-) --Thomas Adam processed OK. pseudo the
archives at http://lists.suse.com
Thomas Adam
"The Linux Weekend Mechanic" --
![](https://seccdn.libravatar.org/avatar/cf009430676d98fbd98d8fd7e14c2eae.jpg?s=120&d=mm&r=g)
THOMAS ADAM a écrit :
Hi,
I'd step back from the original question...and go simpler.
What is the product of the following:
echo $MAIL
you should find it is:
/var/spool/mail/$USER
if not then type in the following:
export MAIL=/var/spool/mail/$USER
and all should be well again
Bon Journee tout le monde :-)
Great french, Thomas. MAIL is not set on my system. The problem is : where is it supposed to be set from to be available for whatever needs it ? -- ~adj~ Ces mystères nous dépassent Feignons d'en être l'organisateur...
participants (2)
-
Alain DIDIERJEAN
-
THOMAS ADAM