can't get sendmail to send messages outside
Hello guys, I'm trying to set up a basic mail server only for fun..
Yesterday I managed to have it working but today for some reasons it does not work anymore.. I would like to avoid postfix although I managed to make it working with it.. I have port forwarding configured on my router to redirect smtp to 192.168.0.6 (internal address) and the firewall is open on smtp Here is the situation: Quote:
Logs: Quote:
Quote:
/etc/resolv.conf: Quote:
I keep getting the DNS Service unavailable error.. As I said yesterday I managed to make it working by mean of postfix as well. Then I removed postfix and it kept working.. Today I could not get it to work. there must be a mistake regarding the MX, but I don't quite know how to set them.. I thought it was sensible to cover email address and domain.. anyone who can help? |
That's a DSN (Delivery Status Notification) error, not a DNS error.
The log clearly shows that the Google server name is resolved properly, and the error code is being returned by that server. For some reason, the server is rejecting your mail. You say you use No-IP; were you by any chance affected by the recent domain seizure by Microsoft? Do all your domain records still resolve properly on the Internet? Have you checked that your IP address isn't (incorrectly) listed in any of the popular RBLs? I recommend you check your IP address against the SpamHaus and SpamCop lists. Have you configured SPF records for your domain? That should prevent other MTAs from rejecting your mails as possible spam. Have you checked the user and Postmaster mailboxes for non-delivery reports? |
Hello Ser, thanks for helping..
My domain seems to resolve fine so I don't think I was affected by the takedown. However no list seem to be provided.. I checked my Ip and it's not blocked by any RBl The SPF is a good questions, so far I haven't been able to configure a MX records. There is a SPF tool on the website, but I can't manage to get a proper format.. I don't know.. Also tried with other example, stick the string resulting into the box and still errors.. tried with spfwidzard.net.. No luck so far... The undelivered message from the dns is such..: So it seems to be considered as spam.. But the other day worked.. Now I can't even receive mail from google.. nothing in the log... I don't know how to tackle this problems and where the error lays.. So annoying... Quote:
|
Quote:
If the MX record points to your mail serer (via an A record), creating an SPF record should be a breeze. All you need to do is to create a TXT record with no name containing "v=spf1 mx ~all" (without the quotes). Quote:
|
On the NoIp website there is a Mx record, where I simply put my hostname. Then I tried adding SPF as you have suggested.
I could receive some message from gmail. Sending messages from my web server is impossible.. No I get this errors: Quote:
Quote:
|
Quote:
Quote:
Quote:
The two errors seem to relate to two entirely different e-mails. Please state exactly what action generated these messages. Quote:
If the error relates to inbound mail to your domain, then either your MX record is pointing to the wrong server, or the changes you made haven't yet propagated to other DNS servers on the Internet (due to the old record being cached). |
Yes indeed the first scenario was a message delivery that I tried to send from my google account to my server.
The second error is something I received while trying to send a message from my server to google. I have cleared the logs restart postfix and now here is the full log while trying to send a message from my web server: Quote:
As you can see I still get the annoying message "Relay access denied" |
Also I have another question, see for instance I have this noip account freelife.zapto.org. What the hostname of my machine should be?
Cause I noticed that it append it to the hostname changing it to: frank@myhostname.freelife.zapto.org Shouldn't it be avoided? |
All times are GMT -5. The time now is 02:29 AM. |