Re: Can't finish installation, need help

2022-06-24 Thread Matus UHLAR - fantomas
telnet localhost 25 220 server.mydomain.net ESMTP Postfix (Debian/GNU) AUTH LOGIN 334 VXNlcm5hbWU6 c29tZXVzZXI= (someuser) 334 UGFzc3dvcmQ6 c29tZXBhc3M= (somepass) 454 4.7.0 Temporary authentication failure: generic failure On Thu, Jun 23, 2022 at 03:09:36AM -0300, Viktor Dukhovni wrote: A

Re: Preventing .forward backscatter

2022-06-24 Thread Wietse Venema
Viktor Dukhovni: > On Thu, Jun 23, 2022 at 02:43:02PM -0700, Derek B. Noonburg wrote: > > > I'm running postfix to handle email for several users. One of them > > has a .forward file that points to a gmail address. Gmail's servers > > are rejecting some email for various causes ("low reputation

Re: Preventing .forward backscatter

2022-06-24 Thread Viktor Dukhovni
On Fri, Jun 24, 2022 at 09:48:20AM -0400, Wietse Venema wrote: > > If you can convince the user to surrender the alias management to you, > > then you instead configure: > > > > owner-user: user > > user: some.a...@gmail.com > > > > And presto magic, email to gmail will be forwarded with

Re: Quarantine message using milter

2022-06-24 Thread Wietse Venema
ran...@skurelabs.com: > Hi Wietse, > Please find the response > > 1) Can you find the logfile record with "milter-hold". > Answer: no In that case message it not quarantined. > 2) Can you extract the QUEUE ID from that logfile record. > Answer: answer yes This is for a message tha

Re: Preventing .forward backscatter

2022-06-24 Thread Matus UHLAR - fantomas
On 23.06.22 14:43, Derek B. Noonburg wrote: I'm running postfix to handle email for several users. One of them has a .forward file that points to a gmail address. Gmail's servers are rejecting some email for various causes ("low reputation of sending domain", SPF failures). one of tricks is i

Re: Quarantine message using milter

2022-06-24 Thread Viktor Dukhovni
On Fri, Jun 24, 2022 at 06:43:58PM +, ran...@skurelabs.com wrote: > 2) Can you extract the QUEUE ID from that logfile record. > Answer: answer yes > > Jun 24 14:09:03 sprucexSrv02 postfix/smtpd[762503]: 8C1AD5E055: > client=mail-maxind01on2097.outbound.protection.outlook.com[40.107.222.97] >

smtpd_recipient_restrictions usage question.

2022-06-24 Thread Gary Smith
Looking for advice.   I have an smtpd process configured with this below.  It works great when injecting the messages from localhost but fails with '5.7.1 : Recipient address rejected: Access denied' when I try it from a remote node (this port is firewalled and only allowed for specific machin

Catch-all that pipes to script

2022-06-24 Thread Luc GMail
Hi. I am trying to achieve this, to have a catch-all receiver that will pipe all mail through a script. I've been searching and trying possible solutions, and the one I've found that seems closest to doing the job is this one: 8< useradd -m -s /bin/false mailbot &

Re: smtpd_recipient_restrictions usage question.

2022-06-24 Thread Nick Tait
On 25/06/22 10:50, Gary Smith wrote: Would it be better to add IPs to an access hash list and use check_recipient_a_access so we can use update it when we need to on the fly?  If so can I add subnets (10.20.30.0/24) or just single IPs?  I’m usinghttps://www.postfix.org/postconf.5.html#smtpd_re

Re: Catch-all that pipes to script

2022-06-24 Thread Nick Tait
On 25/06/22 11:17, Luc GMail wrote: echo 'mailbot unix - n n - 50 pipe' >> master.cf echo 'flags=R user=dropbox argv=/etc/postfix/script.sh -o SENDER=${sender} -m USER=${user} EXTENSION=${extension}' >> master.cf Hi Luc. I think you need some whitespace

Re: Catch-all that pipes to script

2022-06-24 Thread Wietse Venema
Luc GMail: > echo 'mailbot unix - n n - 50 pipe' >> master.cf > echo 'flags=R user=dropbox argv=/etc/postfix/script.sh -o SENDER=${sender} echo ' flags Wietse