Quoting Devin Rubia <dev...@thezone.net>:
On Tue, Mar 09, 2004 at 09:08:18AM -0800, 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?
Perhaps:
to "!ema...@domain.com"
A quick parse of deliver.C suggests that that shouldn't make a
difference but you never know.
No difference.
Have you tried manually setting $SENDMAIL?
This looks promising, as it would also explain why there's not even a mail log
entry. I've looked through the docs, but it doesn't provide examples so I'm
not sure if I've got the syntax right. Without success, I've tried:
SENDMAIL = "/usr/bin/sendmail" and
$SENDMAIL = "/usr/bin/sendmail"
These commands were placed in the mail filter file for the user that is for.
I've verified through "which sendmail" that the above path is correct for the
postfix "sendmail" file. I usually use SMTP for sending mail; can that be
specified?
Rob