Re: Strange sendmail behaviour

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

 



On Tue, 24 Nov 2015 14:38:43 +1030
Stephen Davies <sdavies@xxxxxxxxxx> wrote:

> I am trying to change my sendmail configuration to deliver all "user unknown" 
> emails to a specific account (baduser).
> I added the DL definition to sendmail.mc and generated test.cf.
> Then I tested this new config using:
> 
> echo who | sendmail -v -Ctest.cf noone
> 
> and the email was correctly delivered to the defined account.
> 
> I then renamed test.cf to sendmail.cf (in /etc/mail) and retested with:
> 
> echo what | sendmail -Csendmail.cf noone
> 
> and again the email was delivered to the baduser account.
> 
> Happy with this, I then restarted sendmail (via systemctl) and sent yet 
> another email to an invalid account.
> 
> Instead of the email being delivered to baduser, I received a 550 5.1.1 user 
> unknown reject email.
> 
> What have I missed here.
> 
> (Fedora 22 & sendmail 8.14.7/8.13.3)

What You mean by "DL definition"?
IMO what You want is configured by defining macro "LUSER_RELAY", as:
define(`LUSER_RELAY', `local:baduser')

And, it seems as You are using old sendmail versions with F22:
v8.14.7 was semewhere in F18/F19, and sendmail v8.13.3 in Fedora 4 (ten
years ago!). It has any reason?
-- 
Franta Hanzlik
-- 
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