Hello,
I am using Postfix+Squirrelmail+OpenLDAP+Courier-IMAP and Spamassassin setup all domains on this server are virtual and whenever we receive spam mail Spamassassin detects that as spam and adds ******SPAM****** in the subject line as i have configured and send mail to recipient. now I want to all spam mails which are marked YES by Spamassassin while mail filtering as spam should go to the "Spam" folder under /home/vmail/domains/virtualdomain/user/.Spam ( /home/vmail/domains/virtualdomain/user/Maildir/.Spam -- path depends upon the setup ) as per my information we have to use maildrop to do all filtering, then i can use .mailfilter file to filter every mail whether it is for local or virtual domain so i installed maildrop from source by passing neccessary parameter to it like LDAP support etc. as per the documentation and configured maildrop in /etc/postfix/master.cf (even i tried mailbox_command = /usr/local/maildrop/bin/maildrop still same error) and reloaded postfix but after that i am getting following error
"relay=maildrop, delay=0, status=bounced (user unknown. Command B> output: Invalid user specified. )"
all virtual users are working perfect if i dont use maildrop as a MDA.
I can also add that the error is "Invalid user specified." if I run "maildrop -d virtualdomain.com" as a root account virtualdomain.com is in Base exists. May be maildrop not interacting with LDAP to get the user information or IMAP is not getting either.
I want to get maildrop working for moving spam mails to .Spam folder.
My current setup is as follows :
Fedora core 1
Postfix postfix-2.0.19.tar.gz Courier-IMAP - courier-imap-3.0.2-1.1 Squirrelmail - squirrelmail-1.4.2-1 OpenLDAP - openldap-2.1.22-8 Maildrop
I highly appriciate if someone could beam up light on this.
Thanks in Advance
Regards,
Mike Anderson
_____________________________________________________________ Linux.Net -->Open Source to everyone Powered by Linare Corporation http://www.linare.com/