Re: reject_unknown_sender_domain seems not to work

2019-10-24 Thread Wietse Venema
Lars Liedtke: > Hello, > > I am having trouble using reject_unknown_sender_domain. I boiled the > whole restrictions down to > > smtpd_recipient_restrictions = warn_if_reject reject_unknown_sender_domain > > and still a mail do an invalid domain is not rejected or I am not warned > about rejecti

Re: reject_unknown_sender_domain seems not to work

2019-10-24 Thread P.V.Anthony
On 25/10/19 12:34 am, Lars Liedtke wrote: I am having trouble using reject_unknown_sender_domain. I boiled the whole restrictions down to smtpd_recipient_restrictions = warn_if_reject reject_unknown_sender_domain For me I use it in smtpd_sender_restrictions. Also check if your postfix versio

reject_unknown_sender_domain seems not to work

2019-10-24 Thread Lars Liedtke
Hello, I am having trouble using reject_unknown_sender_domain. I boiled the whole restrictions down to smtpd_recipient_restrictions = warn_if_reject reject_unknown_sender_domain and still a mail do an invalid domain is not rejected or I am not warned about rejection: Oct 24 18:22:14 mailstore p

Re: Mailq timestamps in localtime rather than UTC

2019-10-24 Thread Pedro David Marco
level{'calm'}++; Thanks Wietse! Pedro. On Thursday, October 24, 2019, 6:08:11 PM GMT+2, Wietse Venema wrote: Pedro David Marco: >  I use Devuan Ascii. It uses GLIBC 2.24 > My main concern is that this problem may affect how postfix deals > with deferred emails... > What do you think,

Re: Mailq timestamps in localtime rather than UTC

2019-10-24 Thread Wietse Venema
Pedro David Marco: > I use Devuan Ascii. It uses GLIBC 2.24 > My main concern is that this problem may affect how postfix deals > with deferred emails... > What do you think, Wietse? UNIX systems use UTC internally, therefore Postfix scheduling is UTC based, and does not depend on what timezone t

Re: Mailq timestamps in localtime rather than UTC

2019-10-24 Thread Pedro David Marco
as good as it gets... thanks Viktor! Pedro. On Thursday, October 24, 2019, 5:53:53 PM GMT+2, Viktor Dukhovni wrote: > On Oct 24, 2019, at 5:10 PM, Pedro David Marco > wrote: > > My main concern is that this problem may affect how postfix deals with > deferred emails... Locale an

Re: Mailq timestamps in localtime rather than UTC

2019-10-24 Thread Viktor Dukhovni
> On Oct 24, 2019, at 5:10 PM, Pedro David Marco wrote: > > My main concern is that this problem may affect how postfix deals with > deferred emails... Locale and timezone specific human readable date strings don't enter into how Postfix deals with time internally. So postqueue(1) time output

Re: Mailq timestamps in localtime rather than UTC

2019-10-24 Thread Pedro David Marco
I use Devuan Ascii. It uses GLIBC 2.24 My main concern is that this problem may affect how postfix deals with deferred emails...  What do you think, Wietse? Thanks, Pedro. On Thursday, October 24, 2019, 4:53:45 PM GMT+2, Wietse Venema wrote: Pedro David Marco: >  Thanks Matus... > da

Re: Mailq timestamps in localtime rather than UTC

2019-10-24 Thread Wietse Venema
Pedro David Marco: > Thanks Matus... > date -u shows correct UTC time. > Monitoring mailq with strace i have seen it always reads the > file?/usr/share/zoneinfo/UTC? but "date" and "env - date"? commads read the > file "/etc/localtime" (shown by strace) > > So it seems that? mailq always shows

Re: OpenDKIM , Postfix , SpamAssassin, Amavisd-New, SPF and FreeBSD

2019-10-24 Thread Dominic Raferd
On Thu, 24 Oct 2019 at 15:28, Jason Hirsh wrote: > > I am trying to revive my OpenDKIM installation. I had it working but managed > to break it when I updated my ports. It is running but not signing outgoing > messages > > My main.cf configuration relative to OpenDkim is > > smtpd_milters = in

