Getmail - Mail Aliases and Forwards dont appear effected

,

Had the same problem: created a multidrop receiver but mail didn’t get accepted when it was for an alias.

Solved it with a multisorter destination in the getmail config:

[retriever]
type = MultidropPOP3SSLRetriever
server = pop.mail.nl
username = ***@mail.nl
password = ***
envelope_recipient = delivered-to:2

[destination]
type = MultiSorter
default = [aaa-default]
locals = (
(‘bbb’, ‘[bbb]’),
(‘aliasforbbb@’, ‘[bbb]’),
(‘ccc@’, ‘[ccc]’)
)

[aaa-default]
type = MDA_external
path = /usr/libexec/dovecot/dovecot-lda
arguments = ("-e","-d","aaa@local.net")
user = vmail
group = vmail

[bbb]
type = MDA_external
path = /usr/libexec/dovecot/dovecot-lda
arguments = ("-e","-d","bbb@local.net")
user = vmail
group = vmail

[ccc]
type = MDA_external
path = /usr/libexec/dovecot/dovecot-lda
arguments = ("-e","-d","ccc@local.net")
user = vmail
group = vmail

Hope this will help someone (and maybe something to include in the pop3 connector config menu in the future)

1 Like