Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
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.
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?
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)
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.
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.
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..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.