7 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Vacation and virt...
FromSent OnAttachments
Jesper LangkjærFeb 23, 2006 11:11 pm 
Larry MooreFeb 24, 2006 1:02 am 
Jesper LangkjærFeb 26, 2006 11:12 pm 
Jeff JansenFeb 27, 2006 5:25 am 
Jesper LangkjærFeb 27, 2006 11:44 pm 
Jeff JansenFeb 28, 2006 2:26 am 
Bryan IrvineJun 22, 2006 12:51 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Vacation and virtual mailboxesActions...
From:Larry Moore (lmo@starwon.com.au)
Date:Feb 24, 2006 1:02:40 am
List:net.sourceforge.lists.courier-users

You could try

to "| ( cat - ; echo ''; cat vacation.msg) | $SENDMAIL -f $RECIPIENT"

Sorry for the top posting!

Larry.

----- Original Message ----- From: "Jesper Langkjær" <jl@MINISOFT.DK> To: <cour@lists.sourceforge.net> Sent: Friday, February 24, 2006 3:11 PM Subject: [courier-users] 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.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