Hello all,

I am relatively new on postfix, my server atm is on qmail but since I had it confgured to use vpomail and its support has been dropped by courier I decided to move it to postfix-dovecot with virtual on mysql(thats just as background).now to my postfix, I m running it on slackware 12.2, at the moment the mail server is up and running I can send and receive e-mail from my domains and have webmail set up (decied to go for roundcube had squirrel on qmail) now the problem ...on qmail I did use ezmlm as mailing list manager ... for postfix I decided to go with Mailman.

Mailman is installed ( I even setup mysql db but disabled them for the sake of debugging) my server does accept mail for the virtual mailbox (ml...@mymlistdomain.com) and his command mailbox BUT and this is the problem it deliver them to my first and default virtual domain (firstdomain.com) as I find the mailbox cretated there and the log show them being delivered ...... so pratically the e-mail directed to ml...@mymlistdomain.com get directed to ml...@firstdomain.com and delivered AND there it stop ... mail doesn't go to subscribers and command request don't reply to subscribers .... if I use the web interface to massively add users ... they get the welcome e-mail ( so smtp is working as intended).

I read all the mailman documentation related to postfix like this one for example http://mail.python.org/pipermail/mailman-users/2002-September/022374.html, though I may be missing something obvious , now these are my config file :

main.cf

alias_database=/ets/aliases
alias_maps = hash:/etc/postfix/aliases,hash:/usr/local/mailman/data/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
html_directory = no
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/man
mydestination = localhost
mydomain = firstdomain.com
myhostname = firstdomain.com
mynetworks = 192.168.6.0/24,127.0.0.0/8
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
smtpd_tls_cert_file = /etc/ssl/certs/dovecot.pem
smtpd_tls_key_file = /etc/ssl/certs/dovecot.pem
unknown_local_recipient_reject_code = 550
virtual_alias_maps=mysql:/etc/postfix/mysql_virtual_alias_maps.cf,mysql:/etc/postfix/mysql_email2email.cf,hash:/usr/local/mailman/data/virtual-mailman
virtual_gid_maps = static:5000
virtual_mailbox_base = /POSTFIX/vmail
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_mailbox_domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_uid_maps = static:5000
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1

mm_cgf.py

# Put YOUR site-specific settings below this line.
MTA='Postfix'
POSTFIX_STYLE_VIRTUAL_DOMAINS="mymlistdomain.com"
#MYSQL_MEMBER_DB_NAME="mailman"
#MYSQL_MEMBER_DB_USER="mailman"
#MYSQL_MEMBER_DB_PASS="manmail"
#MYSQL_MEMBER_DB_HOST="localhost"
#MYSQL_MEMBER_TABLE_TYPE="wide"
#MYSQL_MEMBER_CREATE_TABLE="yes"
DEFAULT_EMAIL_HOST='mymlistdomain.com'
DEFAULT_URL_HOST='firstdomain.com'
DEFAULT_URL_PATTERN='https://%s/mailman/'

What is it unclear to me expecially after reading all the documentation is :

Are Postfix Style virtual Domain necessary with my setup ??
To my understanding I setup my server to have only Virtual domain ... ( having mydestination set to localhost should default all domain to virtual ) is it ok with postfix ??

And last but first ... is there any documentation I did skip and I should read about mailman integration with postfix ???

Thank you in advance for your time



Reply via email to