2 messages in net.sourceforge.lists.courier-maildrop[maildropl] problem with maildrop+pos...
FromSent OnAttachments
Thierry BDec 20, 2004 1:32 am 
Tony EarnshawDec 20, 2004 7:11 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] problem with maildrop+postfixActions...
From:Thierry B (deb@bouhnik.biz)
Date:Dec 20, 2004 1:32:39 am
List:net.sourceforge.lists.courier-maildrop

Hello,

I'd like to use maildrop so that when I receive a mail for thie@linux.thierry.eu.org (which is a virtual mailbox), it's copied to thbo@free.fr

I try that in /etc/maildroprc

if ( $SIZE < 26144 ) { exception { xfilter "/usr/bin/spamassassin --prefspath=$HOME/$DEFAULT/.spamassassin/user_prefs" } }

if (/^X-Spam-Flag: *YES/) { exception { to "$HOME/$DEFAULT/.Spam/" } } if (/^To: te@linux.thierry.eu.org/) { exception { to "$HOME/$DEFAULT/.Teil/" } } else { exception { cc "!thbo@free.fr" to "$HOME/$DEFAULT" } }

but I have this error in the logs;

Dec 20 02:29:03 thierry postfix/postfix-script: stopping the Postfix mail system Dec 20 02:29:03 thierry postfix/master[5671]: terminating on signal 15 Dec 20 02:29:04 thierry postfix/postfix-script: starting the Postfix mail system Dec 20 02:29:04 thierry postfix/master[5805]: daemon started -- version 2.1.5 Dec 20 02:29:40 thierry postfix/smtpd[5813]: connect from serveur[192.168.0.3] Dec 20 02:29:40 thierry postfix/smtpd[5813]: EB54B92BB1: client=serveur[192.168.0.3] Dec 20 02:29:40 thierry postfix/cleanup[5819]: EB54B92BB1: message-id=<41C6@bouhnik.biz> Dec 20 02:29:40 thierry postfix/qmgr[5809]: EB54B92BB1: from=<thie@bouhnik.biz>, size=1193, nrcpt=1 (queue active) Dec 20 02:29:40 thierry postfix/smtpd[5813]: disconnect from serveur[192.168.0.3] Dec 20 02:29:41 thierry postfix/smtpd[5821]: connect from localhost[127.0.0.1] Dec 20 02:29:41 thierry postfix/smtpd[5821]: 1756192BB2: client=localhost[127.0.0.1] Dec 20 02:29:41 thierry postfix/cleanup[5819]: 1756192BB2: message-id=<41C6@bouhnik.biz> Dec 20 02:29:41 thierry postfix/qmgr[5809]: 1756192BB2: from=<thie@bouhnik.biz>, size=1645, nrcpt=1 (queue active) Dec 20 02:29:41 thierry amavis[4577]: (04577-02) Passed, <thie@bouhnik.biz> -> <thie@linux.thierry.eu.org>, Message-ID: <41C6@bouhnik.biz>, Hits: - Dec 20 02:29:41 thierry postfix/lmtp[5820]: EB54B92BB1: to=<thie@linux.thierry.eu.org>, relay=127.0.0.1[127.0.0.1], delay=1, status=sent (250 2.6.0 Ok, id=04577-02, from MTA: 250 Ok: queued as 1756192BB2) Dec 20 02:29:41 thierry postfix/smtpd[5821]: disconnect from localhost[127.0.0.1] Dec 20 02:29:41 thierry postfix/qmgr[5809]: EB54B92BB1: removed Dec 20 02:29:42 thierry postfix/pickup[5808]: E711692BB3: uid=1005 from=<vmail> Dec 20 02:29:42 thierry postfix/cleanup[5819]: E711692BB3: message-id=<41C6@bouhnik.biz> Dec 20 02:29:42 thierry postfix/qmgr[5809]: E711692BB3: from=<vmail@debian.debian>, size=1809, nrcpt=1 (queue active) Dec 20 02:29:42 thierry postfix/pipe[5823]: 1756192BB2: to=<thie@linux.thierry.eu.org>, relay=maildrop, delay=1, status=sent (linux.thierry.eu.org) Dec 20 02:29:42 thierry postfix/qmgr[5809]: 1756192BB2: removed Dec 20 02:29:43 thierry postfix/smtpd[5821]: connect from localhost[127.0.0.1] Dec 20 02:29:43 thierry postfix/smtpd[5821]: 0783792BB1: client=localhost[127.0.0.1] Dec 20 02:29:43 thierry postfix/cleanup[5819]: 0783792BB1: message-id=<41C6@bouhnik.biz> Dec 20 02:29:43 thierry postfix/qmgr[5809]: 0783792BB1: from=<vmail@debian.debian>, size=2241, nrcpt=1 (queue active) Dec 20 02:29:43 thierry postfix/smtpd[5821]: disconnect from localhost[127.0.0.1] Dec 20 02:29:43 thierry amavis[4577]: (04577-02-2) Passed, <vmail@debian.debian> -> <thbo@free.fr>, Message-ID: <41C6@bouhnik.biz>, Hits: - Dec 20 02:29:43 thierry postfix/lmtp[5820]: E711692BB3: to=<thbo@free.fr>, relay=127.0.0.1[127.0.0.1], delay=1, status=sent (250 2.6.0 Ok, id=04577-02-2, from MTA: 250 Ok: queued as 0783792BB1) Dec 20 02:29:43 thierry postfix/qmgr[5809]: E711692BB3: removed Dec 20 02:29:43 thierry postfix/smtp[5829]: 0783792BB1: to=<thbo@free.fr>, relay=mx.free.fr[212.27.42.22], delay=0, status=bounced (host mx.free.fr[212.27.42.22] said: 553 sorry, your envelope sender domain must exist (#5.7.1) (in reply to MAIL FROM command)) Dec 20 02:29:43 thierry postfix/cleanup[5819]: EB8C892BB2: message-id=<20041220012943.EB8C892BB2@debian> Dec 20 02:29:43 thierry postfix/qmgr[5809]: EB8C892BB2: from=<>, size=3998, nrcpt=1 (queue active) Dec 20 02:29:43 thierry postfix/qmgr[5809]: 0783792BB1: removed Dec 20 02:29:44 thierry postfix/smtp[5831]: EB8C892BB2: to=<vmail@debian.debian>, relay=none, delay=1, status=bounced ([debian.debian]: Name or service not known) Dec 20 02:29:44 thierry postfix/qmgr[5809]: EB8C892BB2: removed Dec 20 02:34:34 thierry imaplogin: DISCONNECTED, user=thie@linux.thierry.eu.org, ip=[::ffff:127.0.0.1], headers=0, body=0, time=557 Dec 20 02:34:34 thierry imaplogin: DISCONNECTED, user=thie@linux.thierry.eu.org, ip=[::ffff:127.0.0.1], headers=0, body=0, time=581 Dec 20 02:34:34 thierry imaplogin: DISCONNECTED, user=thie@linux.thierry.eu.org, ip=[::ffff:127.0.0.1], headers=223, body=8210, time=580

I don't know how to tell maildrop to use the same from (thie@bouhnik.biz in my exemple).

This is my line of maildrop in my master.cf (postfix)

# maildrop. See the Postfix MAILDROP_README file for details. maildrop unix - n n - - pipe flags=R user=vmail argv=/usr/local/bin/maildrop -d ${recipient}

Thanks. bye