[pfx] Re: spamlist checks

2023-06-22 Thread Patrick Proniewski via Postfix-users
Hi, > On 23 Jun 2023, at 05:14, Fourhundred Thecat via Postfix-users > wrote: > > Spamhaus has some removal form on their website, but the page does not > work for me (it is stuck at: Checking if the site connection is secure) > > Anyway, I was trying to find out on which other spamlists I

[pfx] Re: Postfix: running a script on authentication failure

2023-06-22 Thread Patrick Proniewski via Postfix-users
Hi, > On 22 Jun 2023, at 21:05, André Rodier via Postfix-users > wrote: > > What are you using on your side ? I'm running postfix on FreeBSD so I can use blacklistd. A blacklistd hook has been inserted in Postfix source code so treatment is triggered directly from events handled by

[pfx] Re: Question to reject_rbl_client zen.spamhaus.org

2023-04-09 Thread Patrick Proniewski via Postfix-users
On 9 Apr 2023, at 08:18, tom--- via Postfix-users wrote: > >> First off make sure that policyd isn't somehow returning an OK (or >> equivalent) response, if you're not sure temporarily remove >> "check_policy_service unix:private/policyd-spf," from your restrictions >> above and see if it

Re: Spammer succeeded in relaying through my server

2022-12-21 Thread Patrick Proniewski
On 21 Dec 2022, at 08:52, Peter wrote: > > On 21/12/22 20:35, Samer Afach wrote: >> Dear Pat: >> Thank you for throwing this idea, because I really thought it wasn't >> possible to retrieve docker logs without setup, but I dug and found the >> logs. I have them all. Unfortunately, I can't

Re: Spammer succeeded in relaying through my server

2022-12-20 Thread Patrick Proniewski
Hello, Do you have the logs (postfix and maybe dovecot) showing the spammer interaction with the server? pat > On 21 Dec 2022, at 05:45, Samer Afach wrote: > > Thank you, Phil. Here we go. Here's postconf -n: > > > I hope this helps in better identifying how the spammer was able to use my

Re: filtering incoming email mail_from/reply to/from/etc.

2022-08-22 Thread Patrick Proniewski
Hi, I'm already using: smtpd_sender_restrictions = reject_unlisted_sender, check_sender_access hash:/etc/postfix/sender_access reject_unknown_sender_domain, reject_non_fqdn_sender, permit But the "loophole" here is that blank sender/return-path is

Re: Announcement: LetsDNS release 1.0 is now available

2022-04-12 Thread Patrick Proniewski
Hello, This statement is at best off topic. Worst case scenario, it's toxic. And you can be polite, too. Thank you. > On 12 Apr 2022, at 16:58, Ruben Safir wrote: > > automated systems with root access are inherently not secure > > > On Tue, Apr 12, 2022 at 03:30:57PM +0200, Ralph Seichter

Re: way to test delivery to me

2021-02-01 Thread Patrick Proniewski
On 01 Feb 2021, at 13:38, Viktor Dukhovni wrote: > > On Mon, Feb 01, 2021 at 12:09:38PM +, pat...@patpro.net wrote: > >> It's a risk I can take if I'm stuck but I'm willing to try the dual-sign >> method. > > I should mention that given the humongous sizes of your current > signatures,

Re: way to test delivery to me

2021-01-31 Thread Patrick Proniewski
On 31 Jan 2021, at 18:13, Wietse Venema wrote: > > Patrick Proniewski: >> I'm looking for a tool/service that would help me diagnose delivery problems >> to my server? Any hint appreciated. > What about good old telnet or netcat? because I'm looking for a way to test as

way to test delivery to me

2021-01-31 Thread Patrick Proniewski
Hello, I've got a strange problem with my MX server, that is not related to postfix: looks like neither Steam nor Binance can post email to me. I've had a discussion with Steam support, they said they have delivery failure on their side but couldn't provide more details than this: Time

Re: spamassassin & bayes

2021-01-27 Thread Patrick Proniewski
Hi, I've switched to REDIS for bayesian storage in Spamassassin more than 4 years ago, and I've never looked back: very good performances and no problem with files (like locking for a start). I wrote about it at the time, unfortunately it's in French ;)

put message on HOLD based on sender & recipient

2020-09-15 Thread Patrick Proniewski
Hello, What would be the best way to hold an incoming email that match both criteria From=foo and To=bar? First I thought about header_checks with something like: if /^From:.*foo.*/ /^To:.*bar.*/ HOLD endif but obviously it can't work as headers are processed 1 by 1. The final solution will

Re: SMTPUTF8 problem with Exchange servers

