Re: Re-injecting a mailbox into postfix?

From: Luciano Mannucci (no email)
Date: Tue Sep 04 2007 - 06:22:50 EDT

  • Next message: Dick Middleton: "Re: mysql domain lookups"

    On Mon, 03 Sep 2007 22:17:32 +0200
    mouss <> wrote:

    > Sean Tempesta wrote:
    > > Luciano: I tried using this on a test message and it appears to work
    > > (minus a loopback problem).
    > >
    > > Magnus: Is there a way to strip out any non mydestination recipients
    > > so Postfix doesn't deliver mail to other recipients in the header?
    >
    > sendmail -t will use the From and To/Cc headers. These headers are not
    Yes it was just a matter of pointing in a workable direction.
    In fact I use formail only for utility mailboxes (those that collect
    mail from programs).
    Probably the best bet is to use fetchmail, which has a very rich set
    of capabilities. Knowing the addresses of the domain or which you
    have collect mail for, you can set a rule in a fetchmailrc that takes
    the messages via pop3 from your localhost and resend them to the
    proper address. I did that ages ago, so I'm pretty sure that fetchmail
    can set rules based on the Delivered-To header, though I don't remember
    the details. You may wish to dig in the fetchmail manual.

    Cheers,

    luciano.

    -- 
     /"\                         /Via A. Salaino, 7 - 20144 Milano (Italy)
     \ /  ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250
      X   AGAINST HTML MAIL    /  E-MAIL: 
     / \  AND POSTINGS        /   WWW: http://www.mannucci.ORG/
    

  • Next message: Dick Middleton: "Re: mysql domain lookups"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD