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, 11 years and 364 days ago. Viewed 7,551 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

Virtual Dave Megaplex:

Internet Explorer 6 Users >>Click Here

(read this note about local search)

Logged in Users: (0)
… and 34 Guests.


Editing: snipsnap-help, Image Macro

(Et auditum est, et idcirco ego nunc simulare)

Installed 6 years and 39 days ago
Powered By >>SnipSnap Version 1.0b1-uttoxeter

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