Re: Adding Additional domains and outgoing email

2021-12-21 Thread Ruben Safir
On Wed, Dec 22, 2021 at 02:19:49PM +1100, raf wrote: > On Tue, Dec 21, 2021 at 06:52:23AM -0500, Ruben Safir > wrote: > > > I want to add a domain for the office in addition to my current domain. > > > > I've done this before, following the outline in: > > http://www.postfix.org/VIRTUAL_README.

Re: How do I prevent bogus HELO ?

2021-12-21 Thread Togan Muftuoglu
> "r" == raf writes: r> On Tue, Dec 21, 2021 at 10:06:29AM -0500, post...@ptld.com wrote: >> Spamhaus is just one company you can use, there are several others, I am >> not making any claims or recommendations to them over any other. They do >> allow free usage for low volume servers which i

Re: postconf outputs 2 bounce_notice_recipient lines

2021-12-21 Thread Scott Kitterman
On December 22, 2021 2:34:22 AM UTC, Wietse Venema wrote: >Scott Kitterman: >> On Monday, November 15, 2021 9:03:32 AM EST wrote: >> > Vincent Lefevre: >> > > Under Debian, after the postfix upgrade from 3.5.6 to 3.5.13, >> > > postconf now outputs duplicate bounce_notice_recipient lines: >> >

Re: Adding Additional domains and outgoing email

2021-12-21 Thread raf
On Tue, Dec 21, 2021 at 06:52:23AM -0500, Ruben Safir wrote: > I want to add a domain for the office in addition to my current domain. > > I've done this before, following the outline in: > http://www.postfix.org/VIRTUAL_README.html#canonical > > using > > [ruben@www2 ~]$ cat /etc/postfix/mai

Re: How do I prevent bogus HELO ?

2021-12-21 Thread raf
On Tue, Dec 21, 2021 at 10:06:29AM -0500, post...@ptld.com wrote: > Spamhaus is just one company you can use, there are several others, > I am not making any claims or recommendations to them over any > other. They do allow free usage for low volume servers which is why i > use them. Just a data

Re: postconf outputs 2 bounce_notice_recipient lines

2021-12-21 Thread Wietse Venema
Scott Kitterman: > On Monday, November 15, 2021 9:03:32 AM EST wrote: > > Vincent Lefevre: > > > Under Debian, after the postfix upgrade from 3.5.6 to 3.5.13, > > > postconf now outputs duplicate bounce_notice_recipient lines: > > > > > > zira:~> postconf | grep '^bounce_notice_recipient' > > > b

Re: postconf outputs 2 bounce_notice_recipient lines

2021-12-21 Thread Scott Kitterman
On Monday, November 15, 2021 9:03:32 AM EST wrote: > Vincent Lefevre: > > Under Debian, after the postfix upgrade from 3.5.6 to 3.5.13, > > postconf now outputs duplicate bounce_notice_recipient lines: > > > > zira:~> postconf | grep '^bounce_notice_recipient' > > bounce_notice_recipient = postma

Re: Assembling log entries for each SMTP session

2021-12-21 Thread Nikolaos Milas
On 21/12/2021 4:00 μ.μ., Matus UHLAR - fantomas wrote: collate could help you: Thanks Matus, that's exactly what I needed! You saved my day! And the best part of it: Collate was already available on my installation. Simple, flawless and fast. Cheers, Nick

Re: Formatting long lists of mynetworks with comments?

2021-12-21 Thread Noel Jones
On 12/21/2021 11:31 AM, Dan Mahoney wrote: Hey there, At the day job, our mynetworks list is like 20 items (v4 and v6) deep. We’re converting all our configs to git and puppet management, so the ability to git blame this stuff is useful. Is there a way of putting it one-item-per-line that al

Re: Assembling log entries for each SMTP session

2021-12-21 Thread Sam Tuke
On 21/12/2021 10:11, Nikolaos Milas wrote: A quick question: Can you please suggest a software tool which quickly "restructures" postfix mail log in a way that lines pertinent to each and every SMTP session are assembled and kept together… I think Lightmeter does what you want. It traces the ent

Formatting long lists of mynetworks with comments?

2021-12-21 Thread Dan Mahoney
Hey there, At the day job, our mynetworks list is like 20 items (v4 and v6) deep. We’re converting all our configs to git and puppet management, so the ability to git blame this stuff is useful. Is there a way of putting it one-item-per-line that allows comments, like: myetworks = 1.2.3.4, #c

Re: Resource temporarily

2021-12-21 Thread Wietse Venema
natan: > > postscreen tries to hand off each 'good' connection to an smtpd > > process. Apparently, there are not enough of smtpd processes to > > take those connections, and some kernel-internal queue is filling up > > resulting in an EAGAIN kernel error code. > > > > Possible causes: > > > > 1)

Re: How do I prevent bogus HELO ?

2021-12-21 Thread Benny Pedersen
On 2021-12-21 15:38, White, Daniel E. (GSFC-770.0)[NICS] wrote: How do I stop junk like… HELO example.com … without having to create a huge "check_helo_access" table ? you should only prevent forged helo, not random helo reject if myhostname is used in ehlo is safe, the others is just random

