postfix problem

Bret Busby bret.busby at gmail.com
Mon Jul 6 07:50:00 UTC 2020


On 06/07/2020, Karl Auer <kauer at biplane.com.au> wrote:
> I'm trying to send email from scripts. I have mailx and postfix
> installed. Sending email works, but not quite properly.
>
> Specifically, the mail arrives showing a sender of "
> kauer at kt1.biplane.com.au", where "kt1" is the name of the laptop and
> "kt1.biplane.com.au" is the hostname (and the value in /etc/hostname).
>
> I have tried putting various things in /etc/mailname and changing the
> value of myorigin in /etc/postfix/main.cf, to no avail. As far as I can
> tell, postfix always uses the value in /etc/hostname. If /etc/hostname
> doesn't have a domain (i.e., is just "kt1", it will append the correct
> domain to it, but I can't seem to get rid of that pesky hostname!
>
> Is there a way to tell postfix to just send all from "biplane.com.au"?
>
> I found this:
>
> http://www.postfix.org/ADDRESS_REWRITING_README.html#generic
>
>
> But that looks like I'd need a set of generics for every sending
> account. I just want one global override on outbound emails.
>
> Regards, K.
>



Have you tried subscribing to, and, posting to, the postfix users mailing list?

See http://www.postfix.org/lists.html


-- 
Bret Busby
Armadale
West Australia
..............




More information about the ubuntu-users mailing list