mailx or heirloom-mailx in debian
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4043
Location: East Coast, West Coast? I know it's one of them.
Reply Quote

:: Quote ::
I have two local SMTP servers, one is running on port 25 and the other is running on port 2525.

When i use heirloom mailx to send out email, it uses the local SMTP server on port 25. However, i wanted mailx to use local SMTP server on port 2525 instead. So, i edited the system wide configuration file /etc/mail.rc and added in the line "set smtp=". So now mailx is successfully able to use smtp server on port 2525 instead of smtp server on port 25 to deliver emails.

Back to top
Display posts from previous:   

All times are GMT - 8 Hours