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.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st June 2006, 22: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
  #2  
Old 2nd June 2006, 11:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Does the Maildir have the right permissions and owner?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

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 03:39
Autoreply problem using Virtual Users And Domains With Postfix, Courier And MySQL triak HOWTO-Related Questions 1 19th May 2006 15:25
Virtual Users And Domains With Postfix, Courier And MySQL: POP/IMAP auto reply todgerme HOWTO-Related Questions 3 11th March 2006 13:53
saslauthd problem ... tmwtp Server Operation 11 16th October 2005 16:50


All times are GMT +2. The time now is 14:57.


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