Stangman66
asked on
CentOS 5.4 - dovecot , postfix, squirrelmail
okay i have squirremail setup and I can send myself an e-mail and view it in my inbox. When I use my gmail account and test I do not get the e-mail in my inbox. (maybe too early, but i have not got an undeliverable mail message yet)
what is restricting mail from coming from the internet ?
what is restricting mail from coming from the internet ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
let me clarify real quick. in squirrelmail i can send myself and email to jdone@mydomain.com and to mypersonalemail@gmail.com. Both accounts receive the e-mail.
Then to test I tried sending mail from mypersonalemail@gmail.com TO jdone@mydomain.com and I do not see anything in my squirrelmail inbox. No mailer-daemon messages either.
Then to test I tried sending mail from mypersonalemail@gmail.com TO jdone@mydomain.com and I do not see anything in my squirrelmail inbox. No mailer-daemon messages either.
# service iptables status
Table: filter
Chain INPUT (policy ACCEPT)
num target prot opt source destination
1 RH-Firewall-1-INPUT all -- 0.0.0.0/0 0.0.0.0/0
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
1 RH-Firewall-1-INPUT all -- 0.0.0.0/0 0.0.0.0/0
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
Chain RH-Firewall-1-INPUT (2 references)
num target prot opt source destination
1 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
2 ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmp type 255
3 ACCEPT esp -- 0.0.0.0/0 0.0.0.0/0
4 ACCEPT ah -- 0.0.0.0/0 0.0.0.0/0
5 ACCEPT udp -- 0.0.0.0/0 224.0.0.251 udp dpt:5353
6 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:631
7 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:631
8 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
9 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:21
10 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:25
11 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22
12 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:80
13 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:77
14 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
(excuse the ignorance) how do i check that?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I think so
I ran that service iptables status command and that was the results it returned
I ran that service iptables status command and that was the results it returned
ASKER
ran command
iptables -I RH-Firewall-1-INPUT 5 -m state --state new -m tcp -p tcp --dport 143 -j ACCEPT
still not incoming from my gmail account
iptables -I RH-Firewall-1-INPUT 5 -m state --state new -m tcp -p tcp --dport 143 -j ACCEPT
still not incoming from my gmail account
ASKER
where do you find dovecots debug file ? I enabled: mail_debug = yes in my dovecot.conf file....i just cannot find where the debug is. I checked in /var/mail where the mail is routed, but not there.
made sure the firewall has Mail (SMTP) enabled, but telnet is not - do I need to enable that one?
made sure the firewall has Mail (SMTP) enabled, but telnet is not - do I need to enable that one?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ok, it's apparent that when I send mydomain.com an e-mail from outside the domain it is not reaching the server or something.
below is two checks - first was when i sent from outside the domain, second is from within domain (the one I would get) and both outputs are the same....
below is two checks - first was when i sent from outside the domain, second is from within domain (the one I would get) and both outputs are the same....
dovecot: Dec 16 18:21:17 Info: imap-login: Login: user=<jdone>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
dovecot: Dec 16 18:21:17 Info: IMAP(jdone): Effective uid=501, gid=100, home=/home/jdone
dovecot: Dec 16 18:21:17 Info: IMAP(jdone): maildir: data=/home/jdone/Maildir/
dovecot: Dec 16 18:21:17 Info: IMAP(jdone): maildir: root=/home/jdone/Maildir, index=/home/jdone/Maildir, control=, inbox=
dovecot: Dec 16 18:21:18 Info: IMAP(jdone): Disconnected: Logged out
dovecot: Dec 16 18:21:18 Info: imap-login: Login: user=<jdone>, method=PLAIN, rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured
dovecot: Dec 16 18:21:18 Info: IMAP(jdone): Effective uid=501, gid=100, home=/home/jdone
dovecot: Dec 16 18:21:18 Info: IMAP(jdone): maildir: data=/home/jdone/Maildir/
dovecot: Dec 16 18:21:18 Info: IMAP(jdone): maildir: root=/home/jdone/Maildir, index=/home/jdone/Maildir, control=, inbox=
dovecot: Dec 16 18:21:18 Info: IMAP(jdone): Disconnected: Logged out
ASKER
220 mail.mydomain.com ESMTP Postfix
ASKER
telnet 192.168.1.141. 143
shows: OK Dovecot ready
shows: OK Dovecot ready
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
DDWRT firmware, and I have ports 25, 110, 143 open for 192.168.1.141
is there a setting in dovecot that prevents outside mail from coming in ?
is there a setting in dovecot that prevents outside mail from coming in ?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Well, since the windows server 2k3 worked, then it must be a firewall issue on the linux machine. Is there a command to shut down the firewall for testing purposes ?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
any suggestions on how to boil that down?
network issue ? - i have ports 25,110,143 forwarded to this machine on my router (worked fine w/windows server & windows server is turned off)
DNS settings are what my ISP provided and they worked fine w/windows
network issue ? - i have ports 25,110,143 forwarded to this machine on my router (worked fine w/windows server & windows server is turned off)
DNS settings are what my ISP provided and they worked fine w/windows
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
yea the server can ping the router and browse the internet just fine with my ISP provided DNS settings
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i have port 25 forwarded to the linux box 192.168.1.141 and port 143
I have an MX, A, and a CNAME setup (for website)