1 (edited by raafat 2013-04-09 04:03:36)

Topic: i can't send to another mail server

==== Required information ====
- iRedMail version: 0.8.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Linux/BSD distribution name and version: ubuntu 12.4 LTS
- Related log if you're reporting an issue:
====

Hi...after i sent a message to myEmail@gmail.com from a iredmail server all what i got is : Domain not found

any an idea ?


thank you .

2

Re: i can't send to another mail server

*) Could you please paste original log in Postfix log file (/var/log/mail.log)? Not just the line contains error message, but all related logs before and after it.

*) Do you have correct DNS server(s) in /etc/resolv.conf and /var/spool/postfix/etc/resolv.conf?

*) Do you have correct hostname in /etc/hosts and /var/spool/postfix/etc/hosts?

3

Re: i can't send to another mail server

ZhangHuangbin wrote:

*) Could you please paste original log in Postfix log file (/var/log/mail.log)? Not just the line contains error message, but all related logs before and after it.

*) Do you have correct DNS server(s) in /etc/resolv.conf and /var/spool/postfix/etc/resolv.conf?

*) Do you have correct hostname in /etc/hosts and /var/spool/postfix/etc/hosts?

Thank you that solved my problem .


But this message what does it mean ?
[xx.xx.xx.xx] The IP you're using to send mail is not authorized
    to 550-5.7.1 send email directly to our servers. Please use the SMTP relay
    at your 550-5.7.1 service provider instead. Learn more at 550 5.7.1
    http://support.google.com/mail/bin/answ … swer=10336
    hu1si12296195bkc.213 - gsmtp (in reply to end of DATA command)

4

Re: i can't send to another mail server

1) You should read the URL in log first.
2) Do you have correct SPF DNS record?

5

Re: i can't send to another mail server

ZhangHuangbin wrote:

1) You should read the URL in log first.

I did't understand you,i'm sorry .please explain to me more about that .

ZhangHuangbin wrote:

2) Do you have correct SPF DNS record?

i have added a TXT record (dyn.com) as follows :

host : myDomain
data : "v=spf1 ip4:myipaddress -all"


thank you .

6

Re: i can't send to another mail server

raafat wrote:

But this message what does it mean ?
[xx.xx.xx.xx] The IP you're using to send mail is not authorized
    to 550-5.7.1 send email directly to our servers. Please use the SMTP relay
    at your 550-5.7.1 service provider instead. Learn more at 550 5.7.1
    http://support.google.com/mail/bin/answ … swer=10336
    hu1si12296195bkc.213 - gsmtp (in reply to end of DATA command)

You should read URL in above message to understand why email was rejected.

7

Re: i can't send to another mail server

ZhangHuangbin wrote:
raafat wrote:

But this message what does it mean ?
[xx.xx.xx.xx] The IP you're using to send mail is not authorized
    to 550-5.7.1 send email directly to our servers. Please use the SMTP relay
    at your 550-5.7.1 service provider instead. Learn more at 550 5.7.1
    http://support.google.com/mail/bin/answ … swer=10336
    hu1si12296195bkc.213 - gsmtp (in reply to end of DATA command)

You should read URL in above message to understand why email was rejected.

Is necessary having a static ip for my mail server ?

8

Re: i can't send to another mail server

raafat wrote:

Is necessary having a static ip for my mail server ?

Well, technically, not necessary. You can send/receive emails with a dynamic IP address. But the problem is, most spammers use dynamic IP address to send spams too, so many ISPs block dynamic IP addresses directly to stop spam. That's why a static IP address becomes "necessary".

9

Re: i can't send to another mail server

ZhangHuangbin wrote:
raafat wrote:

Is necessary having a static ip for my mail server ?

Well, technically, not necessary. You can send/receive emails with a dynamic IP address. But the problem is, most spammers use dynamic IP address to send spams too, so many ISPs block dynamic IP addresses directly to stop spam. That's why a static IP address becomes "necessary".

Since i could send a message from thundrebird to my mail server via internet but i could't to another domain (like gmail) that means my problem with static ip

Right ?

10

Re: i can't send to another mail server

It's hard to say what the problem is. You MUST check Postfix log file to figure out the root cause.