Welcome to WebmasterWorld Guest from

Forum Moderators: bakedjake

Message Too Old, No Replies

Postfix, Dovecot & Squirrelmail

4:56 pm on Apr 18, 2013 (gmt 0)

New User

joined:Apr 5, 2013
posts: 3
votes: 0

I'm having a problem with this setup. I used the postfix settings from my other server which worked, but not anymore. It might be the Dovecot stuff cause I didnt use that before.

Here is a result from Mx Toolbox

My Postfix config file

# See /usr/share/postfix/main.cf.dist for a commented, more complete version

# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# TLS parameters
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = mail.example.com
mydomain = example.com
alias_maps = hash:/etc/aliases
#mydestination = $mydomain, $myhostname
mydestination = localhost.localdomain
myorigin = $mydomain
mynetworks =,
relayhost = smtp.nenett.no
home_mailbox = Maildir/
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all

# The following options set parameters needed by Postfix to enable
# Cyrus-SASL support for authentication of mail clients.
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = reject_non_fqdn_recipient, reject_unknown_recipient_domain permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_non_fqdn_hostname, reject_invalid_hostname, check_helo_access, pcre:/etc/postfix/helo_checks, check_sender_mx_access, cidr:/etc/postfix/bogus_mx, reject_rbl_client, zen.spamhaus.org, reject_rbl_client, cbl.abuseat.org, reject_rbl_client, dnsbl-1.uceprotect.net, check_relay_domains, permit
smtpd_client_restrictions = permit_mynetworks, reject
smtpd_recipient_restrictions = permit_mynetworks

and the dovecot config

pop3_uidl_format = %08Xu%08Xv
protocols = imap pop3
mail_location = maildir:/home/%u/Maildir

Before I changed the maildir to the new dovecot settings I could see mail coming in when I was looking in the mail folders from the webmin>postfix area. Not sure whats happening now if they are still going to the old area. I tried setting up the new mailboxdir path as you can see, but still I cant receive emails. I can just send them.

Thanks for reading!

[edited by: bill at 4:11 am (utc) on Apr 19, 2013]
[edit reason] use example.com for domains please [/edit]

1:21 pm on Apr 22, 2013 (gmt 0)

Senior Member from GB 

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Aug 13, 2003
posts: 1028
votes: 0

Are there any messages in the /var/log/mail.err file that might show what is wrong?