Hi
First post. sendmail-8.14.7-6.el7.x86_64 on Centos 7. I have a small home network with (4) computers. Ace is the mail server and all others send their logwatch emails thru it. But Ace its self is not masquerading its "From" address correctly, well not at all since it says From: Ace. This is when cron.daily runs 0logwatch. But if I run from the command line "sudo /etc/cron.daily/0logwatch" this email has the correct From: jamby@my.domain.com.
When run from the command line either sudo or su both show the same first line:
Nov 21 09:30:30 ace sendmail[9828]: 1ALHUUe9009828: from=jamby,
But run as a system call the first line shows
Nov 21 03:31:06 ace sendmail[17130]: 1ALBV5JD017130: from=root,
Is there a way to overcome this and get the mail to masquerade these correctly?
Thanks
Jim
First post. sendmail-8.14.7-6.el7.x86_64 on Centos 7. I have a small home network with (4) computers. Ace is the mail server and all others send their logwatch emails thru it. But Ace its self is not masquerading its "From" address correctly, well not at all since it says From: Ace. This is when cron.daily runs 0logwatch. But if I run from the command line "sudo /etc/cron.daily/0logwatch" this email has the correct From: jamby@my.domain.com.
When run from the command line either sudo or su both show the same first line:
Nov 21 09:30:30 ace sendmail[9828]: 1ALHUUe9009828: from=jamby,
But run as a system call the first line shows
Nov 21 03:31:06 ace sendmail[17130]: 1ALBV5JD017130: from=root,
Is there a way to overcome this and get the mail to masquerade these correctly?
Thanks
Jim