Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Jibun-no-Kage opened this issue Apr 3, 2022 · 0 comments

Comments

@Jibun-no-Kage
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant