Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 1st June 2006, 23:09
osanet osanet is offline
Junior Member
 
Join Date: May 2006
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default postfix+mysql and maildrop filter problem

Hi

I have a postfix with mysql and now I have add maildrop , where single user have a own mailfilters.

To test I create a global maildroprc, it's have :

logfile "/var/spool/postfix/maildrop/maildrop.log"
VERBOSE="9"
DOMAIN=$1
USER=$2
DEFAULT="/usr/local/virtual/$DOMAIN/$USER/"
#VHOME="$HOME/$1/$2"
MAILDIR="$DEFAULT"

if ( $SIZE < 26144 )
{
exception {
xfilter "/usr/local/bin/spamassassin"
}
}

if (/.*X-Spam-Flag\: Yes/:h)
{
exception {
to "$MAILDIR/.Spam/"
}
}
else
{
exception {
to "$MAILDIR/"
}
}

and when I have run a maildrop with user maildrop , I get error

maildrop -V 4 -d test@cablenet.one.pl < /var/spool/postfix/maildrop/test
maildrop: authlib: groupid=126
maildrop: authlib: userid=126
maildrop: authlib: logname=test@cablenet.one.pl, home=/usr/local/virtual, mail=cablenet.one.pl/test/
maildrop: Changing to /usr/local/virtual
Message start at 0 bytes, envelope sender=test@cablenet.one.pl
/usr/local/etc/maildroprc(1): Opening logfile /var/spool/postfix/maildrop/maildrop.log
/usr/local/etc/maildroprc(2): VERBOSE="9"
maildrop: Unable to open mailbox.

Why unable to open mailbox? I have a Maildir format

-osanet
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs mholownych HOWTO-Related Questions 10 29th May 2006 04:39
Autoreply problem using Virtual Users And Domains With Postfix, Courier And MySQL triak HOWTO-Related Questions 1 19th May 2006 16:25
Virtual Users And Domains With Postfix, Courier And MySQL: POP/IMAP auto reply todgerme HOWTO-Related Questions 3 11th March 2006 14:53
saslauthd problem ... tmwtp Server Operation 11 16th October 2005 17:50


All times are GMT +2. The time now is 11:03.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.