Current time: 06-16-2024, 11:56 AM Hello There, Guest! (LoginRegister)


Post Reply 
per user server side filtering for virtual users
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: per user server side filtering for virtual users
Yeah - I just found the original thread in archive.org

http://web.archive.org/web/2007062916431...t-676.html

at least the first 10 posts...

You also need the following in main.cf:

Code:
virtual_transport = procmail
procmail_destination_recipient_limit = 1

(replace the actual virtual_transport...)

and a .procmailrc example, well some fragments and trials - I'll post the complete fragments...

Code:
# MAILDIR=$HOME/Maildir/
# DEFAULT=$MAILDIR
#VERBOSE=on
LOGFILE=$HOME/procmail.log

#LOGFILE="/var/log/procmail.log"
VERBOSE=yes

# MAILDIR=$DEFAULT
# FORMAIL=/usr/bin/formail
# SENDMAIL=/usr/sbin/sendmail

:0:
* ^X-Spam-Flag: YES
$DEFAULT.Spam/

This one just does some logging into /var/mail/procmail.log

-> HOME is HOME of user vmail...

You have to try with several variables $DEFAULT and others to get the MAILDIR root...

Would you mind trying this out and writing a howto which can be placed into the howto on this site?
04-14-2008 02:37 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: per user server side filtering for virtual users - joximu - 04-14-2008 02:37 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)