Mark Constable writes:

On 03/10/14 12:30, Sam Varshavchik wrote:
>> ~ grep DEFAULT /etc/courier/courierd (truncated)
>> courierd:DEFAULTDELIVERY="| /usr/bin/maildrop"
>> courierd:MAILDROPDEFAULT=./Maildir
>
> What's courierd doing here? You said that you are running the courier-imap
> package, at the beginning.

Well ubuntu's idea of a split courier-imap package that gets installed
along side of courier-mta et al.

The imap server from the courier package should have the same version as the courier package itself, if it's a proper subpackage.

This looks like the courier-imap package installed into a partial courier package that has its own imap subcomponent stripped out.

> This is probably a packaging issue with different/duplicated packages, using
> different configuration directories.
> ...
> You need to double-check where the Ubuntu package puts things.

All is where Ubuntu/Debian has always put things running as uid:gid 1:1.

Sam, everything is almost working because it would not get this far...

>> Oct  3 11:59:41 netserva authdaemond: Authenticated: sysusername=<null>,
>> sysuserid=1, sysgroupid=1, homedir=/var/customers/mail/,
>> address=ma...@netserva.goldcoast.org, fullname=<null>, maildir=<null>,
>> quota=100000000S, options=<null>

I have never used the MYSQL_MAILDIR_FIELD before and as you can see above
the returned maildir=<null> field is empty. Everything looks right to me
except for the maildir=<null> part which is preventing (I guess) mail being
added to and fetched from the right users maildir.

I am using custom built packages from a Ubuntu PPA and testing this in a
lxc container but I am also running exactly the same packages and distro
on my own public server where it's working okay, but on that server I do
not use MYSQL_MAILDIR_FIELD.

What are you testing, an IMAP login? Although the packaging is a bit odd, it should still work. Your reference to the imap package implied that; but if you're testing mail delivery, the MYSQL_DEFAULTDELIVERY setting takes the place of MYSQL_MAILDIR_FIELD.

Also, try this with authtest.

Attachment: pgpD2NFT2wOyh.pgp
Description: PGP signature

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to