2020-06-18 Thread Patrick Proniewski
On 17 juin 2020, at 22:05, Viktor Dukhovni wrote: > > On Wed, Jun 17, 2020 at 10:00:32PM +0200, Patrick Proniewski wrote: > >>> - disable SMTPUTF8 in Postfix. >> >> That means disabling it everywhere and let messages bounce on MX servers. >> Would n

Re: SMTPUTF8 problem with Exchange servers

2020-06-18 Thread Patrick Proniewski
Hello, > On 17 juin 2020, at 16:28, Wietse Venema wrote: > > Patrick Proniewski: >> Jun 17 12:34:20 postfix-mailgw/smtp[77347]: 57F56EB256: >> to=, orig_to=, >> relay=Exchange-VIP[Exchange-VIP]:25, delay=0.01, delays=0.01/0/0/0, >> dsn=5.6.7, sta

Re: SMTPUTF8 problem with Exchange servers

2020-06-18 Thread Patrick Proniewski
Hello, > On 17 juin 2020, at 22:48, @lbutlr wrote: > > On 17 Jun 2020, at 14:00, Patrick Proniewski wrote: >> Not possible yet. A flag exists for Exchange 2019 but we are running 2016 >> now and upgrade is not scheduled for now. > > Perhaps showing the

Re: SMTPUTF8 problem with Exchange servers

2020-06-17 Thread Patrick Proniewski
Hi, > On 17 juin 2020, at 15:42, Bastian Blank > wrote: > > On Wed, Jun 17, 2020 at 02:37:23PM +0200, Patrick Proniewski wrote: >> For some time now I notice that some messages, either originating from >> Internet or from internal servers are bounced when they ar

Re: SMTPUTF8 problem with Exchange servers

2020-06-17 Thread Patrick Proniewski
Hi, > On 17 juin 2020, at 15:08, Matus UHLAR - fantomas wrote: > > On 17.06.20 14:37, Patrick Proniewski wrote: >> I have at work a Postfix infrastructure that sits between Internet and our >> Exchange servers. Postfix is used for MX and SMTP roles, ensure filtering &

SMTPUTF8 problem with Exchange servers

2020-06-17 Thread Patrick Proniewski
Hello, I have at work a Postfix infrastructure that sits between Internet and our Exchange servers. Postfix is used for MX and SMTP roles, ensure filtering with Amavisd/Clamav/etc. For some time now I notice that some messages, either originating from Internet or from internal servers are

Re: dnsblog filtering?

2020-06-09 Thread Patrick Proniewski
Hi, > On 10 juin 2020, at 05:22, PGNet Dev wrote: > > On 6/9/20 8:15 PM, Noel Jones wrote: >> Postfix assumes the logs are private. > > They generally are. The very-recent switch to BLs with Acct-ID's is new, and > complicated that a bit. > >> To sanitize the log, you'll need to use an

Re: Preferred/maintained greylisting options?

2020-05-25 Thread Patrick Proniewski
On 25 mai 2020, at 13:56, Michael wrote: > > I've found the Barracuda rbl to be very useful. > > https://www.barracudacentral.org/rbl I'm using paid spamhaus RBL (local zone file rsynched) for a very long time, at work, and we are very happy about it. I use complementary RBL also like

Re: Preferred/maintained greylisting options?

2020-05-25 Thread Patrick Proniewski
Hello, > On 25 mai 2020, at 03:59, Vincent Pelletier wrote: > > On Fri, May 22, 2020 at 5:43 AM Ralph Seichter wrote: >> Yeah, delays... Used to be people understood the difference between >> asynchronous messaging (i.e. email) and instant messaging. Nowadays it >> seems that no day goes by

Re: filtering locally submitted emails / tidying up the config

2020-05-02 Thread Patrick Proniewski
aders. My bad. thank you all. patpro > On 02 mai 2020, at 19:36, Patrick Proniewski wrote: > > On 02 mai 2020, at 19:25, Matus UHLAR - fantomas wrote: >> >> On 02.05.20 17:46, Patrick Proniewski wrote: >>> well in fact I've tried the default se

Re: filtering locally submitted emails / tidying up the config

2020-05-02 Thread Patrick Proniewski
On 02 mai 2020, at 19:25, Matus UHLAR - fantomas wrote: > > On 02.05.20 17:46, Patrick Proniewski wrote: >> well in fact I've tried the default settings first ("client" as per >> <https://manpages.debian.org/testing/amavisd-milter/amavisd-milter.8.en.html#D>

Re: filtering locally submitted emails / tidying up the config

