Title: Vacation and virtual mailboxes
Hi.
I've been using the maildrop script at http://www.courier-mta.org/maildrop/?maildropfilter.html~patmatch for vacation messages.
åØåcc $DEFAULT
xfilter "reformail -r -t"
/^To:.*/
getaddr($MATCH) =~ /^.*/;
MATCH=tolower($MATCH)
flock "vacation.
You could try
to "| ( cat - ; echo ''; cat vacation.msg) | $SENDMAIL -f $RECIPIENT"
Sorry for the top posting!
Larry.
- Original Message -
From: "Jesper Langkjær" <[EMAIL PROTECTED]>
To:
Sent: Friday, February 24, 2006 3:11 PM
Subject:
> You could try
>
> to "| ( cat - ; echo ''; cat vacation.msg) | $SENDMAIL -f
> $RECIPIENT"
Hi.
I've already tried that, but it still seems like it is comming from CompanyA
>
> Sorry for the top posting!
>
> Larry.
> I've been using the maildrop script at
> http://www.courier-mta.org/ma
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jesper Langkjær wrote:
> if ( $RETURNCODE == 0 )
>exit
> to "| ( cat - ; echo ''; cat vacation.msg) | $SENDMAIL"
>
> But now the server got another mail domain (companyB) and whenever sombody
> from CompanyB create an vacation messages and it got
> Jesper Langkjær wrote:
> > if ( $RETURNCODE == 0 )
> >exit
> > to "| ( cat - ; echo ''; cat vacation.msg) | $SENDMAIL"
> >
> > But now the server got another mail domain (companyB) and
> whenever sombody from CompanyB create an vacation messages
> and it got send it seems like it coming fr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jesper Langkjær wrote:
> It's an mailaliases. The mail are sent to [EMAIL PROTECTED] and then
> delivered to user2, when the mail(vacation messages) are returned it
> seems like it comes from [EMAIL PROTECTED] and not [EMAIL PROTECTED] as it
> should.
On 2/27/06, Jesper Langkjær <[EMAIL PROTECTED]> wrote:
> You could try>> to "| ( cat - ; echo ''; cat vacation.msg) | $SENDMAIL -f> $RECIPIENT"Hi.I've already tried that, but it still seems like it is comming from CompanyA
try something like
to "|cat - ; echo '' ; cat vacation.msg) | $SENDMA