[GRLUG] Any sendmail folks out there?
Mark Farver
mfarver at mindbent.org
Mon Oct 28 18:50:36 EDT 2013
Another article, this one specifically says that
/etc/mail/service.switch has to be created and a line added to
sendmail.cf referencing it.
http://devnull.crapules.com/2008/04/04/setup-sendmail-without-dns
A reboot isn't usually required when changing /etc/nsswitch.conf.
Libc will pick up on the change immediately. One notable exception is
if nscd is running it will cache the nsswitch.conf file. Restarting
it will reload the file. Redhat based distros usually have nscd
running by default.
Mark
On Mon, Oct 28, 2013 at 6:13 PM, L. V. Lammert <lvl at omnitec.net> wrote:
> On Mon, 28 Oct 2013, Mark Farver wrote:
>
>> What is the content of your /etc/mail/service.switch file?
>>
> Not present.
>
>> What is in /etc/nsswitch.conf?
>>
> Not present.
>
>> Did you rebuild sendmail.cf and restart the service?
>>
> Of course, .. many times.
>
> Finally got it to actually USE /etc/hosts with the hostname "nospam", ..
> but it eventually rejects with a "reason: 504 Need Fully Qualified
> Address".
>
> While I can understand sendmail complying with the RFCs with a full DNS
> query [bypassing /etc/hosts], it's also pretty dumb that there is no way
> to create a bypass when the public IP is not accessible.
>
> The firewall is an ASA box which I do not control, and the chap that runs
> it said there is now way to create an internal zone like dnsmasq would
> provide.
>
> Lee
> _______________________________________________
> grlug mailing list
> grlug at grlug.org
> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
More information about the grlug
mailing list