You are not logged in.
i've recently set up postfix and dovecot as covered in the arch wiki.
i'm able receive mails internally (sent either by telnet or by connecting to the local imap server with sylpheed), and send mails to external email addresses.
however, i cannot receive any mails/connect to my imap server from outside my network.
my router forwards port 25 to my box, iptables is set to allow tcp traffic on 25, and afaik my isp isn't blocking the port.
there is nothing about outside connection attempts in /var/log/mail.log and /var/log/iptables.log .
assuming my domain is example.com, my hostname is jsrv and my ip 123.123.123.123, i have my records setup as follows:
example.com MX 10 mail.example.com
mail.example.com A 123.123.123.123
mxtoolbox.org diagnostics returns the following messages:
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 123.123.123.123:25
and sometimes
A socket operation was attempted to an unreachable network 123.123.123.123
a portscan shows port 25 as closed from outside the network...
any ideas? could i have fucked up my configuration to only accept local mail? maybe it's hosts.allow?
here's my abbreviated main.cf:
# Paths
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mail_owner = postfix
# Domain settings
myhostname = example.com
myorigin = example.com
mydestination = $myhostname, localhost.$mydomain, localhost, jsrv
# Network settings
inet_interfaces = all
inet_protocols = ipv4
mynetworks = 127.0.0.0/8
# Email and mailbox settings
alias_maps = hash:/etc/postfix/aliases
alias_database = $alias_maps
home_mailbox = Maildir/
virtual_alias_domains = example.com
virtual_alias_maps = hash:/etc/postfix/virtual
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/man
sample_directory = /etc/postfix/sample
readme_directory = no
recipient_delimiter = +
thanks!
Last edited by schuay (2009-01-31 08:42:30)
Offline
What happens if you do
telnet example.com 25 (from outside of your network)
a portscan shows port 25 as closed from outside the network...
If that is the case it seems as if you didn't forward the ports correctly, or your isp is blocking the port.
Last edited by pyther (2009-01-30 15:14:44)
Offline
thanks for the reply - i didn't want to believe it, but the ISP just confirmed it. they block port 25 except with the server package..
Offline
thanks for the reply - i didn't want to believe it, but the ISP just confirmed it. they block port 25 except with the server package..
I can't believe ISPs still do that...
Offline