[vchkpw] Looking for a good mailfilter
Hi foolks! I look for a good mailfilter for my vpopmail. My currently hae a bug with catch-all adresses: import EXT import HOST VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED] if (/^X-Spam-Status: *YES/) { exception { to /var/spool/spam/ } } else { exception { to $VHOME/Maildir/ } } The problem is the following: If someone acitivated CATCH-ALL in qmailadmin and some sends an email to an non-existing account, the email will be dropped from my mailfilter. The var $VHOME is not correct set because the mailadress is not correctly. So I need the target emailadresse, but dont know how to get this. Does someone know what I mean? ;) Have someone a working mailfilter for SA for me, please? I try so much, but I do not found a solution. Viele Gruesse, Peter. -- www: http://peter.tux.hm www: http://tux.hm - Linux- und BSD-UserGroup im Weserbergland gpg: http://blackhole.pca.dfn.de:11371/pks/lookup?op=getsearch=0x690A1AC2
Re: [vchkpw] Looking for a good mailfilter
Hallo Peter, At 14:36 27.04.04 +0200, you wrote: Hi foolks! I look for a good mailfilter for my vpopmail. My currently hae a bug with catch-all adresses: import EXT import HOST VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED] if (/^X-Spam-Status: *YES/) { exception { to /var/spool/spam/ } } else { exception { to $VHOME/Maildir/ } } The problem is the following: If someone acitivated CATCH-ALL in qmailadmin and some sends an email to an non-existing account, the email will be dropped from my mailfilter. The var $VHOME is not correct set because the mailadress is not correctly. So I need the target emailadresse, but dont know how to get this. Schau Dir mal mein QMVC an, dann wirst Du (wahrscheinlich) auf die Lösung kommen. Zwei Fälle: 1. Du nutzt Qmails virtualdomains Machnismus. domain1.com:vdomain1 Emails nach [EMAIL PROTECTED] werden zu [EMAIL PROTECTED]. Im qmail-local Environment (was Du abfragst) gilt dann folgendes: [EMAIL PROTECTED] LOCAL=vdomain1-user HOST=domain1.com USER=vdomain1 EXT=user EXT2=user-IRGENDWAS etc. 2. Setzt Du zugleich den qmail-users Mechanismus ein, wird USER=- user per qmail-newu Mit einem Shell-Kniff, der in meinem QMVC beschrieben ist, kannst du den PREPEND loswerden. mfg. --eh. Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/ Wiener Weg 8, 50858 Cologne | T: +49 221 484 4923 | F: ...24
Re: [vchkpw] Looking for a good mailfilter
Hi Erwin! The problem is I have catch-all-accounts and the mailfilter do not know the catch-all-account, so the email get dropped. I show over your programm, but dont know if I understand everything Viele Gruesse, Peter. ;) -- www: http://peter.tux.hm www: http://tux.hm - Linux- und BSD-UserGroup im Weserbergland gpg: http://blackhole.pca.dfn.de:11371/pks/lookup?op=getsearch=0x690A1AC2
Re: [vchkpw] Looking for a good mailfilter
On Tuesday 27 April 2004 08:41 am, [EMAIL PROTECTED] wrote: Hi Erwin! The problem is I have catch-all-accounts and the mailfilter do not know the catch-all-account, so the email get dropped. so tell it what the catchall account is. I show over your programm, but dont know if I understand everything Shall we guess what you don't understand? -Jeremy -- Jeremy Kitchen Systems Administrator [EMAIL PROTECTED] Kitchen @ #qmail on EFNet - Join the party! . Inter7 Internet Technologies, Inc. www.inter7.com 866.528.3530 toll free 847.492.0470 int'l 847.492.0632 fax GNUPG key ID: 93BDD6CE