Link to home
Start Free TrialLog in
Avatar of gskortz
gskortzFlag for United States of America

asked on

AIX sendmail.cf configuration alternate SMTP port for Relay Server

Have previously configured AIX server for "smart relay" DS[hostname]. Trying to find the configuration value to change the relay to a specific port (not default SMTP).

Thanks
GSK
SOLUTION
Avatar of xterm
xterm

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gskortz

ASKER

The answer addressed a different requirement.
Avatar of xterm
xterm

Oh, I see, so your daemon will still listen on port 25, but you want to use a 3rd party mail system running on something other than port 25 as your smart host?

If that is the case, IBM is wrong, because changing the value of smtp in /etc/services to another port will also just change which port your system is listening for incoming connections on.  Let me know on the question above, and if that is affirmative, I'll get you info on changing that.
Here's how you modify your sendmail.mc file (and then you'll have to do a make to create a new sendmail.cf) with a smart host on a different remote port:

http://www.no-ip.com/support/guides/email/sendmail-auth-client.html

The specific line you're looking for is:

define(`RELAY_MAILER_ARGS', `IPC $h 3325')dnl

Change 3325 to whatever the value port that the other administrator gives you.