-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Rob,
Just this morning, I had the task of figuring this out. The
conclusion I came to is the .mailfilter file needs both SENDMAIL and
SHELL variables defined before it can forward any emails.
My .mailfilter file looks like this:
SHELL="/bin/bash"
SENDMAIL="/usr/sbin/sendmail"
to "!sken...@tpno.org"
And it works.
Hope this helps.
Rob Brandt wrote:
| I'm using maildrop in my postfix/courier-imap setup. I am trying
| to set up a mail filter that will either send or cc an email to
| another account. The account may be either an external account or
| a local one. My postfix setup uses virtual accounts with MySQL
| authentication, FWIW.
|
| I've found various examples of using "to" and "cc" on various
| mailing list messages, but they're not working for me. I've tried
| variations of:
|
| to "! ema...@domain.com"
|
| to ! ema...@domain.com
|
| to ema...@domain.com
|
| and
|
| to "ema...@domain.com"
|
| and have tried all of the above with "cc" instead of "to". In all
| cases, nothing is received by the ema...@domain.com account. I have
| looked in my mail logs and there are no entries for that account,
| so the problem appears to be in maildrop itself.
|
| Ideas?
|
| Rob
iD8DBQFAYxTqIjyA6vwcN38RAsHUAJ9rSSveV5SGFXkfR3xffGj7InbcwwCfV6zR
903+ctqEzHhoqDdHwztWAQ8=
=/MBo
-----END PGP SIGNATURE-----