Re: Some news on SMTP DANE TLS

2020-04-06 Thread Wietse Venema
Viktor Dukhovni: > Today, Microsoft announced plans to implement SMTP DANE TLS in Office365 > "Exchange Online": > > > https://techcommunity.microsoft.com/t5/exchange-team-blog/support-of-dane-and-dnssec-in-office-365-exchange-online/ba-p/1275494 > > this is not live yet, the implementation

Re: Check outgoing emails not using TLS

2020-04-06 Thread Viktor Dukhovni
On Mon, Apr 06, 2020 at 02:53:25PM +0100, Dominic Raferd wrote: > Our mail log file, where postfix messages end > up, is also a destination for logs from other mail-related services, > all handled by (systemd via) rsyslog... More accurately, handled by rsyslog (via systemd). It is the (mis)handl

Re: Check outgoing emails not using TLS

2020-04-06 Thread Viktor Dukhovni
On Mon, Apr 06, 2020 at 02:53:25PM +0100, Dominic Raferd wrote: > > whose output you'd send to the attached Perl script. On my system for > > example: > > > > # bzip2 -dcf $(ls -tr /var/log/maillog*) | perl collate | perl > > tlstype.pl I should perhaps mention that the "tlstype.pl" Perl sc

Some news on SMTP DANE TLS

2020-04-06 Thread Viktor Dukhovni
Today, Microsoft announced plans to implement SMTP DANE TLS in Office365 "Exchange Online": https://techcommunity.microsoft.com/t5/exchange-team-blog/support-of-dane-and-dnssec-in-office-365-exchange-online/ba-p/1275494 this is not live yet, the implementation will be in two stages: The

Re: Check outgoing emails not using TLS

2020-04-06 Thread Dominic Raferd
On Mon, 6 Apr 2020 at 21:54, Wietse Venema wrote: > > Dominic Raferd: > > I will keep in mind what you say about systemd and logging. The only > > 'systemd:.*suppress' messages I see are very occasionally in the > > system log and don't relate to any mail activity, but our mail servers > > are not

Re: Tracking email status - Bounced, Deferred, Over Quota, Delivered

2020-04-06 Thread Wietse Venema
Owais Khan: > Thank you Viktor, > > I am trying to run it as below - where mylog is a sample of postfix logs but > I can't see anything dumping in a file where I can analyse. > > perl collate.pl mylog perl collate.pl mylog > name-of-output-file Wietse > I was debugging script as well u

Re: Check outgoing emails not using TLS

2020-04-06 Thread Wietse Venema
Dominic Raferd: > I will keep in mind what you say about systemd and logging. The only > 'systemd:.*suppress' messages I see are very occasionally in the > system log and don't relate to any mail activity, but our mail servers > are not heavily loaded. Our mail log file, where postfix messages end

Re: modifying outbound email headers

2020-04-06 Thread Matus UHLAR - fantomas
On 06.04.20 11:01, Stefan Claas wrote: >my postfix mail server works perfectly so far. > >However, I am now facing the following problem and have tried as best as I >can to find a solution to this. > >I run an anonymous remailer, which also allows sending emails to mail2news >gateways for Usenet p

Re: Tracking email status - Bounced, Deferred, Over Quota, Delivered

2020-04-06 Thread Owais Khan
Thank you Viktor, I am trying to run it as below - where mylog is a sample of postfix logs but I can't see anything dumping in a file where I can analyse. perl collate.pl mylog I was debugging script as well using perl -d but couldn't catch much of it. Appreciate any help. Thanks & Regards, O

Re: Check outgoing emails not using TLS

2020-04-06 Thread Dominic Raferd
On Mon, 6 Apr 2020 at 09:44, Viktor Dukhovni wrote: > > On Mon, Apr 06, 2020 at 08:21:32AM +0100, Dominic Raferd wrote: > > > Using setting 'smtp_tls_security_level = may' (postfix 3.3.0) is there > > a reliable way to see from log which outgoing emails were sent in the > > clear i.e. *not* using

Re: modifying outbound email headers

2020-04-06 Thread Wietse Venema
Stefan Claas: > Hi, > > my postfix mail server works perfectly so far. > > However, I am now facing the following problem and have tried as best as I can > to find a solution to this. > > I run an anonymous remailer, which also allows sending emails to mail2news > gateways for Usenet postings. S

Re: Templating master.cf

2020-04-06 Thread Wietse Venema
Matt Saladna: > I do intend on overwriting it when changes are made to the master.cf, That would be a mistake. Postfix has a command postfix upgrade-configuration that takes existing main/master.cf and makes necessary changes after a new release. Been that way for, oh, 10 years or so.

