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_p...@$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 = ! ^.*-requ...@.*:\
        ! ^bounce...@.*:\
        ! ^.*-bou...@.*:\
        ! ^owner...@.*:\
        ! ^postmas...@.*:\
        ! ^webmas...@.*:\
        ! ^listmas...@.*:\
        ! ^mailer-dae...@.*:\
        ! ^r...@.*

    no_expn
    transport = uservacation_transport
    unseen
    no_verify
</quote>

How can I fix this?

--
Kind Regards
Andrew McGlashan


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

Reply via email to