Home › Forums › OS X Server and Client Discussion › Mail › Mailman: Genaliases does not populate virtual-mailman
- This topic has 0 replies, 1 voice, and was last updated 17 years, 2 months ago by
DoubleD.
-
AuthorPosts
-
January 20, 2008 at 11:24 pm #371165
DoubleD
ParticipantI have what on the surface appears to be a minor problem which has unfortunately consumed the better part of a weekend trying to resolve.
I am attempting to setup several Mailman lists to a box I rebuilt with Mac OS 10.5 Server. I am able to successfully create the lists through either Server Admin, web interface or command. I however am not able to send messages to them.
When I attempt to send a message to the list address, I receive the following message:
550 5.1.1
: Recipient address rejected: User unknown in virtual alias table After doing some investigating, I found this is because the virtual-mailman file at /var/mailman/data/virtual-mailman is empty. Fair enough, what if I force Mailman to repopulate the file with
sudo /usr/share/mailman/bin/genaliases
I then postmaped virtual-mailman and restarted both mailman and postfix – nothing. The virtual-mailman file is still empty.
I verified the permissions with
sudo /usr/share/mailman/bin/check_perms -f
The message still would not send. Since this setup was a rebuild, I had a backup handy. I decided to find out what would happen if I manually populated the virtual-mailman file from the backed up virtual-mailman file prior to the rebuild. I went through the usual process, postmaping and restarting postfix, I tried sending a message out. The message sent out as expected. Curious, I decided to run genaliases only to find my virtual-mailman file wiped out again.
Boiling everything down, when invoking genaliases, or creating a list, the virtual-mailman file is not populated as it should be. I can get this installation working if I create the aliases manually.
Any thoughts on getting this install to work as it should?
For the most part, this is a clean install. I did setup Postfix aliases via a tutorial at Topic Desk.
http://downloads.topicdesk.com/docs/Making_Virtual_Mail_Users_in_OS_X_Server.pdfI have repeatedly reviewed those instructions and followed them to the letter as well as the Postfix related instructions for Mailman.
/usr/share/mailman/Mailman/mm_cfg.py
DEFAULT_URL_HOST = ‘www.my_domain.net’
DEFAULT_EMAIL_HOST = ‘mail.my_domain.net’
VIRTUAL_HOSTS.clear()add_virtualhost(‘www.domain1.org’, ‘domain1.org’);
add_virtualhost(‘www.doman2.org’, ‘domain2.org’);POSTFIX_STYLE_VIRTUAL_DOMAINS = [‘domain1.org’,’domain2.org’]
MTA = ‘Postfix’
mail:~ sysop$ postconf -n
alias_maps = hash:/etc/aliases,hash:/var/mailman/data/aliases
always_bcc =
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
enable_server_options = yes
html_directory = no
inet_interfaces = all
mail_owner = _postfix
mailbox_size_limit = 0
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
message_size_limit = 52428800
mydestination = $myhostname,localhost.$mydomain,localhost
mydomain = my_domain.net
mydomain_fallback = localhost
myhostname = mail.my_domain.net
newaliases_path = /usr/bin/newaliases
owner_request_special = no
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
recipient_delimiter = +
relayhost =
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = _postdrop
smtpd_enforce_tls = no
smtpd_pw_server_security_options = cram-md5,plain,login
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination,permit
smtpd_sasl_auth_enable = yes
smtpd_tls_cert_file = /etc/certificates/mail.my_domain.net.crt
smtpd_tls_key_file = /etc/certificates/mail.my_domain.net.key
smtpd_use_pw_server = yes
smtpd_use_tls = yes
unknown_local_recipient_reject_code = 550
virtual_alias_domains = hash:/etc/postfix/virtual_domains
virtual_alias_maps = hash:/etc/postfix/virtual,hash:/var/mailman/data/virtual-mailman
virtual_mailbox_domains = hash:/etc/postfix/virtual_domains_dummy
virtual_transport = lmtp:unix:/var/imap/socket/lmtp -
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed