FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 12-31-2009, 04:13 PM
Andrew McGlashan
 
Default exim4 vacation message issues

Hi,

I am wanting to NOT send vacation messages for some emails that have
particular text in the subject header line, but I can't get it to work
as desired.


Here is my router configuration attempt, which doesn't work.

<quote>
VACATION_CONDTION = ${if $h_Subject: contains "do not send vacation
message" {no}{yes}}


uservacation:

debug_print = "R: uservacation for $local_part@$domain"
check_local_user
driver = accept
domains = +local_domains
require_files = $local_part:$home/.vacation

condition = VACATION_CONDITION

# do not reply to errors or bounces or lists
senders = ! ^.*-request@.*:
! ^bounce-.*@.*:
! ^.*-bounce@.*:
! ^owner-.*@.*:
! ^postmaster@.*:
! ^webmaster@.*:
! ^listmaster@.*:
! ^mailer-daemon@.*:
! ^root@.*

no_expn
transport = uservacation_transport
unseen
no_verify
</quote>

How can I fix this?

--
Kind Regards
Andrew McGlashan


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 12-31-2009, 06:52 PM
Chris Davies
 
Default exim4 vacation message issues

Andrew McGlashan <andrew.mcglashan@affinityvision.com.au> wrote:
> VACATION_CONDTION = ${if $h_Subject: contains "do not send vacation
> message" {no}{yes}}

> condition = VACATION_CONDITION

These are not the same variable.
Chris


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 12-31-2009, 11:51 PM
Andrew McGlashan
 
Default exim4 vacation message issues

Hi Chris,

Chris Davies wrote:

Andrew McGlashan <andrew.mcglashan@affinityvision.com.au> wrote:
VACATION_CONDTION = ${if $h_Subject: contains "do not send vacation
message" {no}{yes}}



condition = VACATION_CONDITION


These are not the same variable.


Okay, thanks, it was late when I made that error -- but I've fixed the
typo now and it still doesn't give the desired results.


--
Kind Regards
AndrewM

Andrew McGlashan
Broadband Solutions now including VoIP


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 04:18 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org