3 messages in net.sourceforge.lists.courier-maildrop[maildropl] autoresponderfunction onl...
FromSent OnAttachments
Alexander BrunsJan 7, 2002 7:32 am 
Sam VarshavchikJan 7, 2002 2:41 pm 
Alexander BrunsJan 8, 2002 1:54 am 
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:[maildropl] autoresponderfunction only with sendmail -tActions...
From:Alexander Bruns (abr@ftk.de)
Date:Jan 7, 2002 7:32:42 am
List:net.sourceforge.lists.courier-maildrop

Hi,

I figured out, why the autoresponder-function, managed by sqwebmail with maildrop, did not work right at our side.

Sqwebmail writes the follwoing file:

/home/abrunstest/.mailfilter

########## >8 Schnipp >8 ########## #MFMAILDROP=2 # # DO NOT EDIT THIS FILE. This is an automatically generated filter.

FROM='abru@ftk.de'

##Op:contains ##Header:To ##Value:abrunstest ##Folder:+test1 ##From: ##PlainString ##Name:test1

if ((/^To:.*abrunstest/)) { AUTOREPLYFROM=$FROM `/usr/bin/mailbot -A "X-Sender: $FROM" -A "From: $AUTOREPLYFROM" -m "/home/abrunstest/Maildir/autoresponses/test1" $SENDMAIL -f ""` }

to "/home/abrunstest/Maildir/." ########## >8 Schnapp >8 ##########

but by changing the line

########## >8 Schnipp >8 ########## `/usr/bin/mailbot -A "X-Sender: $FROM" -A "From: $AUTOREPLYFROM" -m "/home/abrunstest/Maildir/autoresponses/test1" $SENDMAIL -f ""` ########## >8 Schnapp >8 ##########

to

########## >8 Schnipp >8 ########## `/usr/bin/mailbot -A "X-Sender: $FROM" -A "From: $AUTOREPLYFROM" -m "/home/abrunstest/Maildir/autoresponses/test1" $SENDMAIL -t ` ########## >8 Schnapp >8 ##########

the autoresponse comes back to the sender!

with the option: -f ""

the following is put in the /var/log/qmail/log:

1010416757.851994 new msg 1327154 1010416757.852006 info msg 1327154: bytes 413 from <abru@mail.ftk.de> qp 6344 uid 4039 1010416757.853766 starting delivery 92248: msg 1327154 to local @mail.ftk.de

whith the option: -t

it works.

Why? Whats wrong? What do I have to change in my sqwebmail, maildrop installation, to automate the '-t'-option instead of the '-f ""'-option ?