OpenDKIM , Postfix , SpamAssassin, Amavisd-New, SPF and FreeBSD

2019-10-24 Thread Jason Hirsh
I am trying to revive my OpenDKIM installation. I had it working but managed to break it when I updated my ports. It is running but not signing outgoing messages My main.cf configuration relative to OpenDkim is smtpd_milters = inet:localhost:8891 non_smtpd_milters = $smtpd_milters milter_d

Re: Mailq timestamps in localtime rather than UTC

2019-10-24 Thread Pedro David Marco
Thanks Matus... date -u shows correct UTC time. Monitoring mailq with strace i have seen it always reads the file  /usr/share/zoneinfo/UTC  but "date" and "env - date"  commads read the file "/etc/localtime" (shown by strace) So it seems that  mailq always shows UTC time despite system localtime

Re: block 'new style' TLDs ?

2019-10-24 Thread @lbutlr
On 24 Oct 2019, at 04:10, Fourhundred Thecat <400the...@gmx.ch> wrote: > On 24/10/2019 07.32, @lbutlr wrote: >> On 23 Oct 2019, at 15:20, lists wrote: >>> >>> /\.asia$/ 510 Denied: Unacceptable TLD .asia >> >> [Long list… removed] >> >> smtpd_helo_restrictions = reject_invalid_helo_hostname >>

Re: Mailq timestamps in localtime rather than UTC

2019-10-24 Thread Matus UHLAR - fantomas
On 24.10.19 09:05, Pedro David Marco wrote: Normal user: $ date; env - dateThu Oct 24 10:56:11 CEST 2019Thu Oct 24 10:56:11 CEST 2019$ Postfix user: $ date; env - dateThu Oct 24 10:56:13 CEST 2019Thu Oct 24 10:56:13 CEST 2019$ I guess Postfix is taking just EPOCH time whitout considering localiza

Re: Mailq timestamps in localtime rather than UTC

2019-10-24 Thread Wietse Venema
Pedro David Marco: > Thanks Wietse, > Normal user: > $ date; env - dateThu Oct 24 10:56:11 CEST 2019Thu Oct 24 10:56:11 CEST 2019$ > Postfix user: > $ date; env - dateThu Oct 24 10:56:13 CEST 2019Thu Oct 24 10:56:13 CEST 2019$ > I guess Postfix is taking just EPOCH time whitout considering > loca

Re: block 'new style' TLDs ?

2019-10-24 Thread Fourhundred Thecat
On 24/10/2019 07.32, @lbutlr wrote: > On 23 Oct 2019, at 15:20, lists wrote: >> >> /\.asia$/ 510 Denied: Unacceptable TLD .asia > > [Long list… removed] > > smtpd_helo_restrictions = reject_invalid_helo_hostname > check_helo_access pcre:/etc/postfix/helo_checks.pcre permit > > /etc/postfix/hel

Re: block 'new style' TLDs ?

2019-10-24 Thread Jaroslaw Rafa
Dnia 23.10.2019 o godz. 23:32:44 @lbutlr pisze: > > /etc/postfix/helo_checks.pcre: > /.*\.(com|net|org|edu|gov|ca|mx|de|dk|fi|fr|uk|us|tv|info|biz|eu|es|il|it|nl|name|jp|host|au|nz|ch|tv)$/ > DUNNO > /.*\.*$/ 550 Mail to or from this TLD is not allowed And thus you for example would reject all e

Re: Mailq timestamps in localtime rather than UTC

2019-10-24 Thread Pedro David Marco
Thanks Wietse, Normal user: $ date; env - dateThu Oct 24 10:56:11 CEST 2019Thu Oct 24 10:56:11 CEST 2019$ Postfix user: $ date; env - dateThu Oct 24 10:56:13 CEST 2019Thu Oct 24 10:56:13 CEST 2019$ I guess Postfix is taking just EPOCH time whitout considering localization...  so i agree with you