2020-05-02 Thread Patrick Proniewski
> On 02 mai 2020, at 18:09, Bob Proulx wrote: > >> Unfortunately I've discovered that Amavisd is unable to add headers >> I want as it would do as an smtp proxy filter. >> It will properly add: >> >> X-Virus-Scanned: my custom tag >> X-Crm114-Status: UNSURE ( 6.79 ) > > Those two

Re: filtering locally submitted emails / tidying up the config

2020-05-02 Thread Patrick Proniewski
On 02 mai 2020, at 15:13, Bastian Blank wrote: > > On Sat, May 02, 2020 at 11:40:52AM +0200, Patrick Proniewski wrote: >> It negates the benefit you were writing about as amavisd-milter will drop >> the message on the milter interface (postfix/cleanup[26401]: 87E5316135:

Re: filtering locally submitted emails / tidying up the config

2020-05-02 Thread Patrick Proniewski
On 02 mai 2020, at 14:19, Wietse Venema wrote: > > Patrick Proniewski: >> It negates the benefit you were writing about as amavisd-milter >> will drop the message on the milter interface (postfix/cleanup[26401]: >> 87E5316135: milter-discard: END-OF-MESSAGE from localho

Re: filtering locally submitted emails / tidying up the config

2020-05-02 Thread Patrick Proniewski
On 01 mai 2020, at 18:28, Wietse Venema wrote: >> >> would there be a performance/functionality penalty switching from >> smtpd_proxy_filter to smtpd_milters/non_smtpd_milters? > > It will be faster, because it avoids the need to deliver the whole > message outside of Postfix, and then to

Re: filtering locally submitted emails / tidying up the config

2020-05-01 Thread Patrick Proniewski
Thanks Wietse, > On 01 mai 2020, at 15:37, Wietse Venema wrote: > > Patrick Proniewski: >> I really feel like my setup needs some cleanup and I'm not sure were to >> start. Some of you have suggested to me, in the past, that I could move to >> amavisd-milter in

filtering locally submitted emails / tidying up the config

2020-05-01 Thread Patrick Proniewski
Hello, I've been using postfix with great success and delight for many years now, but my config has become quite messy over time, with additions like dkim/spf/dmarc and various filtering options. I'm currently having a problem with some locally generated emails (eg. sendmail command). I would

Re: Building recipient maps from Exchange/O365

2020-02-09 Thread Patrick Proniewski
Hi, I'm using an hourly shell script to retrieve from our AD the proper LDAP records, and an AWK script to transform this output into an alias map (our Exchange setup uses a different internal address from the public external address). This alias map is later used to create a list of allowed

Re: Postfix web interface for log analysis

2019-11-14 Thread Patrick Proniewski
Hi Emanuel, > Is there any web interface exists for postfix email log analysis? What I > need is to see all the logs through web interface, see the reports of > rejection, deferred, bounces, success etc. w.r.t. datetime and/or domain > filter etc. If you have a moderate volume of logs (less

Re: 5XX vs 4XX

2019-11-02 Thread Patrick Proniewski
Hi > On 02 nov. 2019, at 19:44, John Schmerold wrote: > > I have a few email addresses that were valid 15 years ago, but they have been > invalid for 5+ years, we are rejecting them with a 450 message, my thought is > "Let's tie up this spammer's computer just a little bit" > > Good idea?

Re: how to use (open)dmarc when already doing before-queue content filtering?

2019-02-25 Thread Patrick Proniewski
On 25 févr. 2019, at 20:23, Peter wrote: > > On 24/02/19 08:47, Patrick Proniewski wrote: >> I'm also using postscreen, but it doesn't provide the same filtering >> as a regular greylist. And milter-greylist is nice enough to >> synchronise between multiple MX se

Re: how to use (open)dmarc when already doing before-queue content filtering?

2019-02-25 Thread Patrick Proniewski
On 25 févr. 2019, at 19:55, Viktor Dukhovni wrote: > > On Mon, Feb 25, 2019 at 07:43:49PM +0100, Patrick Proniewski wrote: > >> Then, I'm currently trying another approach. In my current setup, I've an >> amavisd sandwich: outer-smtp->amavisd->inner-smtp. I can't put

Re: how to use (open)dmarc when already doing before-queue content filtering?

2019-02-25 Thread Patrick Proniewski
Hi, > On 23 févr. 2019, at 23:03, Matus UHLAR - fantomas wrote: > >> Anyway is there any alternative to opendmarc that would be compatible with >> BQCF? I realize a good place for that would be inside Amavisd-new, but >> this feature is not available :/ > > whatever it is, running it as

Re: how to use (open)dmarc when already doing before-queue content filtering?

2019-02-23 Thread Patrick Proniewski
On 23 févr. 2019, at 20:58, Viktor Dukhovni wrote: > >> On Feb 23, 2019, at 2:47 PM, Patrick Proniewski wrote: >> >> My try was a reply to Andrey saying that it's working and I should try. > > Milters that inspect message content can only be used downstream of any

Re: how to use (open)dmarc when already doing before-queue content filtering?

2019-02-23 Thread Patrick Proniewski
On 23 févr. 2019, at 18:49, Matus UHLAR - fantomas wrote: > > I believe you read it correctly, and I found it interesting that something > is documented, behaves like documented and yet you wonder about it. I don't wonder about it. See my first post where I wrote: > I would like to add

Re: how to use (open)dmarc when already doing before-queue content filtering?

2019-02-23 Thread Patrick Proniewski
Hello, > On 22 févr. 2019, at 23:20, Andrey Repin wrote: > >> I would like to add opendmarc for DMARC checking of inbound emails but it >> looks like it's only available as a milter. Unfortunately, last time I'v >> checked, milter couldn't modify emails when used in a before-queue content >>

how to use (open)dmarc when already doing before-queue content filtering?

2019-02-22 Thread Patrick Proniewski
Hello, I'm using postfix for years with this setup : milter-greylist policyd-spf in check_policy_service amavisd-new as a before-queue content filter opendkim signature for outbound emails It's working really great. I would like to add opendmarc for DMARC checking of inbound emails but it

Re: log format (feature request)

2014-04-17 Thread Patrick Proniewski
On 17 avr. 2014, at 08:33, Robert Schetterer wrote: perhaps off topic, with using postix and graylog2 i was advised to use massive pre filter with syslog daemon before inject to graylog2 so this may help you tmp too, but for sure ,its very complex I'm currently trying to adapt grok patterns

log format (feature request)

2014-04-16 Thread Patrick Proniewski
Hi all, I love Postfix and I use it everywhere I can. At work, I now have about 6 of them for different uses. My MX alone accepts about 1 million messages per month. I must (forensic/support request/law) keep logs from all these Postfix servers, and more importantly I must be able to

Re: log format (feature request)

2014-04-16 Thread Patrick Proniewski
On 16 avr. 2014, at 21:39, Wietse Venema wrote: Patrick Proniewski: That would be really awesome if Postfix could log into a structured format. I'm thinking about JSON, because that's what logstash/elasticsearch eats. But any key=value output is fine. Any plan about such a feature/option

limited syntax in regexp:header_checks ?

2013-05-16 Thread Patrick Proniewski
, Patrick PRONIEWSKI -- Responsable pôle Opérations - DSI - Université Lumière Lyon 2 Responsable Sécurité des Systèmes d'Information

Re: limited syntax in regexp:header_checks ?

2013-05-16 Thread Patrick Proniewski
On 16 mai 2013, at 14:26, Wietse Venema wrote: Patrick Proniewski: Hello, I'm trying to create an header_check filter (regexp format) that would issue a warning (or info) when the References: header is longer than 800 characters. I've discovered that using this kind of syntax won't work

header_checks oddities

2013-04-26 Thread Patrick Proniewski
Hello, Few months ago, I've switched my postfix setup from regular greylisting to milter greylisting, and it appears to have changed few things about header_checks I didn't notice until yesterday. My setup uses before-queue content filtering: # Before-filter SMTP server. Receive mail from the

Re: postfix / dkim: no signature for emails submitted through ssh tunnel

2013-03-18 Thread patrick . proniewski
Finally, after an interesting discussion over this issue on opendkim-users, I've been able to google my way out, with a solution from Wietse: http://postfix.1071664.n5.nabble.com/Any-best-practices-for-stacking-filters-td51592.html thanks, On 17 mars 2013, at 14:51, patrick.proniew...@free.fr

Re: postfix / dkim: no signature for emails submitted through ssh tunnel

2013-03-17 Thread patrick . proniewski
On 17 mars 2013, at 00:38, Noel Jones wrote: On 3/16/2013 2:51 PM, patrick.proniew...@free.fr wrote: Hello, I have a small problem with my postfix/dkim setup: - dkim properly sign every emails I send via my webmail frontend, crontab, or the mail command from the server. - dkim won't

postfix / dkim: no signature for emails submitted through ssh tunnel

2013-03-16 Thread patrick . proniewski
Hello, I have a small problem with my postfix/dkim setup: - dkim properly sign every emails I send via my webmail frontend, crontab, or the mail command from the server. - dkim won't sign emails I send from my workstation to my server via an ssh tunnel. transcript for a webmail sending:

enabling double delivery for some users

2012-11-24 Thread Patrick Proniewski
Hello, I want to enable double delivery for selected users into my MX servers. My MX servers (I have two, load balanced through a Cisco ACE) are only relay servers, once filtered and accepted, emails are transported to a gateway that performs, if needed address rewrite, and dispatch. On MX

Re: enabling double delivery for some users

2012-11-24 Thread Patrick Proniewski
On 24 nov. 2012, at 23:40, Wietse Venema wrote: I believe the same properties hold with recipients added via recipient_bcc_maps (automatic NOTIFY=NEVER up to the last forward-path MTA that supports DSN). Therefore, it may be simpler to use bcc maps, rather than implement a proxy filter or

Re: Questions about queue cli commands

2011-06-27 Thread Patrick Proniewski
) - postsuper -r ALL -r is not for retry, it's for requeue. Don't use it unless you really want the requeue process to be done. Use postqueue -f instead. Patrick PRONIEWSKI -- Administrateur Système - DSI - Université Lumière Lyon 2 smime.p7s Description: S/MIME cryptographic signature

Re: virtual aliases and unlisted email addresses

2011-06-10 Thread Patrick Proniewski
On 9 juin 2011, at 17:46, Victor Duchovni wrote: On Thu, Jun 09, 2011 at 10:12:17AM +0200, Patrick Proniewski wrote: On 8 juin 2011, at 18:15, Victor Duchovni wrote: On Wed, Jun 08, 2011 at 11:33:48AM +0200, Patrick Proniewski wrote: After the period of double delivery is over, we

Re: virtual aliases and unlisted email addresses

2011-06-09 Thread Patrick Proniewski
On 8 juin 2011, at 18:15, Victor Duchovni wrote: On Wed, Jun 08, 2011 at 11:33:48AM +0200, Patrick Proniewski wrote: After the period of double delivery is over, we will deliver emails only to Google servers. So the virtual aliases map is to look like: public-addr...@univ-lyon2.fr

virtual aliases and unlisted email addresses

2011-06-08 Thread Patrick Proniewski
...@univ-lyon2.fr ... The first line looks pretty silly to me. Is there any way to tell that addresses not listed in virtual aliases map are to be forwarded as is ? Thanks, Patrick PRONIEWSKI -- Administrateur Système - DSI - Université Lumière Lyon 2

Re: timeout trouble with postfix and amavisd in BQCF

2010-09-08 Thread Patrick Proniewski
. I've found this about amavisd and BDB performance problem on FreeBSD: http://www.mail-archive.com/amavis-u...@lists.sourceforge.net/msg15381.html I'll test ASAP. regards, Patrick PRONIEWSKI -- Administrateur Système - SENTIER - Université Lumière Lyon 2 smime.p7s Description: S/MIME

Re: timeout trouble with postfix and amavisd in BQCF

2010-09-03 Thread Patrick Proniewski
-liste send huge bursts of emails (like 3 recipients in 2-3 minutes), and it can greatly impact normal email delivery. So I throttle smtp-liste so that physical users emails posted via smtp are not delayed by a (useless) corporate emailing. Thank you very much for your reply Patrick

Re: timeout trouble with postfix and amavisd in BQCF

2010-09-03 Thread Patrick Proniewski
users, 3% of our total users list), so we have many emails going from mailgw to smtp. But I don't see how few more emails can wreak havoc in amavisd. That would be a good idea to plug mailgw-to-smtp traffic on an smtpd without filtering. Patrick PRONIEWSKI -- Administrateur Système - SENTIER

Re: timeout trouble with postfix and amavisd in BQCF

2010-09-03 Thread Patrick Proniewski
... I'll double check my settings, but in theory, I don't use RBL for inside email traffic filtering. Patrick PRONIEWSKI -- Administrateur Système - SENTIER - Université Lumière Lyon 2

timeout trouble with postfix and amavisd in BQCF

2010-09-02 Thread Patrick Proniewski
smtp_destination_concurrency_limit to 1, so that other more legitimate clients (3 physical users) can still send emails during a local emailing. Let me know if you need other info… Patrick PRONIEWSKI -- Administrateur Système - SENTIER - Université Lumière Lyon 2 smime.p7s Description: S/MIME cryptographic

Re: Better spam filter for postfix

2010-07-16 Thread Patrick Proniewski
have a similar limitation: it's illegal to destroy a communication (mail, email…). With BQCF spam is rejected, not destroyed. Patrick PRONIEWSKI -- Administrateur Système - SENTIER - Université Lumière Lyon 2 smime.p7s Description: S/MIME cryptographic signature