atom feed7 messages in net.sourceforge.lists.courier-users[courier-users] Vacation and virtual ...
FromSent OnAttachments
Jesper LangkjærFeb 23, 2006 11:12 pm 
Larry MooreFeb 24, 2006 1:03 am 
Jesper LangkjærFeb 26, 2006 11:13 pm 
Jeff JansenFeb 27, 2006 5:26 am 
Jesper LangkjærFeb 27, 2006 11:45 pm 
Jeff JansenFeb 28, 2006 2:27 am 
Bryan IrvineJun 22, 2006 12:51 pm 
Subject:[courier-users] Vacation and virtual mailboxes
From:Jesper Langkjær (jl@MINISOFT.DK)
Date:Feb 23, 2006 11:12:02 pm
List:net.sourceforge.lists.courier-users

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.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. user1@companyB make an vacation message 2. sombody@somwhere sends an e-mail to user1@companyB 3. The vacation messages that comes back to sombody@somewhere got it from
user1@companyA

How can I fix it so that sombody@somewhere will get it from user1@companyB ??

Kind Regards