hi everyone!
i start by saying that i browsed through the archives in here for the past three days, and re-read the mailman 3 docs several times, as well the postfix docs.
the thread closest to my problem is this one https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/thread/F... ; i was not sure if it was good to re-open though.
i have a postfix + dovecot setup using the "separate domains and non-unix accounts".
problem:
postfix/smtpd[26356]: NOQUEUE: reject: RCPT from wout1-smtp.messagingengine.com[64.147.123.24]: 550 5.1.1 <list-name@domain.com>: Recipient address rejected: User unknown; from=<some@email.com> to=<list-name@domain.com> proto=ESMTP helo=<wout1-smtp.messagingengine.com>
postfix main.cf relevant portion for virtual users
# deliver mail for virtual users to Dovecot's LMTP socket
virtual_transport = lmtp:unix:private/dovecot-lmtp
# setup virtual domains and non-unix accounts
virtual_mailbox_domains = /etc/postfix/vhosts
virtual_mailbox_base = /var/spool/vmail
virtual_mailbox_maps = hash:/etc/postfix/vmaps
virtual_uid_maps = static:1001
virtual_gid_maps = static:1001
virtual_alias_maps = hash:/etc/postfix/valias
postfix main.cf
mailman settings
transport_maps = regexp:/opt/mailman/var/data/postfix_lmtp
local_recipient_maps = regexp:/opt/mailman/var/data/postfix_lmtp
relay_domains = regexp:/opt/mailman/var/data/postfix_domains
question: i tried to add the alias_domain
to mailman using Mailman Core REST APIs because I read about https://mailman.readthedocs.io/en/latest/src/mailman/docs/mta.html#unusual-p... ; entering the mailman console and doing dump_json('http://localhost:9001/3.0/domains/example.com/lists')
was giving me error that dump_json
is not an available module.
is that the way to go? should I add a an alias_domain
to Mailman in order for it to output a postfix_vmap
when doing mailman aliases
? and then add it to postfix main.cf
like so
virtual_alias_maps = hash:/etc/postfix/valias, regexp:/opt/mailman/var/data//postfix_vmap
or do you suggest as a simple viable solution to create a new unix account and setup postfix to use local domains?
thanks and hopefully my confusion arose from reading all these threads will dissipate soon!