Using To-Header for envelope address
Robert Schönherr <[email protected]>
| Newsgroups | gmane.mail.getmail.user |
|---|---|
| Message-ID | <[email protected]> |
Hi together,
I am new to getmail and struggling with an setup for multiple clients.
I selected the MultidropIMAPRetriever. Incoming mails are collected with
an catchall-address for the whole domain.
The example suggests Delivered-To:1 as envelope_recipient. But in my
case this always contains the Catchall-Address, so I tried to use the
To: header.
getmail then stops with an error: the to header field does not record
the envelope recipient address
Why is it not allowed to use the To: header? Seems a legit option to me.
Other questions I stumbled over:
- is StartSSL supported?
- can I use regex groups in locals? Something like ("(.*)@domain.com", [\1])
My current configuration is attached. Thank you for any help.
Best regards
Robert Schönherr
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
getmailrc
(text/plain, 621 B)
[retriever] type = MultidropIMAPRetriever server = mydomain.de username = [email protected] password = ********** mailboxes = ("INBOX", "Junk") move_on_delete = mail.deleted #envelope_recipient = Delivered-To:1 # this works, but is always [email protected] envelope_recipient = To:1 # this doesn't work [destination] type = MultiSorter default = [unknown] locals = ( ("[email protected]", "[test]"), ("[email protected]", "[admin]") ) [test] type = Maildir path = ~/test/Maildir/ [admin] type = Maildir path = ~/admin/Maildir/ [unknown] type = Maildir path = ~/unknown/Maildir/