View Single Post
  #3  
Old 10th May 2011, 02:07
CopalFreak CopalFreak is offline
Junior Member
 
Join Date: May 2011
Posts: 19
Thanks: 2
Thanked 0 Times in 0 Posts
Default

falco,
thank you for responding.
i used several different tutorials and resources. Started out with one, had problems I couldn't solve, went to another. Been working on this for a while so its hard to pin down just one.

http://wiki.dovecot.org/HowTo/Doveco...tfixAdminMySQL
http://www.postfix.org/SASL_README.html
http://ubuntuforums.org/showthread.php?t=142263
and a ton posts in various forums.

At this point I am considering trying to remove all traces of postfix and dovecot and starting over..again..just to have a 'clean slate'.
Good idea or bad idea?


output of postconf -n
Code:
alias_database =
alias_maps = proxy:mysql:/etc/postfix/mysql_virtual_alias_maps.cf
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
debug_peer_level = 1
default_privs = mail
disable_vrfy_command = yes
inet_interfaces = localhost, $myhostname
invalid_hostname_reject_code = 450
local_transport = virtual
maps_rbl_reject_code = 450
mydestination = localhost.$mydomain, localhost, $myhostname
myhostname = rockhouseinc.com
mynetworks = /etc/postfix/mynetworks
non_fqdn_reject_code = 450
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps $virtual_login_maps
smtp_sasl_security_options = noanonymous
smtp_sasl_type = doovecot
smtp_tls_CAfile = /etc/postfix/DigiCertCA.pem
smtp_tls_cert_file = /etc/postfix/mail_rockhouseinc_com.pem
smtp_tls_key_file = /etc/postfix/mail_rockhouseinc_com.key
smtp_tls_security_level = may
smtp_tls_session_cache_database = btree:$data_directory/smtp_tls_session_cache
smtpd_data_restrictions = reject_unauth_pipelining,        reject_multi_recipient_bounce,        permit
smtpd_delay_reject = no
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks,        permit_sasl_authenticated,        reject_unauth_destination,        reject_invalid_helo_hostname,        warn_if_reject reject_non_fqdn_helo_hostname,        warn_if_reject reject_unknown_helo_hostname,        warn_if_reject reject_unknown_client,        reject_non_fqdn_sender,        reject_non_fqdn_recipient,        reject_unknown_sender_domain,        reject_unknown_recipient_domain,        reject_rbl_client zen.spamhaus.org,        reject_rbl_client bl.spamcop.net,        reject_rbl_client dnsbl.sorbs.net=127.0.0.2,        reject_rbl_client dnsbl.sorbs.net=127.0.0.3,        reject_rbl_client dnsbl.sorbs.net=127.0.0.4,        reject_rbl_client dnsbl.sorbs.net=127.0.0.5,        reject_rbl_client dnsbl.sorbs.net=127.0.0.7,        reject_rbl_client dnsbl.sorbs.net=127.0.0.9,        reject_rbl_client dnsbl.sorbs.net=127.0.0.11,        reject_rbl_client dnsbl.sorbs.net=127.0.0.12,        warn_if_reject reject_rhsbl_sender dsn.rfc-ignorant.org,        warn_if_reject reject_rhsbl_sender abuse.rfc-ignorant.org,        warn_if_reject reject_rhsbl_sender whois.rfc-ignorant.org,        warn_if_reject reject_rhsbl_sender bogusmx.rfc-ignorant.org,        warn_if_reject reject_rhsbl_sender postmaster.rfc-ignorant.org,        permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_exceptions_networks = $mynetworks
smtpd_sasl_path = /var/spool/postfix/private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_tls_CAfile = /etc/postfix/DigiCertCA.pem
smtpd_tls_ask_ccert = yes
smtpd_tls_cert_file = /etc/postfix/mail_rockhouseinc_com.pem
smtpd_tls_dh1024_param_file = $config_directory/dh_1024.pem
smtpd_tls_dh512_param_file = $config_directory/dh_512.pem
smtpd_tls_key_file = /etc/postfix/mail_rockhouseinc_com.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:$data_directory/smtpd_tls_session_cache
tls_random_source = dev:/dev/urandom
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:202
virtual_mailbox_base = /var/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 202
virtual_transport = dovecot
virtual_uid_maps = static:202
Here is what I am attempting:
email will be stored in /var/vmail/{domain}/{user}
can be accessed by VIRTUAL users (from mysql) via https(webmail) and/or email client which should be using some sort of encryption..but I want the passwords for the virtual users stored in mysql to be 'plaintext' (for the moment).

Thanks a ton for your help!!
Reply With Quote