[tpop3d-discuss]Segv when a maildir mailbox doesnt exist
Kevin Bonner
keb at pa.net
Tue, 27 Jul 2004 14:22:24 -0400
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 27 July 2004 12:44, Simon Loader wrote:
> For simplicity we dont create a mailbox when a user does not exist.
> Older versions of tpop3d always didnt care 1.5.3 does.
Do you have maildir-exclusive-lock enabled in your config? This is what=20
causes the lock and unlock stuff to be called.
If you want an exclusive lock for maildirs, I'd just modify the maildir_unl=
ock=20
functions to return if dirname =3D=3D NULL. Adding a similar check to=20
maildir_lock to return 0 is probably desirable as well. Much nicer, IMO,=20
than surrounding all lines in a function with an if statement.
Kevin Bonner
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBBp1k/9i/ml3OBYMRAhV0AJ9lrV+ffl+07sifuHAPLB8KjlLb+gCgjjoz
PtUs6hpTL6sRynxbnfaRmHQ=3D
=3Dz1SH
=2D----END PGP SIGNATURE-----