On 05/08/14 08:37:19, Laurie Brown wrote:
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.
Outgoing mail is directed to my mail server which is part of the web hosting package from United Hosting. Postfix is set up to use sasl (another of the Black Arts) with appropriate authentication.
The Postfix configuration was copied from the old machine, which worked without problems, to the new machine.
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.
I don't think that the IP address is on a blacklist because mail from the old machine doesn't produce that error.
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
That IP addrress is the dynamic address of our router and the entry in main.cf is to my mail server at United Hosting as detailed above and, again, the Postfix configuration is the same on both machines and the old machine doesn't produce that error.
Similar emails sent from my old machine don't produce those error messages.
What are the respective versions of postfix?
The versions are identical. The only differences being that the old is 32 bit and the new is 64 bit and the new version of Debian was set up last week and the original version of Debian on the old machine was set up years ago with regular updates.
Any suggestions would be much appreciated.
The above two errors appear to be contradictory!
Cheers, Laurie.