nullmailer icon indicating copy to clipboard operation
nullmailer copied to clipboard

How to override /etc/mailname and force a given from address using nullmailer-injector?

Open Jibun-no-Kage opened this issue 2 years ago • 0 comments

How to override /etc/mailname and force a given from address or even /etc/nullmailer/adminaddr using nullmailer-injector? I send the following test... and email system rejects it because root@. apparently read from /etc/mailname, is always used. I want the from and to email address to be honored in the data file I pipe into the injector, how does one do this?

` cat /tmp/mail.tmp From: [email protected] To: [email protected] Subject: This is a test!

This is a test!

cat /tmp/mail.tmp | nullmailer-inject -h `

But SMTP server rejects mail sent, because the sender is [email protected], i.e. /etc/mailname is server.dd.org. The adminaddr is [email protected], but it is never honored or referenced?

Jibun-no-Kage avatar Apr 03 '22 18:04 Jibun-no-Kage