For When You Can't Have The Real Thing
[ start | index | login ]
start > sendmail > smart host ports

smart host ports

Created by dave. Last edited by dave, 19 years and 64 days ago. Viewed 11,423 times. #3
[diff] [history] [edit] [rdf]
labels
attachments

Relaying to a non-standard SmartHost SMTP Port

In your /etc/mail/sendmail.mc, try:

define(`SMART_HOST',`relay:your.relay.system.com')dnl
define(`RELAY_MAILER',`esmtp')dnl
define(`RELAY_MAILER_ARGS', `TPC $h 587')dnl
This ensures that you use the relay mailer when talking to your smarthost (which for some reason isn't the default with Fedora Core 3), that you use esmtp when talking to your smarthost (possibly unneccessary), and overrides the 'RELAY' mailer defaults to connect on port 587.

Update 20 Dec 2004: Fixed typo IPC to TCP
Update 23 Feb 2005: Added the SMART_HOST and RELAY_MAILER lines. It works now for real.

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt