LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   message are getting truncated in the mail (https://www.linuxquestions.org/questions/linux-general-1/message-are-getting-truncated-in-the-mail-463205/)

nileshrg 07-12-2006 02:17 AM

message are getting truncated in the mail
 
Hi,

This is my first post to the forum..

When Entered text which is started with a "."(dot)
The details from next line onwards & the remaining body of a mail message are getting truncated in the mail

In brief any mail body contaning a "." (dot) in the begning of the line truncated the remaning mail..

I use a linux based SMtp server for mailing..

Has any body come accross this issue and has a soultion, please mail me...


Nilesh

unSpawn 07-12-2006 03:05 AM

Hello and welcome to LQ. Hope you like it here.


When Entered text which is started with a "."(dot) The details from next line onwards & the remaining body of a mail message are getting truncated in the mail In brief any mail body contaning a "." (dot) in the begning of the line truncated the remaning mail..
If you speak to the MTA directly (say telnet) a line starting with a dot means end of message. How is the email submitted to the MTA? Can you avoid starting a line with a dot (which isn't logical anyway I think)?


please mail me...
Basic rule: ask a question here, expect answers here.
Don't ask for email. It is not efficient for LQ.

nileshrg 07-12-2006 03:58 AM

hi,

point well taken, will follow, getting use to this forum..
Regarding the problem, will have to do a rely,cannot send directly to MTA, not permitted..

nilesh

unSpawn 07-12-2006 06:00 AM

will have to do a rely,cannot send directly to MTA, not permitted
You mean "relay"? What return code does the sendmail log give?

nileshrg 07-12-2006 09:20 AM

HI,

Sorry for that spelling, bit of heavy work going on, I meant relay..
Well, i tried to debug, but the log says the mail is sent, no exceptions..at all...

the recipient get the message truncated.

unSpawn 07-12-2006 11:25 AM

the recipient get the message truncated.
- Are there any interesting X-headers added that may give a clue?


cannot send directly to MTA, not permitted
- Are you using your ISP's MTA's or are you using an unauthorised relay?


- Can you avoid starting a line with a dot?

Berhanie 07-12-2006 11:49 PM

Is it the mail client that's truncating the mail or the mail server?
Many command-line mail clients (e.g. mailx) can be configured to interpret a lone period as signifying the end
of a message. Check for an option like 'set dot' in the config file.


All times are GMT -5. The time now is 01:14 PM.