> 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/maildrop/?maildropfilter.html~patma
tch for vacation messages.

åØåcc $DEFAULT
xfilter "reformail -r -t"
/^To:.*/
getaddr($MATCH) =~ /^.*/;

MATCH=tolower($MATCH)
flock "vacation.lock" {
        `fgrep -iqx "$MATCH" vacation.lst 2>/dev/null || { \
                  echo "$MATCH" >>vacation.lst ; \
                  exit 1 ; \
              } `
}
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 
from CompanyA.

Eg.
1. [EMAIL PROTECTED] make an vacation message
2. [EMAIL PROTECTED] sends an e-mail to [EMAIL PROTECTED]
3. The vacation messages that comes back to [EMAIL PROTECTED] got it from 
[EMAIL PROTECTED]

How can I fix it so that [EMAIL PROTECTED] will get it from [EMAIL PROTECTED] ??

Kind Regards

Jesper Langkjær



-------------------------------------------------------
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&kid0944&bid$1720&dat1642
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to