On Sat, 2007-03-24 at 22:28 +0200, Andrei Popescu wrote: > Owen Heisler <[EMAIL PROTECTED]> wrote: > > And also: can postfix not act as the MDA? I'm not really clear on all > > the M*A stuff, so I looked on Wikipedia for MDA and it says there > > that: "[An MDA] is software that accepts incoming e-mail messages and > > distributes them to recipients' individual mailboxes (if the > > destination account is on the local machine), or forwards to another > > SMTP server (if the destination is on a remote server)." > > > > Okay, so that would be what Postfix does anytime it receives mail. > > It doesn't say how it receives the mail. *Usually* an MTA receives mail > through the SMTP protocol listening on port 25, while an MDA receives > the mail on standard input. > > > Next: > > "[An MDA] is not necessarily a mail transfer agent (MTA), although > > on many systems the two functions are implemented by the same > > program." > > > > From what I read, postfix does seem to include an MDA... > > It certainly can deliver mail. AFAIK exim can also do sorting, but > that's not the primary function. > > > Can I not send mail to the Postfix MDA somehow? What I essentially > > want to end up with is for postfix to exist somehow between getmail > > and ~/.Maildir so that only Postfix is writing to ~/.Maildir and any > > spam filtering I set up with Postfix will check the mail retrieved by > > getmail too. And if I change my mail configuration/location, getmail > > configuration doesn't need to be changed. > > Do you run your own mailserver?
Postfix. I can receive mail via SMTP, but I don't much. > > Will sendmail (as MDA_external) do want I'm wanting? > > This is beyond my knowledge. You will have to dig through the postfix > docs for this, especially the part about the sendmail replacement. > > > Is that what fetchmail is doing? Hey, this is it (fetchmail man): > > "As each message is retrieved fetchmail normally delivers it via > > SMTP to port 25 on the machine it is running on (localhost), just as > > though it were being passed in over a normal TCP/IP link. The mail > > will then be delivered locally via your system’s MDA (Mail Delivery > > Agent, usually sendmail(8) but your system may use a different one > > such as smail, mmdf, exim, or qmail). All the delivery-control > > mechanisms (such as .forward files) normally available through your > > system MDA and local delivery agents will therefore work > > automatically." > > Hhhm, I tend to believe Charles Cazabon (the writer of getmail) and > D.J. Bernstein (the writer of qmail) and avoid this route. The relevant > quote has already been posted in this thread. > > > How can I get getmail to do this? sendmail? > > I hope you know postfix provides a replacement sendmail binary for > compatibility. Yes. I will try configuring getmail to use sendmail with MDA_external. I'll let you know how it goes; thanks for your help.
signature.asc
Description: This is a digitally signed message part