LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-11-2006, 07:34 PM   #1
kotori
LQ Newbie
 
Registered: Nov 2006
Location: San Antonio, TX
Distribution: FreeBSD
Posts: 4

Rep: Reputation: 0
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
 
Old 11-11-2006, 07:56 PM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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
 
Old 11-11-2006, 08:02 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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.
 
Old 11-11-2006, 09:19 PM   #4
kotori
LQ Newbie
 
Registered: Nov 2006
Location: San Antonio, TX
Distribution: FreeBSD
Posts: 4

Original Poster
Rep: Reputation: 0
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.

Last edited by kotori; 11-11-2006 at 09:41 PM.
 
Old 11-11-2006, 09:45 PM   #5
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
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.
 
Old 11-11-2006, 11:43 PM   #6
kotori
LQ Newbie
 
Registered: Nov 2006
Location: San Antonio, TX
Distribution: FreeBSD
Posts: 4

Original Poster
Rep: Reputation: 0
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?
 
Old 11-12-2006, 12:07 AM   #7
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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)
 
Old 11-12-2006, 08:57 AM   #8
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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.
 
Old 11-12-2006, 11:22 PM   #9
kotori
LQ Newbie
 
Registered: Nov 2006
Location: San Antonio, TX
Distribution: FreeBSD
Posts: 4

Original Poster
Rep: Reputation: 0
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, i was looking for a less expensive circumvention.

thanks for all the help fellas
 
Old 11-13-2006, 02:44 AM   #10
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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)?
 
Old 11-13-2006, 06:13 AM   #11
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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.
 
Old 11-13-2006, 06:16 AM   #12
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally Posted by kotori
trickykid i don't respect sarcasm, 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..
 
  


Reply

Tags
dovecot, freebsd, imap, postfix, smtp



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix send mail problem(In RH9, kernal 2.4.20, postfix 2.1.5) minor Linux - General 6 09-23-2019 10:09 PM
not able to send mail using postfix Robin01 Linux - Software 4 12-28-2007 03:41 PM
Server does'nt send mail until shutdown and LAN can't send or receive. Wolfy Linux - Networking 0 08-02-2004 07:31 PM
LAN interface on Gateway stops being able to send info to LAN intermittantly. BurnFEST Debian 2 11-01-2003 03:16 AM
Postfix will not send mail antken Linux - Networking 1 10-05-2003 06:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration