public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: William Kenworthy <billk@iinet.net.au>
To: "gentoo-user@lists.gentoo.org" <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] Any one with experience using getmail with postfix?
Date: Fri, 25 Nov 2022 19:56:53 +0800	[thread overview]
Message-ID: <72b06430-08c0-0edc-532a-52eb7a5fbfd9@iinet.net.au> (raw)

Hi,

     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
   -o syslog_name=postfix-fetchmail


getmail: this doesnt work

[destination]
type = MDA_external
path = /usr/sbin/sendmail
arguments = ("-i", "-bm", "valid_user@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.).

BillK





             reply	other threads:[~2022-11-25 11:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-25 11:56 William Kenworthy [this message]
2022-11-25 12:37 ` [gentoo-user] Any one with experience using getmail with postfix? Wols Lists
2022-11-25 13:01   ` William Kenworthy
2022-11-25 15:01     ` Solved: GRe: " William Kenworthy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=72b06430-08c0-0edc-532a-52eb7a5fbfd9@iinet.net.au \
    --to=billk@iinet.net.au \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox