My ISP imposes SMTP restrictions on outgoing mail, is it possible to configure a system wide SMTP address to use, instead of having to configure each mail client individually?
Asked
Active
Viewed 4,051 times
2
-
3I having problems with the mail command. How were you able to tell it was an isp block? – naftalimich Aug 01 '12 at 01:47
2 Answers
2
This worked for me:
- Open up
/etc/postfix/main.cf - Replace
relayhost =byrelayhost = relay.your-isp.comwhererelay.your-isp.comis your ISP's SMTP server.
Olivier Lalonde
- 60,701
1
Most of the commonly used MTAs in linux distributions can be configured to send all outgoing mail via a so called 'smarthost'.
In the case of postfix, that's via the relayhost option as described in @OlivierLalonde's answer; however, every mail server has its own way of configuring things, and until and unless you specify which one you're using it's hard to help you further than this.
You can try telnet localhost 25 and look at the greeting string, that should normally tell you what program's doing the answering.