Bug#344045: [Pkg-Cyrus-imapd-Debian-devel] Bug#344045: cyrus21-common: non \n terminated lines at end of mail will be lost invoking "mail -s xyz user@host"

Sven Mueller debian at incase.de
Fri Dec 23 17:20:22 UTC 2005


Leif Jakob wrote on 19/12/2005 17:00:

> We switched from sendmail/procmail to sendmail/cyrus:
> 
> The problem is, that eMails generated by nagios end with 
> -- cut here--
> ..
> Additional Info:
> [Missing line that was here before the switch]
> -- cut here--
> 
> I did not track the problem down but in the /var/spool/cyrus/ mailbox
> the missing lines are not present. To reproduce the problem call:
> 
> echo    "This works"   | mail -s "Test with newline"    user at host
> echo -n "This is lost" | mail -s "Test without newline" user at host
> 
> I'll change the command in /etc/nagios/misccommands.cfg to always
> append a \n but to silently drop lines is a bug IMHO.

I don't see how cyrus could be the one dropping that line. Both SMTP and
LMTP require the transfered mail to end in a \n.\n combination (a dot on
its own line). Or aren't you delivering the mails to cyrus by LMTP and
use some (weird) other setup with cyrdeliver or the like? If so:
cyrdeliver really isn't intended to be used that way. It's for internal
use and some administration tricks, but LMTP really is the intended way
to use to deliver mails to cyrus normally.

cu, sven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 186 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-cyrus-imapd-debian-devel/attachments/20051223/7b499df9/signature-0001.pgp


More information about the Pkg-Cyrus-imapd-Debian-devel mailing list