The qualify_domain did the trick! Thanks soooooo much! +1 Phil
-----Original Message----- From: Phil Pennock [mailto:[email protected]] Sent: Friday, June 05, 2009 12:35 AM To: Harold J. Ballinger Cc: [email protected] Subject: Re: [exim] How do I force a certain "MAIL FROM" address? On 2009-06-04 at 17:17 -0400, Harold J. Ballinger wrote: > My /var/spool/exim4/msglog is filling up with messages similar to: > > 2009-06-04 16:02:30 [email protected] <[email protected]> R=dnslookup > T=remote_smtp: SMTP error from remote mailer after MAIL FROM:<hobbit@> > SIZE=1773: host hhcgvl-msbs01.hhc.int [10.10.10.21]: 501 5.5.4 Invalid Address > Process failed (1) when writing error message to hobbit@ (frozen) You're sending "unqualified" addresses. You need to look into the "qualify_domain" setting. > It appears to me that the problem is with the "MAIL FROM" address. > > I have tried modifying my /etc/email-addresses with: > > hobbit: [email protected] > root: [email protected] > hobbit@: [email protected] > hob...@localhost: [email protected] Those probably only affect inbound mail (assuming that there's a redirect router referencing that file). > I have also tried modifying /etc/exim4/exim4.conf.conf with: > > begin rewrite > hobbit@ [email protected] s > Hobbit@ [email protected] s > hobbit [email protected] F > Hobbit [email protected] F 's' is for the "Sender:" header; I note that you don't have F combined with "hobbit@" there. Setting qualify_domain would put something after the @ too. "exim -brw" is your assistant here. Another approach is errors_to on the Router which handles the recipient. -Phil -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
