ok i have checked thoroughly and this is what i found up till now three kinds of emails are showing this error:
1. read receipt sent by outlook (smtp in outlook is local AMS address) - whenever one of my users click yes on sending a read receipt to the sender (outside) the ini file of that email has empty from line - the corresponding message file in the outmail folder has the correct and intact from line.
2. warning email generated by AMS itself - this email was sent to the local sender telling them about failure. By policy an outside recipient is added to all incoming emails execpt pop3 for backup. So this forward has the from line empty - the corresponding message file in the outmail folder has the correct and intact from line. (example
postmaster@mydomain.com sent warning to
user@mydomain.com, now as per policy recipient
user@gmail.com is added to all incoming emails except pop3 of
user@mydomain.com. In the outmail the mail to
user@gmail.com from
postmaster@mydomain.com is stuck with from line empty in the ini file)
3. Mailing list messages generated by AMS (for non local recipients)