Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2133
  • Last Modified:

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
0
gskortz
Asked:
gskortz
  • 3
  • 2
2 Solutions
 
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:
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
 
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

Featured Post

Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now