LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Postfix won't send send to outside LAN (http://www.linuxquestions.org/questions/linux-server-73/postfix-wont-send-send-to-outside-lan-500721/)

kotori 11-11-2006 07:34 PM

Postfix won't send send to outside LAN
 
I can't get postfix to send mail to outside my LAN. I have the appropriate ports opened on my router, and I'm fairly positive I have the correct MX settings for my DNS. I have a hotmail account that I've been testing this with. I can receive mail to the server and read it no problem, but when I try to send to my hotmail account, the mail just disappears. Here is the output of my /var/log/maillog:

Nov 11 19:28:44 postfix/smtpd[1212]: connect from localhost.satx.rr.com[127.0.0.1]
Nov 11 19:28:45 postfix/smtpd[1212]: 1AA331145B: client=unknown[192.168.1.106]
Nov 11 19:28:45 postfix/cleanup[1210]: 1AA331145B: message-id=<455678C9.6070904@birds-the-word.com>
Nov 11 19:28:45 postfix/qmgr[702]: 1AA331145B: from=<kotori@birds-the-word.com>, size=885, nrcpt=1 (queue active)
Nov 11 19:28:45 postfix/smtp[1211]: C878D11454: to=<kotori83@hotmail.com>, relay=127.0.0.1[127.0.0.1]:10025, delay=0.41, delays=0.11/0.03/0.15/0.13, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 1AA331145B)
Nov 11 19:28:45 clamsmtpd: 100008: from=kotori@birds-the-word.com, to=kotori83@hotmail.com, status=CLEAN
Nov 11 19:28:45 postfix/smtpd[1212]: disconnect from localhost.satx.rr.com[127.0.0.1]
Nov 11 19:28:45 postfix/qmgr[702]: C878D11454: removed

Its odd because I don't get any error messages, and the mail appears to have been sent successfully, I just don't get any messages on either end saying anything went wrong. I also don't get anything in my /var/log/messages that shows a single error.

I'd be more than happy to post my other conf files if anyone is interested in helping me out.

====
kotori

billymayday 11-11-2006 07:56 PM

It may be hotmail having a problem in that it can't find a reverse DNS entry or similar and ends up not delivering it to your in box.

if you want, send me an email address via the link to the left and I'll forward you a test address on my server you can try.


Rgds

trickykid 11-11-2006 08:02 PM

Time Warner or Road Runner will get blocked by sites like Hotmail, Yahoo and other big name ISP's. This is common. If you need to be able to send out email to just about anyone, you most likely need to upgrade to a business account where you can setup a static IP and ReverseDNS for your server.

kotori 11-11-2006 09:19 PM

mail coming inside my LAN is not the problem, when i have thunderbird open, and i send an email to my birds-the-word.com address, it arrives almost instantly. however sending mail to a hotmail address just doesn't take place. It never arrives it seems.


hotmail.com => birds-the-word.com [OK]
birds-the-word.com => hotmail.com [NEVER ARRIVES]

Edit:
I've done a little more investigation here. I can REPLY to a message that comes from hotmail, and it will arrive, but I cannot send a new message with a replyto. How odd is this.

Berhanie 11-11-2006 09:45 PM

According to your logs, postfix (acting as an smtp client) is giving the mail to something called clamsmtpd, which presumably is reponsible for the external delivery. So, if it's not being received, you should look at clamsmtpd.

kotori 11-11-2006 11:43 PM

Well I'm happy to report its not my av (clamav || clamsmtp) getting in the way. This seems to be a problem with Hotmail not accepting lesser known domains mail. The least it could do is drop the mail into my spam/junk mail folder, but no, it deletes them entirely. Like I said in a prior post, replying to a message that originated from hotmail.com gets it through no problem, but they seem to have a problem with new messages going through.
Does anyone know of a way to circumvent this?

billymayday 11-12-2006 12:07 AM

I think I've found your problem (for readers this is the log from my server when kotori sent me an email)

Quote:

Nov 12 16:53:58 [server] postfix/smtpd[5607]: NOQUEUE: reject: RCPT from ms-smtp-04.texas.rr.com[24.93.47.43]: 554 Service unavailable; Client host [24.93.47.43] blocked using dnsbl-1.uceprotect.net; IP 24.93.47.43 is Level 1 listed at UCEPROTECT-Network. See http://www.uceprotect.net/en/rblchec...r=24.93.47.43; from=<kotori@birds-the-word.com> to=<test.account@[my.domain]> proto=ESMTP helo=<ms-smtp-04.texas.rr.com>
Looks like 24.93.47.43 is blacklisted in at least one blacklist, probably more. Is this your ISP's IP or yours?

Are you relaying through your ISP's mail server or sending directly (ie do you have relayhost set in main.cf)

trickykid 11-12-2006 08:57 AM

Quote:

Originally Posted by billymayday
I think I've found your problem (for readers this is the log from my server when kotori sent me an email)



Looks like 24.93.47.43 is blacklisted in at least one blacklist, probably more. Is this your ISP's IP or yours?

Are you relaying through your ISP's mail server or sending directly (ie do you have relayhost set in main.cf)

Most ISP's have this blacklisted. I have a mail server on a cable modem and it's been blacklisted before I even sent any email out from it.

Like mentioned before, it's Hotmail blocking it because it's coming from a DHCP address. For all they know, this could be a machine sending spam unknowingly, this is why they block such emails to protect those that use their services.

Quote:

Originally Posted by kotori
Does anyone know of a way to circumvent this?

Yeah, read my first post I made here.

kotori 11-12-2006 11:22 PM

billy thanks for that little bit of info, I don't remember if I sent you that mail before or after i set my relay_host to smtp.satx.rr.com
i thought i could get around this by using certificates or something, but i guess not. i do know that i can now send to hotmail quite freely as i am relaying thru smtp.satx.rr.com
trickykid i don't respect sarcasm, :tisk: i was looking for a less expensive circumvention.

thanks for all the help fellas

billymayday 11-13-2006 02:44 AM

I would suggest after, given the log I posted refers to texas.rr.com

Trickykid, looking at uce's site, it claims that level 1 implies that spam came from this IP, not just the relevant subnet.

Who/what is road runner (no cartoon references please)?

trickykid 11-13-2006 06:13 AM

Quote:

Originally Posted by billymayday
Trickykid, looking at uce's site, it claims that level 1 implies that spam came from this IP, not just the relevant subnet.

Who/what is road runner (no cartoon references please)?

Yeah, as was mine on an IP level. I've seen blocks and single IP's listed in blacklists for ISP's DHCP addresses.

Road Runner is what TimeWarner calls their cable modem broadband service.

trickykid 11-13-2006 06:16 AM

Quote:

Originally Posted by kotori
trickykid i don't respect sarcasm, :tisk: i was looking for a less expensive circumvention.

I wasn't being sarcastic, I was being honest. I use to work for TimeWarner. If they start seeing too much email being sent thru their email servers or if you ever get attacked, they'll shut you off in a heartbeat with no questions asked. What I mentioned is the most ethical way if you want to send emails from your own MTA and domain to the world..


All times are GMT -5. The time now is 04:57 AM.