[Dovecot] Mail does not arrive at my server.
I run under FC5. I want to setup a mail server with postfix (already runnung) and dovecot. Once this i working I add spamassassin and clamav. I setup postfix and can send emails. When replying to these emails they do not get to my server (I checked in the Maildir directory of the user, there is no file) The server has 2 NICs. there is a firewall where I opened the port 143 (that is for IMAP?) 0 0 ACCEPT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:143 flags:0x17/0x02
the only change I made to the dovecot.conf files is: protocols = imap
I did not touch the rest as in the comments of the file it says # Default values are shown after each value, it's not required to uncomment # any of the lines.
Any hint on what I am doing wrong is welcomed. Thanks in advance
Hello Wolfgang,
Wolfgang Paul Rauchholz, 11.09.2006 (d.m.y):
I setup postfix and can send emails. When replying to these emails they do not get to my server (I checked in the Maildir directory of the user, there is no file)
You should better check your postfix logs and your postfix configuration.
The server has 2 NICs. there is a firewall where I opened the port 143 (that is for IMAP?) 0 0 ACCEPT tcp -- eth1 * http://0.0.0.0/0 0.0.0.0/0 http://0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:143 flags:0x17/0x02 the only change I made to the dovecot.conf files is: protocols = imap I did not touch the rest as in the comments of the file it says # Default values are shown after each value, it's not required to uncomment # any of the lines. Any hint on what I am doing wrong is welcomed. Thanks in advance
Can you do IMAP queries?
Regards, Christian Schmidt
-- Wenn man Angst vor den Menschen hat, hat man vor allem Angst vor sich selbst. -- Renato Guttuso
Christian Schmidt schrieb:
Hello Wolfgang,
Wolfgang Paul Rauchholz, 11.09.2006 (d.m.y):
I setup postfix and can send emails. When replying to these emails they do not get to my server (I checked in the Maildir directory of the user, there is no file)
Make sure procmail) delivers these mails : maildir, mbox, or /var/spool/mail
- the mails reach your server at all (check your postfix logs)
- to what type of inbox postfix or the local delivery agent (often
- if dovecot looks in the right place (see above) for incoming mails.
Hope this helps,
Jakob Curdes
<snip> 1) the mails reach your server at all (check your postfix logs) That is my problem, the mails do not get back to my server at all. the maillog file only shows me the ountgoing mails but nothing which indicates that a mail from outside is coming. The only mails I receive are from the linux system as such (background kobs finished, etc...)
Again, the parameters I set are the following: myhostname = srv01.ipnspain.biz mydomain = ipnspain.biz myorigin = $mydomain inet_interfaces = all mydestination = $mydomain, $myhostname, localhost.$mydomain, localhost mynetworks_style = subnet
My firewall (INPUT only) looks like this: Chain INPUT (policy DROP 0 packets, 0 bytes) pkts bytes target prot opt in out source destination 195 37274 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0 42367 33M ACCEPT all -- * * 192.168.5.0/24 192.168.5.0/24 305 31699 ACCEPT all -- eth1 * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED 0 0 DROP all -- * * 0.0.0.0/0 0.0.0.0/0 state INVALID 0 0 ACCEPT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22 flags:0x17/0x02 0 0 ACCEPT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:25 flags:0x17/0x02 0 0 ACCEPT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:465 flags:0x17/0x02 0 0 ACCEPT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:80 flags:0x17/0x02 0 0 ACCEPT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:443 flags:0x17/0x02 0 0 ACCEPT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:143 flags:0x17/0x02 0 0 ACCEPT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:110 flags:0x17/0x02 0 0 ACCEPT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:993 flags:0x17/0x02
On 9/11/06, Jakob Curdes jc@info-systems.de wrote:
Christian Schmidt schrieb:
Hello Wolfgang,
Wolfgang Paul Rauchholz, 11.09.2006 (d.m.y):
I setup postfix and can send emails. When replying to these emails they do not get to my server (I checked in the Maildir directory of the user, there is no file)
Make sure procmail) delivers these mails : maildir, mbox, or /var/spool/mail
- the mails reach your server at all (check your postfix logs)
- to what type of inbox postfix or the local delivery agent (often
- if dovecot looks in the right place (see above) for incoming mails.
Hope this helps,
Jakob Curdes
Obviously, then, this is a postfix issue.
Dovecot is simply an IMAP/POP3 server, it is not responsible for accepting mail from the outside, that is the job of your smtp server, in your case postfix.
I suggest you go ask on their list...
Wolfgang Paul Rauchholz wrote:
<snip> 1) the mails reach your server at all (check your postfix logs) That is my problem, the mails do not get back to my server at all. the maillog file only shows me the ountgoing mails but nothing which indicates that a mail from outside is coming. The only mails I receive are from the linux system as such (background kobs finished, etc...)
Again, the parameters I set are the following: myhostname = srv01.ipnspain.biz http://srv01.ipnspain.biz mydomain = ipnspain.biz http://ipnspain.biz myorigin = $mydomain inet_interfaces = all mydestination = $mydomain, $myhostname, localhost.$mydomain, localhost mynetworks_style = subnet
My firewall (INPUT only) looks like this: Chain INPUT (policy DROP 0 packets, 0 bytes) pkts bytes target prot opt in out source
destination 195 37274 ACCEPT all -- lo * 0.0.0.0/0 http://0.0.0.0/0 0.0.0.0/0 http://0.0.0.0/0 42367 33M ACCEPT all -- * * 192.168.5.0/24 http://192.168.5.0/24 192.168.5.0/24 http://192.168.5.0/24 305 31699 ACCEPT all -- eth1 * 0.0.0.0/0 http://0.0.0.0/0 0.0.0.0/0 http://0.0.0.0/0
state RELATED,ESTABLISHED 0 0 DROP all -- * * 0.0.0.0/0 http://0.0.0.0/0 0.0.0.0/0 http://0.0.0.0/0
state INVALID 0 0 ACCEPT tcp -- eth1 * 0.0.0.0/0 http://0.0.0.0/0 0.0.0.0/0 http://0.0.0.0/0
state NEW tcp dpt:22 flags:0x17/0x02 0 0 ACCEPT tcp -- eth1 * 0.0.0.0/0 http://0.0.0.0/0 0.0.0.0/0 http://0.0.0.0/0
state NEW tcp dpt:25 flags:0x17/0x02 0 0 ACCEPT tcp -- eth1 * 0.0.0.0/0 http://0.0.0.0/0 0.0.0.0/0 http://0.0.0.0/0
state NEW tcp dpt:465 flags:0x17/0x02 0 0 ACCEPT tcp -- eth1 * 0.0.0.0/0 http://0.0.0.0/0 0.0.0.0/0 http://0.0.0.0/0
state NEW tcp dpt:80 flags:0x17/0x02 0 0 ACCEPT tcp -- eth1 * 0.0.0.0/0 http://0.0.0.0/0 0.0.0.0/0 http://0.0.0.0/0
state NEW tcp dpt:443 flags:0x17/0x02 0 0 ACCEPT tcp -- eth1 * 0.0.0.0/0 http://0.0.0.0/0 0.0.0.0/0 http://0.0.0.0/0
state NEW tcp dpt:143 flags:0x17/0x02 0 0 ACCEPT tcp -- eth1 * 0.0.0.0/0 http://0.0.0.0/0 0.0.0.0/0 http://0.0.0.0/0
state NEW tcp dpt:110 flags:0x17/0x02 0 0 ACCEPT tcp -- eth1 * 0.0.0.0/0 http://0.0.0.0/0 0.0.0.0/0 http://0.0.0.0/0
state NEW tcp dpt:993 flags:0x17/0x02On 9/11/06, *Jakob Curdes*
mailto:jc@info-systems.de> wrote: Christian Schmidt schrieb: >Hello Wolfgang, > >Wolfgang Paul Rauchholz, 11.09.2006 (d.m.y): > > > >>I setup postfix and can send emails. When replying to these emails >>they do not get to my server (I checked in the Maildir directory of the user, there is no file) >> >> > > > Make sure 1) the mails reach your server at all (check your postfix logs) 2) to what type of inbox postfix or the local delivery agent (often procmail) delivers these mails : maildir, mbox, or /var/spool/mail 3) if dovecot looks in the right place (see above) for incoming mails. Hope this helps, Jakob Curdes
--
Best regards,
Charles
<snip> 1) the mails reach your server at all (check your postfix logs) That is my problem, the mails do not get back to my server at all. the maillog file only shows me the ountgoing mails but nothing which indicates that a mail from outside is coming. The only mails I receive are from the linux system as such (background kobs finished, etc...)
Are you sure you have an MX record in the public DNS for your mailserver ? If not, outside mail will never reach you no matter what you configure on the server. It is not enough to have an open port 25 on yours server ! Anyway, dovecot is innocent here.
Yours, Jakob Curdes
- the mails reach your server at all (check your postfix logs) That is my problem, the mails do not get back to my server at all. the maillog file only shows me the ountgoing mails but nothing which indicates that a mail from outside is coming. The only mails I receive are from the linux system as such (background kobs finished, etc...)
Are you sure you have an MX record in the public DNS for your mailserver ? If not, outside mail will never reach you no matter what you configure on the server. It is not enough to have an open port 25 on yours server ! Anyway, dovecot is innocent here.
If no MX, mail servers should fall back to the A record.
participants (5)
-
Charles Marcus
-
Christian Schmidt
-
Jakob Curdes
-
Jeremy C. Reed
-
Wolfgang Paul Rauchholz