• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

maildrop for mail filtering

P

phrank

Guest
hola,

I'd like to install maildrop for mail filtering. This should run without any issues with qmail and courier imapd.

Unfortunately it doesn't because of the authpsa module. As I've found out, the problem is the following:

When maildrop checks user data it does not ask for the data in /var/qmail/users/poppasswd but in /etc/passwd this leads to wrong username and homedir.

Is the courier imapd version on plesk a patched version or original? If courier does get the correct data, there should be a way to configure and compile maildrop without much effort for use whith plesk.

saludos,

phrank
 
I'm running Plesk at Ubuntu and did the following install:

apt-get install maildrop
but don't install courier-authlib ( it will break your courier-psa install )

get courier-authlib package manualy, and install the binaries manualy to /usr/lib

After that /usr/sbin/maildrop is running fine.

If you want to do per mailbox filtering adjust the .qmail file in /var/qmail/mailnames/<domainname>/<mailname> like:

PHP:
| /usr/bin/maildrop .mailfilter

after that create your own .mailfilter file

mind the UID/GID of .qmail and .mailfilter

PHP:
-rw-------  1 popuser popuser  104 2007-07-02 09:49 .mailfilter
-rw-------  1 popuser popuser   32 2007-07-02 13:03 .qmail
 
Hola,

do I need to install the binaries to

/usr/lib

or

/usr/lib/courier-imap/authlib/

?

And .. do you know, if maildrop only needs them to compile properly, or does it also access them?

Saludo,

phrank
 
I've the library files at /usr/lib/courier-authlib/, but the exact location is not important as long as the library files are within the paths defined in your ldconfig

I didn't compile maildrop by hand, but install the ubuntu packages, probably when you compile it yourself the *.so files are static compiled in your binary ( but i'm not sure about this ), just let the .so files exist within your ldconfig paths, so it will work either way :)
 
Hola,

could you check authdaemonrc for

authmodulelist=
authmodulelistorig=

It does not run on my server :(

Saludo,

phrank
 
I also use maildrop on my system. The rpm is available in my archive in the [atomic] channel. No extra configuration required, just yum install maildrop, and set up your .qmail and .mailfilter files accordingly.
 
phrank,

I don't have a file called authdaemonrc om my system, and I did not make any changes to configfiles or what so ever, but please let me know what OS and Plesk you're using.

If you're running an RPM based linux, follow Atomturtle's sugestions.
 
Hola,

It's already working.:)

It seems that maildrop needs courier authlib only to compile. I do not have to run authdaemond to deliver the mail as wanted.

Gracias!

Saludos,

phrank
 
Back
Top