Hi Tim , In the first place i would like to be thankful for yours answers.
On Wed, 2003-10-22 at 04:52, Tim Legant wrote: > Wow. There's so much unusual and non-standard here that I'm not sure > where to begin! First, I hope your delivery program is 'vdelivermail' > and not 'vchkpw'. Even then, I'm not sure it will work. Sorry it was vdelivermail and not vchkpw . =) > Moving on, I'll assume that procmail is actually sending mail to > stdout when you use the -m switch. I've never used it this way. > > The 'preline' program adds the Delivered-To: and Return-Path: fields > to the header. I'm pretty certain procmail doesn't strip them, so it > looks like you're adding them twice (you call preline twice). > > Since this is .qmail-default, it looks like every user in your virtual > domain has exactly the same configuration, specified in .tmda/config. > Is that what you want? My configuration file is the same to all users and it is placed in /var/vpopmail/domains/domain.com/.tmda/config yes is that i want =) > Why not just call tmda-filter at the end of your procmailrc? Don't > use the -m switch. You *will* have to use the -p switch and you will > have to specify the /usr/local/etc/procmailrc file. If you used > $HOME/.procmailrc ($HOME in vpopmail is the domain directory, not the > individual users' directories), you wouldn't need to specify any *rc > files on the command line. I've tried to do this but the bounce messages don't work (invalid mailbox) because vdelivermail doesn't reply to the sender . why ? i don't know =) > vpopmail has to be compiled to understand qmail extension addresses > (the --enable-qmail-ext=y parameter must be given to configure). I'm not sure about this in my compilation , I'll check it and be sure if this propertie is in the default configure script call . > Finally, what does your procmailrc do? If it delivers any mail > without using the 'c' flag on the recipe, procmail quits, which means > that an only the output of preline gets piped to tmda-filter. I have > no idea what tmda-filter does with a message consisting only of a > Return-Path line and a Delivered-To line. My procmail filter some attachement extensions like .exe and .pif , but it have another rules for X-Spam-Status for example and in the last statament is DEFAULT variable point to | . > Anyhow, I hope that gives you a start. More information on calling > tmda-filter from procmail can be found in point three in the Exim > and Postfix section of this page: > > http://tmda.net/config-server.html#exim-postfix > > > Tim > > _____________________________________________ > tmda-users mailing list ([EMAIL PROTECTED]) > http://tmda.net/lists/listinfo/tmda-users > Thanks a lot Tim and your answars give a lot of help ! Rodrigo Vaz _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
