Re: [maildropl] option -f of maildrop
Brought to you by:
mrsam
From: Thierry B <de...@bo...> - 2004-12-22 15:56:24
|
Re, in my file var, I've that: thierry:/home/thierry# cat /tmp/vars FROM=th...@bo... LOGNAME=th...@li... So it's good, but when I look my mail log, I've that: Dec 22 16:49:50 thierry postfix/postfix-script: stopping the Postfix mail system Dec 22 16:49:50 thierry postfix/master[5028]: terminating on signal 15 Dec 22 16:49:52 thierry postfix/postfix-script: starting the Postfix mail system Dec 22 16:49:52 thierry postfix/master[5623]: daemon started -- version 2.1.5 Dec 22 16:50:29 thierry postfix/smtpd[5646]: connect from serveur[192.168.0.3] Dec 22 16:50:29 thierry postfix/smtpd[5646]: 71AD992EA0: client=serveur[192.168.0.3] Dec 22 16:50:29 thierry postfix/cleanup[5652]: 71AD992EA0: message-id=<41C...@bo...> Dec 22 16:50:29 thierry postfix/qmgr[5628]: 71AD992EA0: from=<th...@bo...>, size=1197, nrcpt=1 (queue active) Dec 22 16:50:29 thierry postfix/smtpd[5646]: disconnect from serveur[192.168.0.3] Dec 22 16:50:30 thierry postfix/smtpd[5656]: connect from localhost[127.0.0.1] Dec 22 16:50:30 thierry postfix/smtpd[5656]: 2C45E92EA1: client=localhost[127.0.0.1] Dec 22 16:50:30 thierry postfix/cleanup[5652]: 2C45E92EA1: message-id=<41C...@bo...> Dec 22 16:50:30 thierry postfix/smtpd[5656]: disconnect from localhost[127.0.0.1] Dec 22 16:50:30 thierry amavis[4743]: (04743-01) Passed, <th...@bo...> -> <th...@li...>, Message-ID: <41C...@bo...>, Hits: - Dec 22 16:50:30 thierry postfix/qmgr[5628]: 2C45E92EA1: from=<th...@bo...>, size=1649, nrcpt=1 (queue active) Dec 22 16:50:30 thierry postfix/lmtp[5653]: 71AD992EA0: to=<th...@li...>, relay=127.0.0.1[127.0.0.1], delay=1, status=sent (250 2.6.0 Ok, id=04743-01, from MTA: 250 Ok: queued as 2C45E92EA1) Dec 22 16:50:30 thierry postfix/qmgr[5628]: 71AD992EA0: removed Dec 22 16:50:34 thierry postfix/pickup[5627]: 8E63592ECC: uid=1005 from=<vmail> Dec 22 16:50:34 thierry postfix/cleanup[5652]: 8E63592ECC: message-id=<41C...@bo...> Dec 22 16:50:34 thierry postfix/qmgr[5628]: 8E63592ECC: from=<vm...@de...bian>, size=1795, nrcpt=1 (queue active) Dec 22 16:50:34 thierry postfix/pipe[5658]: 2C45E92EA1: to=<th...@li...>, relay=maildrop, delay=4, status=sent (linux.thierry.eu.org) Dec 22 16:50:34 thierry postfix/qmgr[5628]: 2C45E92EA1: removed Dec 22 16:50:34 thierry postfix/smtpd[5656]: connect from localhost[127.0.0.1] Dec 22 16:50:34 thierry postfix/smtpd[5656]: CA53692EA0: client=localhost[127.0.0.1] Dec 22 16:50:34 thierry postfix/cleanup[5652]: CA53692EA0: message-id=<41C...@bo...> Dec 22 16:50:34 thierry postfix/qmgr[5628]: CA53692EA0: from=<vm...@de...bian>, size=2227, nrcpt=1 (queue active) Dec 22 16:50:34 thierry postfix/smtpd[5656]: disconnect from localhost[127.0.0.1] Dec 22 16:50:34 thierry amavis[4743]: (04743-01-2) Passed, <vm...@de...bian> -> <thb...@fr...>, Message-ID: <41C...@bo...>, Hits: - Dec 22 16:50:34 thierry postfix/lmtp[5653]: 8E63592ECC: to=<thb...@fr...>, relay=127.0.0.1[127.0.0.1], delay=0, status=sent (250 2.6.0 Ok, id=04743-01-2, from MTA: 250 Ok: queued as CA53692EA0) Dec 22 16:50:34 thierry postfix/qmgr[5628]: 8E63592ECC: removed Dec 22 16:50:37 thierry imaplogin: Connection, ip=[::ffff:127.0.0.1] Dec 22 16:50:37 thierry imaplogin: LOGIN, user=th...@li..., ip=[::ffff:127.0.0.1], protocol=IMAP Dec 22 16:50:58 thierry postfix/smtp[5666]: CA53692EA0: to=<thb...@fr...>, relay=mx.free.fr[212.27.42.22], delay=24, 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 22 16:50:58 thierry postfix/cleanup[5652]: E97A992EA1: message-id=<20041222155058.E97A992EA1@debian> Dec 22 16:50:58 thierry postfix/qmgr[5628]: E97A992EA1: from=<>, size=3984, nrcpt=1 (queue active) Dec 22 16:50:58 thierry postfix/qmgr[5628]: CA53692EA0: removed Dec 22 16:51:04 thierry postfix/smtp[5676]: E97A992EA1: to=<vm...@de...bian>, relay=none, delay=6, status=bounced ([debian.debian]: Name or service not known) Dec 22 16:51:04 thierry postfix/qmgr[5628]: E97A992EA1: removed We remark that he uses the from:vm...@de...bian to send mail to thb...@fr... This is my /etc/maildroprc: `echo FROM=$FROM > /tmp/vars` `echo LOGNAME=$LOGNAME >> /tmp/vars` 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...@li.../) { exception { to "$HOME/$DEFAULT/.Teil/" } } else { exception { cc "!thb...@fr..." to "$HOME/$DEFAULT" } } So i'd like that he uses the good from (which is in tha variable from), to make "cc !thb...@fr...", and I don't understand why he's got the good variable from but it tries to send mail with a local domain of my postfix. Thanks Bye. -----Original Message----- From: Chris Holleman <ch...@is...> To: cou...@li... Date: Wed, 22 Dec 2004 10:32:53 +0100 Subject: Re: [maildropl] option -f of maildrop > On Tue, Dec 21, 2004 at 07:11:41PM +0100, Thierry B wrote: > > Hello, > > I see in the documentation of Maildrop, that I can put in master.cf > of > > postfix, in the syntax of maildrop, -f address, with address is the > > address of sender. > > > > But it doesn't works in my config. > > i would be handy if you showed the config..... > > > > And I read that the option -f could be desactivated, so I ask how can > I > > verify that this optio is enable? > > > > I compiled maildrop myself. > > > I don't know exactly what you mean but do you have something like > > maildrop unix - n n - 500 pipe > flags=Ru user=vmail argv=/usr/local/maildrop/bin/maildrop -d > ${recipient} > -f ${sender} > > in your master.cf ? > > if so try > > `echo FROM=$FROM > /tmp/vars` > `echo LOGNAME=$LOGNAME >> /tmp/vars` > > in a mailfilter file and send an email, after that check /tmp/vars > > > > > > Thanks. > > Bye > > > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real > users. > > Discover which products truly live up to the hype. Start reading now. > > http://productguide.itmanagersjournal.com/ > > _______________________________________________ > > Courier-maildrop mailing list > > Cou...@li... > > https://lists.sourceforge.net/lists/listinfo/courier-maildrop > > -- > Met vriendelijke groeten/kind regards, > > Chris Holleman > > |