On Mar 10, 2005, at 4:33 PM, julien Cloquet wrote:
Le 10 mars 05, � 19:31, Daniel Johnson a �crit :
I've been using the postfix-tls package exclusively and have never had a problem sending or receiving mail.Personally, I've had problems using Apple's postfix, with some mail never reaching destination.
The problem has been described here earlier by Ij Palmer:
"some ISP's mail server won't accept your email for fear you are a spammer.
You could put a relay line in /etc/postfix/main.cf that will help.
relayhost = smtp.yourisp.com"
I tried the fix, but with no success.
As far as I understand, it comes from the fact that those mail servers really don't like to receive messages from a dynamic IP, like most common internet users have.
I still don't know how to deal with this...
Would Fink's Postfix fix it ?
Julien Cloquet
The relayhost option is probably what you want; however, most ISPs now require authenticated access to their outgoing mail servers. You can do this with either Apple's postfix or Fink's postfix-tls package.
Add the following lines to your main.cf:
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/sw/etc/postfix/sasl_passwd
(Drop the '/sw' from the above and following lines if you're using Apple's version.)
Next, create the file '/sw/etc/postfix/sasl_passwd' and add a single line to it:
smtp.yourisp.com username:password
substituting your mailserver name and the username and password to login.
Now 'cd' to the /sw/etc/postfix directory if you haven't already and run the following commands:
sudo postmap hash:sasl_passwd
sudo chown root:admin sasl_passwd*
sudo chmod 0600 sasl_passwd*
sudo postfix reload
Postfix should now be able to authenticate itself with your ISP's mailserver. If you want more control over how mail gets sent to various servers, you can use a transport table instead of relayhost. See 'man 5 transport' for details, but relayhost works for most people.
--
Daniel Johnson
[EMAIL PROTECTED]
PGP public key: http://homepage.mac.com/danielj7/publickey.txt
PGP.sig
Description: This is a digitally signed message part
