LOG:
====
Jul 5 10:03:22 SWH-iRed-1 amavis[1853]: (01853-01) Passed CLEAN, <websupport@atlantic.net> -> <mailman-subscribe@lists.sensusplenoir.com>, Message-ID: <51d6e01b.TLq2r6xMGZdBrWGe%websupport@atlantic.net>, mail_id: ox3SqxCSbfs5, Hits: 0.011, size: 316845, queued_as: C974940D08, 30507 ms
Jul 5 10:03:23 SWH-iRed-1 postfix/smtp[2082]: 356C040CF8: to=<mailman-subscribe@lists.sensusplenoir.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=31, delays=0.38/0.05/0.02/31, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as C974940D08)
Jul 5 10:03:23 SWH-iRed-1 postfix/qmgr[1689]: 356C040CF8: removed
Jul 5 10:03:23 SWH-iRed-1 postfix/error[2104]: C974940D08: to=<mailman-subscribe@lists.sensusplenoir.com>, relay=none, delay=0.47, delays=0.14/0.08/0/0.25, dsn=4.3.0, status=deferred (mail transport unavailable)
Jul 5 10:03:23 SWH-iRed-1 postfix/qmgr[1689]: C974940D08: from=<websupport@atlantic.net>, size=317397, nrcpt=1 (queue active)
Jul 5 10:03:23 SWH-iRed-1 postfix/error[2104]: C974940D08: to=<mailman-subscribe@lists.sensusplenoir.com>, relay=none, delay=0.59, delays=0.51/0/0/0.08, dsn=4.3.0, status=deferred (mail transport unavailable)
Additions to /etc/postfix/main.cf(test domain is sensusplenoir.com)
===========================================================
relay_domains = lists.sensusplenoir.com, $mydestination, proxy:mysql:/etc/postfix/mysql/relay_domains.cf
mailman_destination_recipient_limit = 1
And created the database entries as needed:
INSERT INTO `vmail`.`domain` (`domain`, `description`, `disclaimer`, `aliases`, `mailboxes`, `maxquota`, `quota`, `transport`, `backupmx`, `defaultuserquota`, `defaultuseraliases`, `defaultpasswordscheme`, `minpasswordlength`, `maxpasswordlength`, `created`, `modified`, `expired`, `active`) VALUES ('lists.sensusplenoir.com', '', '', '0', '0', '0', '0', 'mailman:', '0', '1024', '', '', '0', '0', NOW(), '0000-00-00 00:00:00', '9999-12-31 00:00:00', '1');
INSERT INTO `alias` (`address`, `goto`, `name`, `moderators`, `accesspolicy`, `domain`, `created`, `modified`, `expired`, `active`) VALUES
('listname@sensusplenoir.com', 'listname@lists.sensusplenoir.com', '', '', 'public', 'sensusplenoir.com', NOW(), NOW(), '9999-12-31 00:00:00', 1),
('listname-admin@sensusplenoir.com', 'listname-admin@lists.sensusplenoir.com', '', '', 'public', 'sensusplenoir.com', NOW(), NOW(), '9999-12-31 00:00:00', 1),
('listname-bounces@sensusplenoir.com', 'listname-bounces@lists.sensusplenoir.com', '', '', 'public', 'sensusplenoir.com', NOW(), NOW(), '9999-12-31 00:00:00', 1),
('listname-confirm@sensusplenoir.com', 'listname-confirm@lists.sensusplenoir.com', '', '', 'public', 'sensusplenoir.com', NOW(), NOW(), '9999-12-31 00:00:00', 1),
('listname-join@sensusplenoir.com', 'listname-join@lists.sensusplenoir.com', '', '', 'public', 'sensusplenoir.com', NOW(), NOW(), '9999-12-31 00:00:00', 1),
('listname-leave@sensusplenoir.com', 'listname-leave@lists.sensusplenoir.com', '', '', 'public', 'sensusplenoir.com', NOW(), NOW(), '9999-12-31 00:00:00', 1),
('listname-owner@sensusplenoir.com', 'listname-owner@lists.sensusplenoir.com', '', '', 'public', 'sensusplenoir.com', NOW(), NOW(), '9999-12-31 00:00:00', 1),
('listname-requests@sensusplenoir.com', 'listname-requests@lists.sensusplenoir.com', '', '', 'public', 'sensusplenoir.com', NOW(), NOW(), '9999-12-31 00:00:00', 1),
('listname-subscribe@sensusplenoir.com', 'listname-subscribe@lists.sensusplenoir.com', '', '', 'public', 'sensusplenoir.com', NOW(), NOW(), '9999-12-31 00:00:00', 1),
('listname-unsubscribe@sensusplenoir.com', 'listname-unsubscribe@lists.sensusplenoir.com', '', '', 'public', 'sensusplenoir.com', NOW(), NOW(), '9999-12-31 00:00:00', 1);
from socket import *
try:
fqdn = getfqdn()
except:
fqdn = 'mm_cfg_has_unknown_host_domains'
DEFAULT_URL_HOST = fqdn
DEFAULT_EMAIL_HOST = fqdn
# Because we've overriden the virtual hosts above add_virtualhost
# MUST be called after they have been defined.
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
##############################################################
# Put YOUR site-specific configuration below, in mm_cfg.py . #
# See Defaults.py for explanations of the values. #
# ksmemekddNote - if you're looking for something that is imported from mm_cfg, but you
# didn't find it above, it's probably in Defaults.py.
MTA = 'Postfix'
I'm a bit unsure of the mailmain config above, as we have several different domains that well be using these mailing lists so i left it at fqdn.
I skipped the html setup for now. I figure I'd leave that for when I get the mailing lists up first.
The domain is a demo domain only for development only...just an fyi in case someone is wondering why i used a real domain.