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" [EMAIL PROTECTED] > echo -n "This is lost" | mail -s "Test without newline" [EMAIL PROTECTED] > > 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
signature.asc
Description: OpenPGP digital signature