Re: Can I somehow customise the From: address when root sends mail?

2020-12-08 Thread Wietse Venema
Chris Green: > On Tue, Dec 08, 2020 at 07:36:57PM +0100, Luciano Mannucci wrote: > > On Tue, 8 Dec 2020 17:56:33 + > > Chris Green wrote: > > > > > So, is there something I can configure in postfix to always add some > > > text of some sort (the hostname is the obvious thing) to one of

Re: Can I somehow customise the From: address when root sends mail?

2020-12-08 Thread Chris Green
On Tue, Dec 08, 2020 at 10:36:48PM +0100, Luciano Mannucci wrote: > On Tue, 8 Dec 2020 20:03:27 + > Chris Green wrote: > > > > root:*:0:0:Charlie Baobab &:/root:/bin/csh > > > > > So does anything in the GCOS field appear in the From: header? > Well, it seems to. "The From:" I get in the

Re: Can I somehow customise the From: address when root sends mail?

2020-12-08 Thread Luciano Mannucci
On Tue, 8 Dec 2020 20:03:27 + Chris Green wrote: > > root:*:0:0:Charlie Baobab &:/root:/bin/csh > > > So does anything in the GCOS field appear in the From: header? Well, it seems to. "The From:" I get in the diagnostic messages looks like this: From: Charlie Baobab Root It might be

Re: spamsources.fabel.dk

2020-12-08 Thread Viktor Dukhovni
On Fri, Dec 04, 2020 at 03:24:48PM +1300, David Neil wrote: > Do you know of some other way to contact them using a secure and private > email account? Is their blacklist widely used anyway? Unlikely... Just ignore them. Receiving systems should choose their RBLs with care. Use of marginal

Re: About messages bounced due name resolution issues using IPv6

2020-12-08 Thread Viktor Dukhovni
On Thu, Dec 03, 2020 at 11:22:29PM -0200, Viktor Dukhovni wrote: > The only possible explanations are: > >- Your resolver erroneously reported NODATA for IPv4 >- The authoritative nameservers reported NODATA for IPv4 >- Neither of us was able to spot a subtle bug > > To distinguish

Re: Can I somehow customise the From: address when root sends mail?

2020-12-08 Thread Viktor Dukhovni
On Tue, Dec 08, 2020 at 05:56:33PM +, Chris Green wrote: > Having got my several 'send only' systems configured successfully > (thank you all for your help doing this) I now have another fairly > minor problem. > > Errors from all of these systems are (mostly) sent by root, typically > they

Re: Can I somehow customise the From: address when root sends mail?

2020-12-08 Thread Chris Green
On Tue, Dec 08, 2020 at 07:36:57PM +0100, Luciano Mannucci wrote: > On Tue, 8 Dec 2020 17:56:33 + > Chris Green wrote: > > > So, is there something I can configure in postfix to always add some > > text of some sort (the hostname is the obvious thing) to one of From:, > > To: or Subject: ? >

Re: Can I somehow customise the From: address when root sends mail?

2020-12-08 Thread Nick
On 2020-12-08 17:56 GMT, Chris Green wrote: > So, is there something I can configure in postfix to always add some > text of some sort (the hostname is the obvious thing) to one of From:, > To: or Subject: ? Try something like main.cf sender_canonical_maps =

Re: Can I somehow customise the From: address when root sends mail?

2020-12-08 Thread Luciano Mannucci
On Tue, 8 Dec 2020 17:56:33 + Chris Green wrote: > So, is there something I can configure in postfix to always add some > text of some sort (the hostname is the obvious thing) to one of From:, > To: or Subject: ? Personally, I use the GCOS field in /etc/passwd (the 5th field). Mine looks

Can I somehow customise the From: address when root sends mail?

2020-12-08 Thread Chris Green
Having got my several 'send only' systems configured successfully (thank you all for your help doing this) I now have another fairly minor problem. Errors from all of these systems are (mostly) sent by root, typically they will be cron or anacron processes. As these are just systems on my LAN

Re: postfix connecting MySQL database with ssl enabled does not work

2020-12-08 Thread Viktor Dukhovni
On Tue, Dec 08, 2020 at 04:55:03PM +, Ricardo Barbosa wrote: > mysql-virtual-mailbox-domain.cf- > user = postfix > password = x > dbname = email > hosts = 192.168.11.11 > query = SELECT dominio AS "virtual" FROM dominios WHERE dominio='%s' > tls_CAfile

postfix connecting MySQL database with ssl enabled does not work

2020-12-08 Thread Ricardo Barbosa
hi all I am trying to use postfix to fetch data from an external MySQL server in an AWS environment. However it uses encryption I have already made several attempts to use TLSv1 / 2 without success changing the file "/etc/ssl/openssl.conf". I followed this post but it didn't work for me.