Re: Sendmail

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

 



Michael St. Laurent wrote:

I understand that one must have sendmail running in daemon mode for mail
delivery to work correctly in RH9.  However, on the firewall system that I'm
building there is an SMTP proxy that binds to port 25 and this causes
sendmail to cough up blood then die.  Is there a config option that will
tell sendmail *not* to bind to port 25?



Yes :-)

I suppose you'd like to know what it is as well :-)

I'm going from memory here a lot. You can get a better answer by from the Contact 8.0.3 beta from www.samsungcontact.com -- everything you need to know might be in the release notes if you're lucky. I can't remember -- sorry.

Anyway, make sure you have the sendmail-cf RPM installed. Edit /etc/mail/sendmail.mc. Change the DAEMON_OPTIONS line to say "Port=submission" instead of "Port=smtp". It's probably enough to uncomment the DAEMON_OPTIONS line just below that, I haven't tried that approach. Now edit /etc/mail/submit.mc -- and this is where I'm going from memory -- my Bat Book is at work -- Change the last line from

FEATURE(`msp', `[127.0.0.1]')dnl

to

FEATURE(`msp', `127.0.0.1]', `MSA')dnl

Yes, that seems to work. cd to /etc/mail and run "make". The relay mailer definition in submit.cf now ends "A=TCP $h 587". I've just broken my sendmail configuration to try this out :-( I've got it working by changing that DAEMON_OPTIONS line I mentioned above so at least I can send mail locally again.

jch




[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux