Re: email subject length issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




> Date: Wednesday, April 12, 2017 15:48:06 -0400
> From: Jerry Geis <jerry.geis@xxxxxxxxx>
>
> So I am using sendmail on C7.
> 
> I added to the .procmailrc file VERBOSE and a log file.
> 
> procmail: Assigning "SUBJECT= Tornado Monday, 03/27/2017 at
> 20:27:02. The Point BB.OBSURGRH is"
> 
> This command:
> echo "" | mail -s "Tornado Monday, 03/27/2017 at 20:27:02. The Point
> BB.OBSURGRH is in Alarm at PRI3 with a value of 63.4
> %.Informational Text: OB SURGERY HUMIDITY ALARM" email_test
> 
> With email_test being a local account... clearly my subject is
> truncated. Is there a way to expand that?
> 

A "Subject:" line is just a structured text line in the message body
and MTAs (e.g., sendmail) don't do anything differently with it than
any other line in a message body. The max length is 998 "characters".

I suspect that your MUA or more likely procmail is where the
truncation is taking place. I just did:

   /bin/mailx -s"... 200+ character subject ..."

on a C6/sendmail machine and it worked fine.


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux