PDA

View Full Version : Postfix no-ip


JF82
6th November 2007, 21:54
So, I've tried to get this to work, but every time I try to send a mail it times out according to the log. I'll paste my postconf -n and some of log here.

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
mailbox_size_limit = 0
mydestination = $myhostname, localhost.$myhostname, localhost
myhostname = dansken
mynetworks = 128.0.0.0/8
mynetworks_style = host
myorigin = dansken.servebeer.com
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes


mail.info

Nov 6 20:13:32 dansken postfix/smtp[9294]: 3545E1F1830: to=<jeppesf@hotmail.com
>, relay=none, delay=5554, delays=5404/0.02/150/0, dsn=4.4.1, status=deferred (c
onnect to mx4.hotmail.com[65.54.244.104]: Connection timed out)
Nov 6 20:13:32 dansken postfix/smtp[9295]: 9A6291F1840: to=<jeppesf@hotmail.com
>, relay=none, delay=552, delays=402/0.02/150/0, dsn=4.4.1, status=deferred (con
nect to mx3.hotmail.com[65.54.244.72]: Connection timed out)
Nov 6 20:13:32 dansken postfix/smtp[9293]: connect to alt2.gmail-smtp-in.l.goog
le.com[66.249.83.114]: Connection timed out (port 25)


any help appreciated :)

asus
6th November 2007, 22:09
Well this is the same problem that I have. Most ISP's block outgoing email from your own server (port:25) to help prevent spam.. my ISP is rogers and i know that you can relay through your own account for outgoing mail.. but I'm stuck at authentication error, I will help you as much as possible, so far nobody here has helped at all. I have been searching (google is my best friend) there has been a couple articles that have helped me alot but still stuck at this authentication error.

JF82
6th November 2007, 22:31
Thanks for you reply :)
I'm on the verge of ripping my hair out, but I guess the timeout is good afterall, should probably work in theory I guess.
I will try with another ISP, and see if I get a different result. Could you please post the link of the articles if you have them nearby?

Thanks :)

falko
7th November 2007, 15:57
mail.info

Nov 6 20:13:32 dansken postfix/smtp[9294]: 3545E1F1830: to=<jeppesf@hotmail.com
>, relay=none, delay=5554, delays=5404/0.02/150/0, dsn=4.4.1, status=deferred (c
onnect to mx4.hotmail.com[65.54.244.104]: Connection timed out)
Nov 6 20:13:32 dansken postfix/smtp[9295]: 9A6291F1840: to=<jeppesf@hotmail.com
>, relay=none, delay=552, delays=402/0.02/150/0, dsn=4.4.1, status=deferred (con
nect to mx3.hotmail.com[65.54.244.72]: Connection timed out)
Nov 6 20:13:32 dansken postfix/smtp[9293]: connect to alt2.gmail-smtp-in.l.goog
le.com[66.249.83.114]: Connection timed out (port 25)


any help appreciated :)
Please make sure that your server isn't blacklisted: http://www.mxtoolbox.com/blacklists.aspx

falko
7th November 2007, 16:00
The fact that you're using a no-ip domain makes me think that you're on a dynamic IP address. Almost all dynamic IP addresses are blacklisted nowadays, there's nothing you can do about it.

But you could relay your mails through another mail server: http://www.howtoforge.com/postfix_relaying_through_another_mailserver

JF82
7th November 2007, 17:01
Ok, so I tried with another ISP today, and it worked, at least my mails to my gmail account got through, but not to hotmail.
I'm on a dynamic IP yes, just signed up at no-ip to test with postfix, it was a class assignment, so won't be needing it anymore. Anywho, thanks for your replies :)

sjau
7th November 2007, 22:24
well, if you decide to operate your own mailserver for real then get a dedicated ip ;)