I'll admit that I have not made use of that module yet. What you could try is adding the directive '$PreserveFQDN on' above where the omnodule is loaded to see if it changes the behavior.
-- James -- Sent from my mobile -- ----- Reply message ----- From: "Martin Vegter" <[email protected]> To: "[email protected]" <[email protected]> Subject: [rsyslog] ommail: problem when sending email Date: Sun, Dec 15, 2013 1:57 PM hello, I have a problem with the Mail Output Module when sending email. The SMTP server says: "550-Misconfigured mail server. HELO name alpha has no DNS Address" Well of course, alpha is my hostname, not a FQDN. How can I tell ommail to use my FQDN "alpha.mydomain.com" ? Here is my ommail configuration $ActionMailSMTPServer mail.example.com $ActionMailFrom [email protected] $ActionMailTo [email protected] $template mailSubject,"EMERGENCY" $template mailBody," RSYSLOG Alert: %timegenerated%\r\n%msg%" $ActionMailSubject mailSubject $ActionExecOnlyOnceEveryInterval 60 *.emerg :ommail:;mailBody many thanks, 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. _______________________________________________ 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.

