SME 7.1 just downloaded and installed. Nice job, btw.
System is running server only mode, with email redirected to ISP for delivery. In this case, "ISP" means the email system of a large corporation.
Domain is configured as na.abc.com
Hostname is hobbit1
I am running hobbit monitor on this system, so hobbit is sending alerts via email using the "sendmail -t" method. This works fine. The messages have the general format:
From: monitor@hobbit1.na.abc.com
To: jones.bob@abc.com
Subject: [ALERT ID]
ALERT TEXT
ALERT TEXT
ALERT TEXT
The corporate email system expects all non-workstation senders to use the format:
account@hostname.subdomain.abc.com
This means, in my case, they expect to see email from "monitor@hobbit1.na.abc.com" or from "root@hobbit1.na.pg.com". Since the module that actually sends the hobbit alerts is running as a root cron task, the return path on the message is actually root@.
Here is where the problem occurs. As configured the return path actually gets set to <root@na.abc.com>, and indeed the qmail setup generally considers itself to be na.abc.com. This causes the rules on the corporate servers to reject the message as coming from an invalid host.
Is there a way to tweak a template to make the return path be root@hobbit1.na.abc.com? qmail is definitely not my area of expertise.
I'm going to test a brute force solution of changing the domain config to hobbit1.na.abc.com; however, just curious if there is a better way to do this.
Thanks