#1  
Old 29th August 2010, 17:21
george_yohng george_yohng is offline
Junior Member
 
Join Date: Jun 2010
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default maildrop mailfilers

Hello,

How does maildrop read filters, specified in ISPConfig3? Because I couldn't find where maildrop would access MySQL to read these filters, and ISPConfig3 does not create any /var/vmail/mailfilters/domain.com/user/.mailfilter files upon filter changes.

(creating those files manually, copy/pasting data from ISPConfig filter edit box - seems to work, but this doesn't happen automatically)

The system is OpenSuSE 11.2/11.3 with the automatic scripts to set up a Perfect Server. I wonder how to modify these scripts, so that Maildrop automatically picks up those files, or so that ISPConfig3 generates them?

Thanks,
George.
Reply With Quote
Sponsored Links
  #2  
Old 29th August 2010, 17:30
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,778
Thanks: 821
Thanked 5,334 Times in 4,184 Posts
Default

Maildrop reads the filters from the files that ISPConfig creates, but the latest perfect server guide for ispconfig on opensuse http://www.howtoforge.com/perfect-se...64-ispconfig-3 uses dovecot and not courier. So maildrop is not used in this perfect setup and the directories in /var/vmail/mailfilters are not used too as ispconfig creates files for dovecot deliver inside the maildir.

Not sure what the script you used installs for a setup as we do not test any third party install scripts.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 29th August 2010, 17:35
george_yohng george_yohng is offline
Junior Member
 
Join Date: Jun 2010
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello,

The script is located here, and it is derived from the earlier 'Perfect Server for OpenSUSE 11.2' tutorial:

http://www.howtoforge.com/script-for...ng-ispconfig-3

(Also there is one for 11.3, which is very similar)

Could you please point, where and how does ISPConfig3 create those files for maildrop when used with courier? Because it seems that ISPConfig really does not create any .mailfilter files of this pattern:
/var/vmail/mailfilters/$HOST/$USER/.mailfilter

I have browsed ISPConfig3 sources, but could not understand how and where to enable filter creation.

Thanks,
George.
Reply With Quote
  #4  
Old 29th August 2010, 17:40
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,778
Thanks: 821
Thanked 5,334 Times in 4,184 Posts
Default

ISPConfig is a event and plugin based framework. All mail related plugins are in /usr/local/ispconfig/server/plugins-enables/ and start with mail in the filename.

But looking at the sources will not help you as there are no bugs in these scripts. Instead you should check the settings and ensure that courier is set as mailserver and maildrop as delivery agent in the server config settings in ispconfig. Additionally you can enabled ebugging in ispconfig to see which actions are executed.

http://www.faqforge.com/linux/contro...n-ispconfig-3/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 29th August 2010, 17:42
george_yohng george_yohng is offline
Junior Member
 
Join Date: Jun 2010
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you for the answer.

It appers that maildrop_plugin.inc.php is in plugins-available, but not plugins-enabled.

I will enable this plugin and see, if this helps.
Reply With Quote
  #6  
Old 29th August 2010, 17:45
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,778
Thanks: 821
Thanked 5,334 Times in 4,184 Posts
Default

OK, then the script you used is buggy as this problem is known to happen if a system contains the binaries of dovecot beside courier binaries so that the installer is not able to determine which of the both installed pop3/imap daemons shall be configured and defaults to dovecot then. You will have to check the settings in the server config then too. Better use the perfect server guide the next time if you want to install a server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
adamassasda291 (22nd May 2013)
  #7  
Old 29th August 2010, 17:58
george_yohng george_yohng is offline
Junior Member
 
Join Date: Jun 2010
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello,

I have used a previous version of Perfect Server guide (courier based), but it had many other unfinished issues, and certainly did not mention anything about enabling this plugin.

It could be that the latest Perfect Server tutorial is more up to date.

The script is made by me, which follows the previous Perfect Server tutorial closely, and I will update it to enable this plugin. Thank you very much for pointing to the problem.

Thanks,
George.
Reply With Quote
  #8  
Old 29th August 2010, 18:16
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,778
Thanks: 821
Thanked 5,334 Times in 4,184 Posts
Default

Quote:
and certainly did not mention anything about enabling this plugin.
It is not nescessary to enable it manually when you use the perfect server guide. The main problem is the opensuse package manager yast which does not warn you when you try to install incompatible software for the same service while other package managers like apt will not even let you install incompatible software packages.

Quote:
It could be that the latest Perfect Server tutorial is more up to date.
The other guides were working and complete as well at the time they were written. If they did not work for you, then you might have started with a different base setup or used different package versions. We found out that e.g. some maildrop package versions worked while others with a different version or from a different package mainatiner dont work. That why we switechd to dovecot for opensuse setups as there are no reliable coourier packages available for opensuse.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.

Last edited by till; 29th August 2010 at 18:18.
Reply With Quote
  #9  
Old 29th August 2010, 18:37
george_yohng george_yohng is offline
Junior Member
 
Join Date: Jun 2010
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by till View Post
The other guides were working and complete as well at the time they were written. If they did not work for you, then you might have started with a different base setup or used different package versions. We found out that e.g. some maildrop package versions worked while others with a different version or from a different package mainatiner dont work. That why we switechd to dovecot for opensuse setups as there are no reliable coourier packages available for opensuse.
I see. Thank you for the explanation.
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
All my mail is going to /var/mail/vmail _sluimers_ Installation/Configuration 21 10th January 2011 13:21
Maildrop problem maced0n Installation/Configuration 14 5th May 2010 22:08
maildrop problem zond Installation/Configuration 2 16th July 2009 11:00
Maildrop Postfixadmin create mail directories tecstream HOWTO-Related Questions 9 25th July 2008 12:17
postfix+mysql and maildrop filter problem osanet Installation/Configuration 1 2nd June 2006 11:50


All times are GMT +2. The time now is 12:15.


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