#15 fetchmail and/or procmail support

closed
nobody
None
5
2003-07-21
2003-06-10
BunBun
No

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.

Discussion

  • Lars Hecking
    Lars Hecking
    2003-06-11

    Logged In: YES
    user_id=28904

    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.
    Notifications
    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
    user_id=28904

    No further comments - closing.