#15 fetchmail and/or procmail support


I use fetchmail with procmail to fetch all my mailboxes
and filter them. Procmail automaticly moves the into
the correct maildir-folder. I do not like to inject all
mails into my postfix-server as this creates some more
(useless) headers.
It would be nice if amavis could be configured in a way
that I can just pipe the message to amavis in procmail
and amavis tries to identify sender and recipient. If
the recipient cannot be determined, just fall back to a
pre-defined one.


  • Lars Hecking

    Lars Hecking - 2003-06-11

    Logged In: YES

    You can already do this with amavis-0.3.12, although it might
    require some small modifications.

    amavis accepts mail on stdin, and sender/recipient info as cmd
    line args. Setting $nomail to 1, amavis does not re-inject mails
    into the mail system, but dumps them to stdout.

    So, all you'd need to do is configure amavis for some MTA (not
    qmail, because I/O is different in this case), set $nomail to 1,
    and comment out the @mta_args_frag@ part.

    However, the problem is that you lose envelope information,
    and may thus not be able to deliver mail correctly.
    won't work properly either because of this.

  • Lars Hecking

    Lars Hecking - 2003-07-21
    • status: open --> closed
  • Lars Hecking

    Lars Hecking - 2003-07-21

    Logged In: YES

    No further comments - closing.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks