I have been trying to create a maildroprc that will tell maildrop to send a
message to a different account. Here is what my rule looks like:
if ( /^From:.*Faxaway-/:D )
{
exception {
to !lloyd
}
}
And the message didn't get delivered to lloyd, it just disapeared. I did put
an echo statement just before the 'to' statement. So, I know it made inside
the if statement. If I manually use /usr/lib/courier/bin/sendmail to send an
email to me from root, just using 'tbrown' as the recipient, it works. So
what happened? Where did I go wrong here?
I also tried:
if ( /^From:.*Faxaway-/:D )
{
exception {
to [EMAIL PROTECTED]
}
}
That didn't work either.
Here is what I ended up with:
if ( /^From:.*Faxaway-/:D )
{
exception {
to "$HOME/Maildir/.faxes/"
}
}
Then I scheduled a script to move the mail to lloyd's Maildir/new. I don't
like this solution because I assume which account the mail will be delivered
to and always look in that Maildir/.faxes to move the mail. If they change
who the faxes are sent to, 1) I have to know about it, then 2) I have to
change my script. First, I'm sure they won't tell me. Second, I'm lazy and
don't want to have to change the script each time they change who the email
is sent to.
Any suggestions would be appreciated,
Tom
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users