Send mail but don't receive
I installed ispconfig on Fedora core 4 with Perfectsetup instructions and
I've got a problem where my mail server can't receive mail but can send it.
A look at maillog show those lines
Jan 21 08:56:13 sele postfix/smtpd: connect from
Jan 21 08:56:13 sele postfix/smtpd: B7C6459EA87:
Jan 21 08:56:13 sele postfix/cleanup: B7C6459EA87:
Jan 21 08:56:13 sele postfix/qmgr: B7C6459EA87:
from=<email@example.com>, size=1225, nrcpt=1 (queue active)
Jan 21 08:56:13 sele postfix/local: B7C6459EA87:
to=<firstname.lastname@example.org>, orig_to=<email@example.com>, relay=local,
delay=0, status=sent (delivered to mailbox)
Jan 21 08:56:13 sele postfix/qmgr: B7C6459EA87: removed
Jan 21 08:56:18 sele postfix/smtpd: disconnect from
in the main.cf I have the lines
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
inet_interfaces = all
unknown_local_recipient_reject_code = 550
alias_database = hash:/etc/aliases
debug_peer_level = 2
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.2.2/samples
readme_directory = /usr/share/doc/postfix-2.2.2/README_FILES
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
virtual_alias_domains = itisvarese.it
virtual_alias_maps = hash:/etc/postfix/virtusertable
and the virtusertable has the line
What is wrong?
The mail does got delivered to the root user. Your main.cf file does not look like it was modified by the ISPConfig installer. Did you got any errors during installation?
In main.cf the following line is missing:
mydestination = /etc/postfix/local-host-names
I changed manually the entry in main .cf:
virtual_alias_domain with mydestination without obtain results.
The fact is that the mail is delivered in the /var/mail/root mailbox but I expect it in /home/www/www.itisvarese.it/user/info/Maildir
I proved to set home_mailbox = Maildir/ in main.cf without results
Have you checked the maildir Checkbox in ISPConfig under management > Server > settings on the mail tab? have you installed dovecot or courier as pop3 and imap daemon?
Please check /etc/aliases if mails for info are redirected to root.
I changed /etc/aliases and effectively now there is no more redirect and the received mail is putted into /var/mail/info file.
I changed ISPConfig under management > Server > settings on the mail tab by checking Maildir box and now the received mail is putted into /home/www/www.itisvarese.it/user/info/maildir/new
It remain that I can send correctly mail from squirrelmail but don't see received mail in INBOX of squirremail, I think some process must move mail from /home/www/www.itisvarese.it/user/info/maildir/new to /home/www/www.itisvarese.it/user/info/INBOX but the INBOX file does not exist so what is wrong ?
Which POP3 daemon do you use? Please post the output of
The services are under xinetd daemon and the package is imap-2002d-3
actually are actives imap, imaps, ipop3 and pop3s.
When the mail is delivered to /var/spool/mail/info file, you should be able to fetch it with pop3 and imap. Have you tried a normal mailclient like outlook or thunderbird instead of using the webmail program?
I removed check in the Maildir checkbox of ISPConfig, restart postfix and now everything work fine.
Tanks Till and Falko.
|All times are GMT +2. The time now is 10:38.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.