homepage Welcome to WebmasterWorld Guest from 54.227.215.139
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
Postfix, Dovecot & Squirrelmail
aero77



 
Msg#: 4566218 posted 4:56 pm on Apr 18, 2013 (gmt 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
<snip>

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_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
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 = 79.161.88.0/32, 127.0.0.0/8
relayhost = smtp.nenett.no
home_mailbox = Maildir/
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all

# SASL SUPPORT FOR CLIENTS
# 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]

 

PCInk

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4566218 posted 1:21 pm on Apr 22, 2013 (gmt 0)

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved