View Single Post
  #1  
Old 2nd January 2013, 06:12
abcinc abcinc is offline
Junior Member
 
Join Date: Jan 2013
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix, dovecot, mysql no email coming to mysql

I have ubuntu 10.04 with postfix, mysql dovecot and squirrelmail

All mail sent from outside to a client goes into a postfix mailbox and not to dovecot imap or squirrelmail. Both are using mysql.

main.cf from Postfix

myorigin = /etc/mailname
biff = no
append_dot_mydomain = no
readme_directory = no
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mynetworks_style = host
mailbox_size_limit = 0
virtual_mailbox_limit = 0
recipient_delimiter = +
message_size_limit = 0

# SMTP Authentication (SASL)

smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =

# Encrypted transfer (SSL/TLS)

smtp_use_tls = yes
smtpd_use_tls = yes
smtpd_tls_cert_file = /etc/ssl/private/mail5.mydomain.com,.crt
smtpd_tls_key_file = /etc/ssl/private/mail5.mydomain.com,.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# Basic SPAM prevention

smtpd_helo_required = yes
smtpd_delay_reject = yes
disable_vrfy_command = yes

# Force incoming mail to go through Amavis

content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings

# Virtual user mappings

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
virtual_mailbox_base = /var/spool/mail/virtual
virtual_mailbox_maps = mysql:/etc/postfix/maps/user.cf
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
virtual_alias_maps = mysql:/etc/postfix/maps/alias.cf
virtual_mailbox_domains = mysql:/etc/postfix/maps/domain.cf

smtpd_tls_loglevel = 1


mydestination = mydomain.com,mydomain1.com,mydomain2.com,

Last edited by abcinc; 2nd January 2013 at 06:45. Reason: update
Reply With Quote
Sponsored Links