
29th August 2010, 17:21
|
|
Junior Member
|
|
Join Date: Jun 2010
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

29th August 2010, 17:30
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,885
Thanks: 691
Thanked 4,188 Times in 3,205 Posts
|
|
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.
|

29th August 2010, 17:35
|
|
Junior Member
|
|
Join Date: Jun 2010
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

29th August 2010, 17:40
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,885
Thanks: 691
Thanked 4,188 Times in 3,205 Posts
|
|
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/
|

29th August 2010, 17:42
|
|
Junior Member
|
|
Join Date: Jun 2010
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

29th August 2010, 17:45
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,885
Thanks: 691
Thanked 4,188 Times in 3,205 Posts
|
|
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.
|

29th August 2010, 17:58
|
|
Junior Member
|
|
Join Date: Jun 2010
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

29th August 2010, 18:16
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,885
Thanks: 691
Thanked 4,188 Times in 3,205 Posts
|
|
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.
Last edited by till; 29th August 2010 at 18:18.
|

29th August 2010, 18:37
|
|
Junior Member
|
|
Join Date: Jun 2010
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by till
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.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 10:14.
|
Recent comments
7 hours 50 min ago
12 hours 49 min ago
14 hours 15 min ago
15 hours 8 min ago
16 hours 51 min ago
21 hours 14 min ago
22 hours 6 min ago
1 day 20 min ago
1 day 13 hours ago
1 day 15 hours ago