SLUG Mailing List Archives
Re: [SLUG] Postfix - Sending mail
- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] Postfix - Sending mail
- From: Jeff Waugh <jdub@xxxxxxxxxxx>
- Date: Sun May 6 15:54:02 2001
- User-agent: Mutt/1.3.17i
<quote who="Andrew Eager">
> Now I specify my own local SMTP (postfix) server. When it goes to send
> mail, it uses different MX entries to route the mail to. This meant I had
> to open up the firewall to SMTP on all IP addresses - which has to be a
> bad thing.
You need to allow the mailserver to send via SMTP, so open it up only that
far. This allows it to relay to your ISPs server.
> a) Why do I see different SMTP servers used when sending mail
> (smtp-01.myisp, smtp-06.myisp .... ) ?
A round robin system for the SMTP servers at your ISP.
> b) Is it possible to tell postfix to use the same server (prev
> mail.my_isp.net.au) ? (I tried setting relayhost in main.cf but that
> did nothing)
relayhost = usual.isp.smtp.server
Then set all of your clients to use your machine as the relay. You're
probably seeing the results of the round robin system; just make sure you
use the relayhost line, because many sites block email that is send directly
No clue is good clue.