Re: Configure MM3 with separate IMAP Mailserver
Hi Mark, much appreciated! This is for sending messages, right? How about the recieving part…I read different things around that i need multiple mailboxes created, postfix installed, relays, ASMTPDirect etc…can you guide me a bit here, please? I havent found that one instruction that would solve this for me until now. Would just like to avoid to have to administer my own mailserver locally, if i have a perfectly configured one with my provider. CL
On 1/2/23 11:18, Clemens Leider wrote:
Hi Mark, much appreciated! This is for sending messages, right? How about the recieving part…I read different things around that i need multiple mailboxes created, postfix installed, relays, ASMTPDirect etc…can you guide me a bit here, please? I havent found that one instruction that would solve this for me until now. Would just like to avoid to have to administer my own mailserver locally, if i have a perfectly configured one with my provider. CL
Yes, what I posted is for outgoing mail from Mailman. Incoming mail is much more difficult. There are threads on this in the archives of this list. E.g., <https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/thread/VNGXOGZP4NXPNFXXY7GFEHTU67ZNTHSN/>
The incoming MTA needs to relay the mail to Mailman's LMTP server for every address - that's 9 addresses per list. An example postfix transport_maps for one list is:
list@example.com lmtp:[127.0.0.1]:8024
list-bounces@example.com lmtp:[127.0.0.1]:8024
list-confirm@example.com lmtp:[127.0.0.1]:8024
list-join@example.com lmtp:[127.0.0.1]:8024
list-leave@example.com lmtp:[127.0.0.1]:8024
list-owner@example.com lmtp:[127.0.0.1]:8024
list-request@example.com lmtp:[127.0.0.1]:8024
list-subscribe@example.com lmtp:[127.0.0.1]:8024
list-unsubscribe@example.com lmtp:[127.0.0.1]:8024
This relays mail to those addresses to Mailman's LMTP server listening on the localhost, port 8024. If you could arrange for the external IMAP server to do that, that would work, but I suspect you don't have access to even try.
For MM 2.1 which is different in that it doesn't use LMTP in this way, some people have used fetchmail <https://www.fetchmail.info/> to do things like this. This requires setting up mailboxes on the remote server to receive the mail and using fetchmail to retrieve that mail and relay it to Mailman. The issues with this are keeping the remote mailboxes and fetchmail in sync with Mailman as lists are created and removed.
Another possibility is to have all your lists in a dedicated domain and configure the remote MTA to forward all mail to that domain to the Mailman host and then configure an MTA on the Mailman host to simply relay all mail to Mailman via LMTP.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Clemens Leider
-
Mark Sapiro