Re: Add value from header to postfix/smtp daemon log

2021-12-21 Thread Pedro David Marco
Thanks a lot... You understood me correctly! thanks for your kindness... with the INFO action, a new log line is added by cleanup daemon.. What i was trying is to make smtp daemon add that header value to its usual log lines.. Thanks, Pete. >On Tuesday, December 21, 2021, 04:20:31 PM GMT+1, p

Re: How do I prevent bogus HELO ?

2021-12-21 Thread Bill Cole
On 2021-12-21 at 09:38:23 UTC-0500 (Tue, 21 Dec 2021 14:38:23 +) White, Daniel E. (GSFC-770.0)[NICS] is rumored to have said: How do I stop junk like… HELO example.com … without having to create a huge "check_helo_access" table ? smtpd_{helo,sender,recipient,relay}_restrictions = [...],

Re: Resource temporarily

2021-12-21 Thread natan
W dniu 21.12.2021 o 16:22, Wietse Venema pisze: > natan: >> Dec 20 14:51:19 m4 postfix/postscreen[5883]: warning: cannot connect to >> service private/smtpd: Resource temporarily unavailable >> Dec 20 14:51:19 m4 postfix/postscreen[5883]: warning: cannot connect to >> service private/smtpd: Resourc

Re: Resource temporarily

2021-12-21 Thread Wietse Venema
natan: > Dec 20 14:51:19 m4 postfix/postscreen[5883]: warning: cannot connect to > service private/smtpd: Resource temporarily unavailable > Dec 20 14:51:19 m4 postfix/postscreen[5883]: warning: cannot connect to > service private/smtpd: Resource temporarily unavailable > Dec 20 14:51:20 m4 postfix

Re: Add value from header to postfix/smtp daemon log

2021-12-21 Thread postfix
> is it possible to configure Postfix stmp daemon to add in its log the value > of a specific header? If I understand the question correctly. To show headers for smtp "outgoing" emails in logs use smtp_header_checks, but for headers in smtpd "incoming" emails use header_checks. http://www.

Re: How do I prevent bogus HELO ?

2021-12-21 Thread David Bürgin
White, Daniel E. (GSFC-770.0)[NICS]: > How do I stop junk like… > > HELO example.com > > … without having to create a huge "check_helo_access" table ? (This is not a general answer but perhaps interesting still.) SPF validation (RFC 7208) can also be applied to a HELO name, which is useful with

Add value from header to postfix/smtp daemon log

2021-12-21 Thread Pedro David Marco
Hi, is it possible to configure Postfix stmp daemon to add in its log the value of a specific header? Thanks! Pete.

Re: How do I prevent bogus HELO ?

2021-12-21 Thread postfix
> On 12-21-2021 9:38 am, White, Daniel E. (GSFC-770.0)[NICS] wrote: > How do I stop junk like… > HELO example.com > … without having to create a huge "check_helo_access" table ? In my opinion it would be better to focus on the client PTR than to worry about HELO. I have seen a small percentage of

How do I prevent bogus HELO ?

2021-12-21 Thread White, Daniel E. (GSFC-770.0)[NICS]
How do I stop junk like… HELO example.com … without having to create a huge "check_helo_access" table ?

Re: Assembling log entries for each SMTP session

2021-12-21 Thread Matus UHLAR - fantomas
On 21.12.21 11:11, Nikolaos Milas wrote: A quick question: Can you please suggest a software tool which quickly "restructures" postfix mail log in a way that lines pertinent to each and every SMTP session are assembled and kept together. We need this because, otherwise, identifying and analyzi

Adding Additional domains and outgoing email

2021-12-21 Thread Ruben Safir
I want to add a domain for the office in addition to my current domain. I've done this before, following the outline in: http://www.postfix.org/VIRTUAL_README.html#canonical using [ruben@www2 ~]$ cat /etc/postfix/main.cf|grep mydest mydestination = www.domain1.com, www2.domain1.com, home.domain1

Re: Resource temporarily

2021-12-21 Thread natan
Hi ps -e|grep smtpd |wc -l 273 root@m4:~# grep "Resource temporarily unavailable" /var/log/mail.log root@m4:~# W dniu 21.12.2021 o 11:03, natan pisze: > Hi > Where is a limit for postscreen/smtpd ? > > Dec 20 14:51:19 m4 postfix/postscreen[5883]: warning: cannot connect to > service private/smtpd:

Resource temporarily

2021-12-21 Thread natan
Hi Where is a limit for postscreen/smtpd ? Dec 20 14:51:19 m4 postfix/postscreen[5883]: warning: cannot connect to service private/smtpd: Resource temporarily unavailable Dec 20 14:51:19 m4 postfix/postscreen[5883]: warning: cannot connect to service private/smtpd: Resource temporarily unavailable

Assembling log entries for each SMTP session

2021-12-21 Thread Nikolaos Milas
Hello, A quick question: Can you please suggest a software tool which quickly "restructures" postfix mail log in a way that lines pertinent to each and every SMTP session are assembled and kept together. We need this because, otherwise, identifying and analyzing particular sessions by assemb