[plug] Any one with experience using getmail with postfix?
billk at iinet.net.au
Fri Nov 25 19:56:12 AWST 2022
I am looking into replacing fetchmail with getmail on my mail
gateway system (I want to use getmails per instance IDLE parameter).
The docs say that it can work with postfix, however suitable examples
and information is lacking. Currently fetchmail is delivering multiple
accounts via port localhost:10026 to postfix. But I cant figure out how
to get getmail to deliver mail to localhost:10026 like fetchmail can.
This looks like a common use, but I cant see how to do it.
Existing postfix/master.cf: working with fetchmail
127.0.0.1:10026 inet n - n - - smtpd
getmail: this doesnt work
type = MDA_external
path = /usr/sbin/sendmail
arguments = ("-i", "-bm", "valid_user at 127.0.0.1:10026")
unixfrom = true
Delivery to an mbox directory works fine, and the mail system itself
including postfix has been working for years (with regular updates.).
More information about the plug