Re: modifying outbound email headers

2020-04-06 Thread Stefan Claas
Franck MAHE wrote: > >> > I would like to achieve the following: > >> > > >> > postfix should modify outgoing email headers that *only* go to > >> > mail2news > >> > gateways, using the email gateway addresses for parsing, so that the > >> > right part > >> > of the message ID, after the @ charach

Re: modifying outbound email headers

2020-04-06 Thread Stefan Claas
Gregory Heytings wrote: > > Stefan Claas: > > > > postfix should modify outgoing email headers that *only* go to mail2news > > gateways, using the email gateway addresses for parsing, so that the > > right part of the message ID, after the @ charachter, will be modified > > with a defined stri

Re: modifying outbound email headers

2020-04-06 Thread Stefan Claas
Matus UHLAR - fantomas wrote: > On 06.04.20 11:01, Stefan Claas wrote: > >my postfix mail server works perfectly so far. > > > >However, I am now facing the following problem and have tried as best as I > >can to find a solution to this. > > > >I run an anonymous remailer, which also allows sendin

Re: modifying outbound email headers

2020-04-06 Thread Franck MAHE
> I would like to achieve the following: > > postfix should modify outgoing email headers that *only* go to > mail2news > gateways, using the email gateway addresses for parsing, so that the > right part > of the message ID, after the @ charachter, will be modified with a > defined > string. Not

Re: modifying outbound email headers

2020-04-06 Thread Gregory Heytings
Stefan Claas: postfix should modify outgoing email headers that *only* go to mail2news gateways, using the email gateway addresses for parsing, so that the right part of the message ID, after the @ charachter, will be modified with a defined string. Do you mean "should modify outgoing e

Re: modifying outbound email headers

2020-04-06 Thread Matus UHLAR - fantomas
On 06.04.20 11:01, Stefan Claas wrote: my postfix mail server works perfectly so far. However, I am now facing the following problem and have tried as best as I can to find a solution to this. I run an anonymous remailer, which also allows sending emails to mail2news gateways for Usenet posting

Re: modifying outbound email headers

2020-04-06 Thread Stefan Claas
Franck MAHE wrote: > Hi Stefan, > > > I would like to achieve the following: > > > > postfix should modify outgoing email headers that *only* go to > > mail2news > > gateways, using the email gateway addresses for parsing, so that the > > right part > > of the message ID, after the @ charachte

Re: modifying outbound email headers

2020-04-06 Thread Franck MAHE
Hi Stefan, I would like to achieve the following: postfix should modify outgoing email headers that *only* go to mail2news gateways, using the email gateway addresses for parsing, so that the right part of the message ID, after the @ charachter, will be modified with a defined string. Not

modifying outbound email headers

2020-04-06 Thread Stefan Claas
Hi, my postfix mail server works perfectly so far. However, I am now facing the following problem and have tried as best as I can to find a solution to this. I run an anonymous remailer, which also allows sending emails to mail2news gateways for Usenet postings. So far so good. I would like to

Re: Check outgoing emails not using TLS

2020-04-06 Thread Viktor Dukhovni
On Mon, Apr 06, 2020 at 08:21:32AM +0100, Dominic Raferd wrote: > Using setting 'smtp_tls_security_level = may' (postfix 3.3.0) is there > a reliable way to see from log which outgoing emails were sent in the > clear i.e. *not* using TLS? Yes, provided you don't lose too many log messages[1], and

Re: question on gmail smtp relay

2020-04-06 Thread Dominic Raferd
On Thu, 2 Apr 2020 at 17:33, Bill Cole wrote: > > On 2 Apr 2020, at 2:55, Tessa Plum wrote: > > > Hello > > > > We can send email from any domain within gmail, setup it via gmail's > > smtp relay in web interface. > > > > My question is, won't this break something like SPF/DKIM for those > > exter

Check outgoing emails not using TLS

2020-04-06 Thread Dominic Raferd
Using setting 'smtp_tls_security_level = may' (postfix 3.3.0) is there a reliable way to see from log which outgoing emails were sent in the clear i.e. *not* using TLS?

Re: Templating master.cf

2020-04-06 Thread Matt Saladna
I do intend on overwriting it when changes are made to the master.cf, but I do not want to clobber any custom services a user may have added nor do I want their intervention to manually reconcile changes from .rpmsave. I don't want to maintain a history of sed/awk scripts that may break and Ans