[pfx] managing multi instances

2024-06-27 Thread Gino Ferguson via Postfix-users
Hi, I have two questions regarding multi instance management. 1. is there a way to batch migrate multi instances from serverA to serverB? We are planning to replace our servers and I'd spare as much manual work if possible. 2. is there an ad-hoc way to move mails between instances by their qu

[pfx] Re: active queue is too high

2024-04-19 Thread Gino Ferguson via Postfix-users
Nothing. There are no status lines for these certain recipients. The last log entry is the 'queue active' for each mail. Sent with Proton Mail secure email. On Friday, April 19th, 2024 at 2:42 PM, Wietse Venema via Postfix-users wrote: > Gino Ferguson via Postfix-use

[pfx] Re: [ext] active queue is too high

2024-04-19 Thread Gino Ferguson via Postfix-users
Sent with Proton Mail secure email. On Friday, April 19th, 2024 at 1:22 PM, Ralf Hildebrandt via Postfix-users wrote: > * Gino Ferguson via Postfix-users postfix-users@postfix.org: > > > Hi, > > > > We have a relay server which has been working fine (postfix > >

[pfx] active queue is too high

2024-04-19 Thread Gino Ferguson via Postfix-users
Hi, We have a relay server which has been working fine (postfix 3.3.0-1ubuntu0.4) Now there are ~20K mails in the active queue for a certain recipient and they are just sitting there. Such an email just comes in from the client, gets its queue id, etc. and lands in the active queue. Then it s

[pfx] Re: SMTP Smuggling with long-term fix

2024-01-08 Thread Gino Ferguson via Postfix-users
I'm running on Ubuntu 22 which ships postfix 3.6.4 . I've tried the short term solution, but this test tool still can send forged emails: $ postconf -n | grep -E "smtpd_data_restrictions|smtpd_discard_ehlo_keywords" smtpd_data_restrictions = reject_unauth_pipelining smtpd_discard_ehlo_keywords

[pfx] qmgr tuning

2023-04-26 Thread Gino Ferguson via Postfix-users
Hi, I'm wondering why is the qmgr process count set to 1 by default in master.cf Does it make any sense to increase this number to 2 or 5 or 10? There are a couple of million emails are going through our servers per day and there is a plenty of free CPU and RAM which could be used. Also I'm

[pfx] destination based rate limiting

2023-03-27 Thread Gino Ferguson via Postfix-users
Hi, How can one set up outbound rate limiting for a certain mail service provider? Can postfix 'recognise' that recipientdomainA, recipientdomainB and recipientdomainC are hosted at the same mail service provider (bigmxprovider.com) so this limiting must be applied automatically? The destin

[pfx] difference between relay and smtp

2023-03-22 Thread Gino Ferguson via Postfix-users
Hi, Can you explain me the practical difference between relay and smtp delivery on a relay server? Thanks! G. ___ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org

outbound oauth2 auth

2022-12-15 Thread Gino Ferguson
Hi All, First thanks for the replies to my tls connection reuse question. It's already set up in our QA and it's working fine. :) Today's question: we were asked if we can send emails using oauth2 instead of basic auth. The best I could find is this git repo: https://github.com/tarickb/sasl

tls connection reuse

2022-12-14 Thread Gino Ferguson
Hi List, I'm reading the doc and wondering why 'smtp_tls_connection_reuse' is not enabled by default? Are there any possible drawbacks? People from GMail suggested us to enable this feature. We're on postfix version 3.4.13-0ubuntu1.2 Thanks, Gino

drop unwanted recipients

2022-11-21 Thread Gino Ferguson
Hi all, We're using smtpd_recipient_restrictions to drop filter out unwanted recipients. The problem with this is, if the email has more recipients, noone gets the email, not only the unwanted is dropped. How should this be done properly? Thanks, Gino

Re: rewriting all occurences of a sender domain

2022-11-04 Thread Gino Ferguson
Hi, Thanks for the replies. Before I wrote my question I have tried this ('canonical_classes' was the default): sender_canonical_maps = regexp:/etc/postfix/custom_rewrite_sender /etc/postfix/custom_rewrite_sender: /^(.*)@originalsender.fqdn$/ ${1}@masqueraded.fqdn it worked but broke DKIM.

rewriting all occurences of a sender domain

2022-11-03 Thread Gino Ferguson
Hello postfix users! I need your advice. I have to rewrite every occurence of @sender-foo.com domain to @sender-bar.com. Both in envelope and header from fields. I did it with a smtp_generic_maps regexp but I'm not sure this is the best way (these are outbound only emails). Also it messes up