Re: strange sendmail behavir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/18/2014 05:07 PM, Jack Craig wrote:
> did you run /etc/mail/make after db files update?

Of course.

Anyhow, the workaround is to use genericstable. I don't know why it's
needed on this system and none of the others, but it's got things going
again

  @subdomain.mydomain.com %1@xxxxxxxxxxxx


> 
> 
> On Sun, May 18, 2014 at 12:09 PM, Steven Stern
> <subscribed-lists@xxxxxxxxxxxxx <mailto:subscribed-lists@xxxxxxxxxxxxx>>
> wrote:
> 
>     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>
>     <mailto:subscribed-lists@xxxxxxxxxxxxx
>     <mailto:subscribed-lists@xxxxxxxxxxxxx>>>
>     > wrote:
>     >
>     >     I have root aliased to "webmaster@xxxxxxxxxxxx
>     <mailto:webmaster@xxxxxxxxxxxx>
>     >     <mailto: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>
>     <mailto:webmaster@xxxxxxxxxxxx <mailto:webmaster@xxxxxxxxxxxx>>".
>     >
>     >     But when I use "mail root", the mail goes to
>     >     "root@xxxxxxxxxxxxxxxxxxxxxxxx
>     <mailto:root@xxxxxxxxxxxxxxxxxxxxxxxx>
>     <mailto: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>
>     <mailto: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
>     <mailto:webmaster@xxxxxxxxxxxx>>".
>     It's addressed to "root@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>     <mailto: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 <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
> 
> 
> 
> 


-- 
-- 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




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux