On 04/08/14 20:33, Barry Samuels wrote:
I bought myself a new computer at the end of last week to replace my aging 32 bit machine. I decided to install Debian Testing/Jessie 64 bit from scratch and set it up to match, roughly, what was on my old machine.
I included Postfix which was on my 32 bit machine on the assumption that I could copy the Postfix configuration across and it would work. I have to admit that I find email configuration to be one of the black arts which uses magic incantations.
Needless to say it didn't work. After a bit of research I discovered that putting 'inet_protocols = ipv4' in main.cf enabled me to send emails.
Some of the sent emails appear to get to their intended destinations and some don't with messages as under:
mywife@gmail.com: host mx1.spamfiltering.com[212.113.130.124] said: 550 relay not permitted! (in reply to RCPT TO command)
For this one, more info is required. How are you trying to relay email? Via BT? Directly? From the above it seems you're trying to relay through 212.113.130.124. If that's the intended behaviour, maybe you need to authenticate first.
me@myaddress.co.uk: host mx1.spamfiltering.com [72.249.150.158] said: 550 81.151.115.33 is listed on sem-black.rbl.spamrl.com. Please organise removal and retry. (in reply to end of DATA command)
I have obscured some of the details but it should still give an idea. the ip address 81.151.115.33 is btinternet.com our ISP.
This is saying that 81,blah is on a blacklist. BT need to fix that. However, is that the IP address of a BT relay or is it your DSL dynamic address? If the latter, many SMTP relays refuse to accept traffic from them, and you need to route via your ISP's relay.
To do that, you need to put:
relayhost = smtp.example.com
in your main.cf
Similar emails sent from my old machine don't produce those error messages.
What are the respective versions of postfix?
Any suggestions would be much appreciated.
The above two errors appear to be contradictory!
Cheers, Laurie.