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
gskortzAsked:
Who is Participating?
 
gskortzAuthor Commented:
This is the configuration to alter the local host listening port rather than the port to be used to connect to the smart relay host (DS). The relay host email administrator wishes to segerate the relay traffic on separate port. Did receive a response from IBM support that indicates the change should be to /etc/services smtp value entry.

Thanks
0
 
xtermCommented:
Look for the line that says something like:

O DaemonPortOptions=Port=smtp, Name=MTA

And change 'smtp' to the numerical port you'd like to listen on instead and then restart sendmail.
0
 
gskortzAuthor Commented:
The answer addressed a different requirement.
0
 
xtermCommented:
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.
0
 
xtermCommented:
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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.