Greetings all,

I've discovered an anomaly with delivery isntructions procured from a
mysql table's defaultdelivery column.

Under normal conditions this has been working fine.  However, recently I
have tried to combine multiple instructions, on two lines, as one might
do in a .courier-default file.  I've discovered that this fails to work,
apparently because something is parsing the line-separators incorrectly.

With something like this:

./Maildir
[EMAIL PROTECTED]

in a .courier-default file, delivery works as expected... the maildir
gets a copy, and a copy is also forwarded to [EMAIL PROTECTED]  However, with
the same in the mysql table, what's happening is that courier is
delivering to an mbox file named "Maildir\r" (where \r represents a
literal CR in the filename), and [EMAIL PROTECTED] is not getting any delivery.
 (similarly, if I reverse the order of those lines, the forwarding
address does get the mail, but the maildir/mbox never gets a delivery.)

This was a bit of an irritating surprise, since I just noticed a few
weeks' worth of mail for one client queued up in the weirdly-named mbox
file.  And of course the other recipient was not receiving any of it
either, so far as I can tell.

So the question: how do I fix this?  Is it a configuration problem on my
end (mysql settings of some sort?) or is it a bug?

In the interim, I've moved the delivery instructions into a .courier-
default which is working fine.  However, I would like to centralize
everything in the mysql table since it otherwise is working fine with
single-line delivery instructions.

-ben

-- 
Ben Kennedy, chief magician
zygoat creative technical services
613-228-3392 | 1-866-466-4628
http://www.zygoat.ca




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to