On 2013-12-15 22:12, Rainer Gerhards wrote:

I guess its simply currently not possible :-(

If you add a bug, i think i can check after the holiday break.


I have found following patch:

- CHKiRet(Send(pData->md.smtp.sock, (char*)glbl.GetLocalHostName(), strlen((char*)glbl.GetLocalHostName()))); + CHKiRet(Send(pData->md.smtp.sock, (char*)glbl.GetLocalFQDNName(), strlen((char*)glbl.GetLocalFQDNName())));

I have applied it, but the problem stays exactly the same.

The only solution which works is to hardcode a FQDN, such as example.com:

- CHKiRet(Send(pData->md.smtp.sock, (char*)glbl.GetLocalHostName(), strlen((char*)glbl.GetLocalHostName())));
+ CHKiRet(Send(pData->md.smtp.sock, "example.com ", 12));

AFAICT, '$PreserveFQDN on' doesn’t not make any difference.

Martin
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to