1 (edited by zgeorgievski 2009-12-02 03:19:25)

Topic: Problem sending mails

I have setup iredmail on ubuntu server 9.04 with backenend MYSQL with static ip adress and mx record for tis adreess.
When tried to send mail to some domins pasess but for someone i got this type of error

<hari.shutoski@gtz.de>: host smtp15.gtz.de[193.97.170.15] said: 554 Service
    unavailable; Client host [mail.ipardpa.gov.mk] blocked by
pbl.spamhaus.org;
    http://www.spamhaus.org/query/bl?ip=77.28.12.169 (in reply to RCPT TO
    command)

<jens.adler@gtz.de>: host smtp16.gtz.de[193.97.170.16] said: 554 Service
    unavailable; Client host [mail.ipardpa.gov.mk] blocked by
pbl.spamhaus.org;
    http://www.spamhaus.org/query/bl?ip=77.28.12.169 (in reply to RCPT TO
    command)

From the record Im sending mail from public ip but when check my ip adress for the mail server is showing my public adress.
The same thing hapend for gmail and hotmail and also for some other sites
This is type of error that i got from
hotmail

<marku_a@hotmail.com>: host mx2.hotmail.com[65.55.92.136] said: 550 DY-001
Mail
    rejected by Windows Live Hotmail for policy reasons. We generally do not
    accept email from dynamic IP's as they are not typically used to deliver
    unauthenticated SMTP e-mail to an Internet mail server.
    http://www.spamhaus.org maintains lists of dynamic and residential IP
    addresses. If you are not an email/network admin please contact your
    E-mail/Internet Service Provider for help. Email/network admins, please
    visit http://postmaster.live.com for email delivery information and
support

2

Re: Problem sending mails

It's very simple: both servers consider your IP to be a dynamic one (like ADSL, PPPoE etc). Most servers don't allow emails from dynamic IP addresses. You should ask your Internet provider for a static one. If it's already static, ask them to register it as a static instead of dynamic.

3

Re: Problem sending mails

Please DO read the rejected message carefully.
Just go to spamhaus.org, request to remove your ip address from blocked list.

4

Re: Problem sending mails

Zhang, his server is not in the spam list, it's in the dynamic ip list. Only his ISP can mark the IP as static, as far as I know.

5

Re: Problem sending mails

Hey guys im also having trouble sending mail. Now I think I might have to call my isp and tell them to show it as static. The thing is I get a time out error.  I can also receive mail too from the gmail account. Just kinda slow 10-15 min, and if that was the only then well then.....

<email@gmail.com>: connect to
    alt4.gmail-smtp-in.l.google.com[72.14.221.114]:25: Connection timed out

Reporting-MTA: dns; mail.example.com
X-iRedMail-Queue-ID: AAC9A25B76
X-iRedMail-Sender: rfc822; durex@example.com
Arrival-Date: Tue,  1 Dec 2009 03:53:31 -0500 (EST)

Final-Recipient: rfc822; email@gmail.com
Original-Recipient: rfc822;email@gmail.com
Action: failed
Status: 4.4.1
Diagnostic-Code: X-iRedMail; connect to
    alt4.gmail-smtp-in.l.google.com[72.14.221.114]:25: Connection timed out

I have my DNS as so on godaddy:

A (host) 
@                              xx.xxx.xxx.xxx      (same IP address)
mail.example.com     xx.xxx.xxx.xxx

C (alias)
www              example.com

MX (mail exchange)
0      @      mail.example.com

Thanks for any help in advance!

6

Re: Problem sending mails

the gmail receive delay 15minute, just because the gray list.

you can sent the email from gmail account second time, would not have any delay.

7

Re: Problem sending mails

okay that makes sense about the gray list. but why am I still not able to send. receiving emails is just fine, it just sending part.

8

Re: Problem sending mails

Again:

ZhangHuangbin wrote:

Please DO read the rejected message carefully.
Just go to spamhaus.org, request to remove your ip address from blocked list.

9

Re: Problem sending mails

ZhangHuangbin wrote:

Again:

ZhangHuangbin wrote:

Please DO read the rejected message carefully.
Just go to spamhaus.org, request to remove your ip address from blocked list.


Well I did read it carefully and I'm not getting a reject message, and i even went to spamhaus.org and checked my IP address is not black listed.
Im getting a timeout error when trying to send.  If needed I can make a new post but this issue seems correct here in this post.  what else can i check to find out why its getting a time out?

10

Re: Problem sending mails

Please post error log here instead of just saying 'it doesn't work', nobody know what happened to you.

11

Re: Problem sending mails

Alright thats what i was talking about not say saying the same thing. No offense, I know you're your trying to help but I had a well thought out post with good details.  Anways here is what the logs say. If im not posting the right one please let me know.  This is a copy of of :
cat /var/log/messages
http://www.filedump.net/dumped/messages1260483809.txt
in there it says it timing out but I cant figure out here what why.

Thanks again for helping me out!

12

Re: Problem sending mails

Looks like you have port 25 blocked on outbound connections?!?!

13

Re: Problem sending mails

I solved the problem.
My Cisco router 1841 was setup wronge. It was catching the traffic from my aal public ip's and routed to the adsl line.
Thanks