Postfix email - mail rejected
I'm haveing little issue with Postfix configuration - Some email providers reject emails and others send it to spam. With some providers (hotmail)everything is OK.
Oct 1 09:36:24 e82-103-128-223s postfix/smtp[26623]: 924FE380848: to=<mingi.email@mail.ee>, relay=mx-1.tele2.ee[212.107.52.23]:25, delay=3.3, delays=0.1/0/1.1/2.1, dsn=4.7.1, status=deferred (host mx-1.tele2.ee[212.107.52.23] said: 450 4.7.1 Client host rejected: cannot find your hostname, [82.103.128.223] (in reply to RCPT TO command)) what could be the problem? |
you need to have functional DNS records for your IP, or try to use the upstream relay that your isp provides, e.g smtp.myisp.com which will recognise your IP as one of it's own and relay. Normally. To do this in postfix you'd use a relayhost directive:
Code:
relayhost (default: empty) |
DNS records for the IP addresses are ok ( also reverse dns resolves correctly)
or atleast how this looks for me. |
Hotmail is pretty liberal in accepting mail. The fact that your tests work with them is a good indication that your server is functional. Assuming your IP is 82.103.128.223, I show that it resolves to beta.jobgo.com. If this is correct, perhaps you need to add an SPF record to your DNS?
Acid_kewpie's suggestion is most likely the easiest and most reliable answer. Relay your outbound mail through your ISP. It will avoid these types of problems and will still appear from and be received by your own server. The only thing is that your ISP will be the first hop in the full header list, which is no big deal. |
Yes, beta.jobgo.com is correct.
How can I add SPF recod? |
The SPF record gets added to your DNS. It is typically done as a TXT record entry. The syntax is somewhat cryptic, so the easiest way to create one is to use a wizard. Here is a link to one by Microsoft: http://www.microsoft.com/mscorp/safe...nderid/wizard/ It is the one that I used. You will be asked a series of questions, like what is your domain, etc. The wizard will perform a DNS lookup and suggest many of the parameters. Basically, it lets you declare that the server at this domain, with this IP, etc (there are multiple validation methods you can choose) is indeed a designated mail server. You will then add this to your DNS, much like an A, MX or mx record, but it is of type TXT.
|
No I have set the SPF record, but emails are still rejected by the server...
Any other ideas? |
Any reason you're still not referencing a number of comments about your ISP's relay??
|
All times are GMT -5. The time now is 08:32 AM. |