On 05/18/2014 01:37 PM, Jack Craig wrote: > > > > On Sun, May 18, 2014 at 10:38 AM, Steven Stern > <subscribed-lists@xxxxxxxxxxxxx <mailto:subscribed-lists@xxxxxxxxxxxxx>> > wrote: > > I have root aliased to "webmaster@xxxxxxxxxxxx > <mailto:webmaster@xxxxxxxxxxxx>" in /etc/aliases. When I > use "sendmail -bv root", it shows that the mail will be send to > "webmaster@xxxxxxxxxxxx <mailto:webmaster@xxxxxxxxxxxx>". > > But when I use "mail root", the mail goes to > "root@xxxxxxxxxxxxxxxxxxxxxxxx <mailto:root@xxxxxxxxxxxxxxxxxxxxxxxx>". > > Mail is handled by a SMARTHOST statement going out to a gmail mx server, > but the problem remains if I let it default to finding an MX on its own. > > I'm baffled. > -- > -- Steve > -- > users mailing list > users@xxxxxxxxxxxxxxxxxxxxxxx <mailto:users@xxxxxxxxxxxxxxxxxxxxxxx> > To unsubscribe or change subscription options: > https://admin.fedoraproject.org/mailman/listinfo/users > Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct > Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines > Have a question? Ask away: http://ask.fedoraproject.org > > > > *you might try some of these sendmail debug chants, ...* > > cat /var/log/maillog | grep -c 'reject=' > > to reset service > > /etc/init.d/sendmail {start|stop|restart} > > sendmail logging levels > > /-d0 General debugging. > -d1 Show send information. > -d2 End with finis( ). > -d3 Print the load average. > -d4 Enough disk space. > -d5 Show events. > -d6 Show failed mail. > -d7 The queue file name. > -d8 DNS name resolution. > -d9 Trace RFC1413 queries. > -d9.1 Make host name canonical. > -d10 Show recipient delivery. > -d11 Trace delivery. > -d12 Show mapping of relative host. > -d13 Show delivery. > -d14 Show header field commas. > -d15 Show network get request activity. > -d16 Outgoing connections. > -d17 List MX hosts./ > > 12 SMTP connects logged at LOG_INFO. > 13 Log bad user shells, world-writable files, and other questionable > situations. > 14 Connection refusals logged at LOG_INFO. > 15 All incoming and outgoing SMTP commands and their arguments logged at > LOG_INFO. > > > sendmail -v -d0.15 -bv jackc > > > When I run it from the command line, it looks OK. But when it gets to Google, the header does not include "for <webmaster@xxxxxxxxxxxx>". It's addressed to "root@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx". When I send from an identically configured CentOS machine, the "for" line appears. I've gone so far as to copy /etc/mail/* and /etc/aliases* from that CentOS machine to my Fedora machine, but that doesn't fix the problem. -- -- Steve -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org