rspamd compatibility

2016-10-16 Thread mabi
Hello, Did anyone already succesfully integrate rspamd with OpenSMTPD ? I would be interested to know if both products work nicely together and if anyone has any example of working config. Regards M.

Re: pkg_add thinks I am still on 5.9

2017-04-30 Thread mabi
My bad I had the PKG_PATH env var pointing to 5.9 in my .profile. Thanks for the great 6.1 release! Original Message Subject: pkg_add thinks I am still on 5.9 Local Time: April 30, 2017 12:00 AM UTC Time: April 29, 2017 10:00 PM From: m...@protonmail.ch To: misc@opensmtpd.org

Fail2Ban filter for OpenSMTPD

2017-06-17 Thread mabi
Hi there, Does anyone have a fail2ban filter for OpenSMTPD? I would like to block the many many AUTH LOGIN attempts as you can see here from the logs: Jun 17 11:55:49 gw smtpd[594]: 7eeebcc95623efe1 smtp event=failed-command command="AUTH LOGIN" result="503 5.5.1 Invalid command: Command not

Re: Enabling route every 2 seconds in a loop

2017-05-24 Thread mabi
> a écrit : On 05/23/17 13:03, mabi wrote: Hello, My OpenSMTPd 6.0.2p1 mail gateway is somehow looping indefinitely with the following log output every 2 seconds: May 23 20:00:44 mgw smtpd[28997]: smtp-out: Enabling route [] <-> 163.114.21.130 (mtagated.edf.fr) May 23 20:00:44 mgw smtpd[28997]

Check first if user exists before sending to Amavis for scanning

2018-12-31 Thread mabi
quot; match tag AMAVIS for domain action "lmtp_dovecot" match tag AMAVIS for any action "relay" match from any for domain action "relay_amavis" match for any action "relay" <...> Regards, Mabi -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Re: Check first if user exists before sending to Amavis for scanning

2018-12-31 Thread mabi
‐‐‐ Original Message ‐‐‐ On Monday, December 31, 2018 7:29 PM, wrote: > pretty sure you just need... > action "relay_amavis" relay host smtp://127.0.0.1:10024 virtual That would have been very nice, unfortunately the "virtual" parameter does not seem to work with relay as I get a

Re: Check first if user exists before sending to Amavis for scanning

2018-12-31 Thread mabi
‐‐‐ Original Message ‐‐‐ On Monday, December 31, 2018 11:56 PM, wrote: > That seems weird. Perhaps there is something extra to configure in amavis to > keep this from happening. Then > again if it works it works. Maybe, i'll check the default amavis config file if I can find an option

Re: Check first if user exists before sending to Amavis for scanning

2018-12-31 Thread mabi
‐‐‐ Original Message ‐‐‐ On Monday, December 31, 2018 8:29 PM, wrote: > no worries. I'm sure its still possible. Could you post your full config with > the listen directives. That would be cool :) Below is my full smtpd.conf... # PKI pki mx.mydomain.org cert

Re: Check first if user exists before sending to Amavis for scanning

2018-12-31 Thread mabi
‐‐‐ Original Message ‐‐‐ On Monday, December 31, 2018 9:44 PM, wrote: > be forwarned I haven't used amavis in a few years. No problem you got it right anyway, amavis listens on port 10024 and sends it back to OpenSMTPD on 10025 ;) I wasn't aware about the mailaddr table but that does

Re: Support of plus character in email address

2019-01-02 Thread mabi
‐‐‐ Original Message ‐‐‐ On Wednesday, January 2, 2019 5:03 PM, Edgar Pettijohn wrote: > https://www.postgresql.org/docs/9.3/functions-matching.html > > You will likely need to use some of the regex functions to pull out the user > and domain from $1. How did I not think about this

Re: FAQ gone?

2018-12-12 Thread mabi
2018 at 1:40 PM mabi m...@protonmail.ch wrote: > > > Hi, > > I was wondering where did the FAQ section on the opensmtpd.org website > > disappear? > > It had useful setup examples with LMTP and Dovecot if I remember > > correctly... > > Regards, > &

FAQ gone?

2018-12-12 Thread mabi
Hi, I was wondering where did the FAQ section on the opensmtpd.org website disappear? It had useful setup examples with LMTP and Dovecot if I remember correctly... Regards, Mabi -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc

different lmtp destinations from table for mail delivery depending on email address

2018-12-26 Thread mabi
h basically only allows me to deliver to one single mailbox server. If I guess I could still use Dovecot's LMTP proxying feature for that purpose but I think it would be much smarter to do that in OpenSMTPD directly. Anyone know if this is possible or have an alternative idea how to do that? Bes

Re: different lmtp destinations from table for mail delivery depending on email address

2018-12-27 Thread mabi
one action per dovecot shard, then one match per > shard with an rcpt-to criteria pointing to a table containing the recipients > for that shard. > > I’d do that in dovecot myself. > > Cheers, > > > On 26 Dec 2018, at 22:24, mabi m...@protonmail.ch wrote: > > Hell

Re: different lmtp destinations from table for mail delivery depending on email address

2018-12-27 Thread mabi
‐‐‐ Original Message ‐‐‐ On Thursday, December 27, 2018 2:09 PM, Craig Skinner wrote: > Can your public MX machine route to your private IMAP machines via SMTP? > > Each of your IMAP servers would have an MTA on it. > > Make those MTAs send via LMTP to the local Dovecot over a UNIX

Issues with Thunderbird and STARTTLS (Pipelining not supported)

2018-12-17 Thread mabi
not supported Is Thunderbird somehow so broken that it doesn't even respect that OpenSMTPD does not support SMTP pipelining? I am using Thunderbird 60.3.0... Any workarounds? Also I was wondering if OpenSMTPD supports other authentication types additionally to PLAIN and LOGIN? Regards, Mabi

Re: Issues with Thunderbird and STARTTLS (Pipelining not supported)

2018-12-17 Thread mabi
‐‐‐ Original Message ‐‐‐ On Monday, December 17, 2018 1:49 PM, Matt Schwartz wrote: > Right off the bat, I think the mask-src might be causing a problem. I know > that Thunderbird does some weird stuff and it doesn't play well with > OpenSMTPD's correct implementation of smtps but

Support of plus character in email address

2019-01-02 Thread mabi
s out "550 Invalid recipient". Cheers, Mabi -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Re: Support of plus character in email address

2019-01-02 Thread mabi
‐‐‐ Original Message ‐‐‐ On Wednesday, January 2, 2019 1:53 PM, Oscar Carlsson wrote: > As far as I know sub-addressing is enabled by default. I haven't found > anything in my configuration that explicitly enables it, but it works > out of the box here. That's also what I thought by

Re: Support of plus character in email address

2019-01-02 Thread mabi
‐‐‐ Original Message ‐‐‐ On Wednesday, January 2, 2019 3:16 PM, Edgar Pettijohn wrote: > I recently switched to dspam. It ties into smtpd very similarly to amavis > Plus it doesn't appear to need the additional table, and > delimeters still work out of the box. Everything you need to

Re: LMTP delivery broken in 6.5?

2019-05-24 Thread mabi
‐‐‐ Original Message ‐‐‐ On Friday, May 24, 2019 10:42 AM, Nick Ryan wrote: > This doesn't really match your set up, but I have OpenBSD 6.5, dovecot > 2.3.5.1 and opensmtpd running with the same action line and it's fine. > No errors or issues - I'm not using dovecot proxies however.

Re: LMTP delivery broken in 6.5?

2019-05-26 Thread mabi
Just to get back to all of you guys using OpenSMTPD with Dovecot on OpenBSD 6.5 who might also encounter this issue: there is indeed a workaround in Dovecot which is to basically unset the login_trusted_networks parameter for the LMTP protocol like this: protocol lmtp {

Re: LMTP dovecot doesn't accept bounces

2019-05-26 Thread mabi
cial OpenBSD 6.5 errata/patches (https://www.openbsd.org/errata65.html)? Best regards, Mabi ‐‐‐ Original Message ‐‐‐ On Saturday, May 18, 2019 2:55 PM, David Flatz wrote: > Hello everybody > > Thanks for opensmtpd! > > I have following config (opensmtpd is compiled with --

Simple way of blocking relay of spam on submission port 587

2019-06-20 Thread mabi
want them to be tagged I just really want them to be blocked full stop. Cheers, Mabi -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

LMTP delivery broken in 6.5?

2019-05-23 Thread mabi
/mail.lmtp -f some...@domain.tld -d /var/dovecot/lmtp m...@mydomain.tld Any ideas what could be going wrong here? or is it possibly a bug in 6.5? Best regards, Mabi -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Re: LMTP delivery broken in 6.5?

2019-05-23 Thread mabi
‐‐‐ Original Message ‐‐‐ On Thursday, May 23, 2019 12:34 PM, mabi wrote: > I still think something is not quite right here as it works perfectly with > OpenSMTPD 6.4.0 but not with 6.5.0. I think I found the stinky fish here and that would be Dovecot 2.3.5 with the following bug

Re: LMTP delivery broken in 6.5?

2019-05-23 Thread mabi
‐‐‐ Original Message ‐‐‐ On Thursday, May 23, 2019 12:14 PM, Edgar Pettijohn wrote: > Make sure dovecot is running and listening at that path. Netcat should help. Dovecot is running and I can connect to its LMTP socket file using "nc -U /var/dovecot/lmtp" on my MX server. > You are

Re: what's your LMTP use-case

2019-07-05 Thread mabi
‐‐‐ Original Message ‐‐‐ On Friday, July 5, 2019 5:25 PM, Edgar Pettijohn wrote: > I'm using dovecot for imap so might as well let it handle the delivery also. > Not much of a reason but it's it. Same here, Dovecot "dictates" me to use LMTP... -- You received this mail because you

Re: new reporting events

2019-07-14 Thread mabi
‐‐‐ Original Message ‐‐‐ On Sunday, July 14, 2019 11:41 AM, Gilles Chehade wrote: > Note that I'm PARTICULARLY thrilled about 1- and 2-, because it means we > are now VERY VERY VERY sysadmin friendly when it comes to monitoring and > alerting: pushing useful metrics to elasticsearch has

Re: RBLs?

2019-07-02 Thread mabi
‐‐‐ Original Message ‐‐‐ On Tuesday, July 2, 2019 11:44 AM, Gilles Chehade wrote: > if you configure rspamd to flag spam mail as reject, smtpd will reject them. Glad to hear that this is possible with rspamd! Because with SpamAssassin it is only possible to tag the mail as spam but not

Re: RBLs?

2019-07-02 Thread mabi
‐‐‐ Original Message ‐‐‐ On Sunday, June 30, 2019 1:46 PM, Gilles Chehade wrote: > I'm currently working on bringing a filter-rspamd to life, see: > > https://poolp.org/posts/2019-06-30/june-2019-report-fion-bpg-and-smtpd/ Fantastic Gilles, thanks for your great work! I am looking

Re: Multiple query_mailaddr when using table_postgresql not possible

2019-08-12 Thread mabi
‐‐‐ Original Message ‐‐‐ On Monday, August 12, 2019 11:44 AM, Reio Remma wrote: > Whilst I have no experience with the new OpenSMTPD, I have my 6.0.3 > working with MySQL and 2 separate query_mailaddr (recipients and > blacklist). I solved it by simply putting the blacklist

Limit max recipients per mail setting gone?

2019-08-04 Thread mabi
the same limit? Regards, Mabi

Multiple query_mailaddr when using table_postgresql not possible

2019-08-12 Thread mabi
067]: warn: duplicate key query_mailaddr domains[19067]: fatal: error parsing config file Does anyone know how I can still achieve that? Maybe with another type of "query_" but which one? Best regards, Mabi

Re: Limit max recipients per mail setting gone?

2019-08-07 Thread mabi
‐‐‐ Original Message ‐‐‐ On Tuesday, August 6, 2019 1:40 PM, Gilles Chehade wrote: > Indeed, this somehow didn't get documented, please open an issue on our > tracker so I take care of this when I get home in a few days. > > meanwhile, smtp limits are as follow: > > smtp limit max-mails

Re: How to set from: for bounce mails from OpenSMTPD

2020-02-24 Thread mabi
‐‐‐ Original Message ‐‐‐ On Friday, February 14, 2020 5:48 PM, Thomas Bohl wrote: > I have the same problem (my logs look the same) and are very interested > in a solution. I was wondering which version of OpenBSD are you using? and which version of Dovecot? Have you found a solution

Re: How to set from: for bounce mails from OpenSMTPD

2020-03-03 Thread mabi
‐‐‐ Original Message ‐‐‐ On Monday, February 24, 2020 9:03 PM, Thomas Bohl wrote: > Fully syspatched and 'pkg_add -u'ed > OpenBSD 6.5 > OpenSMTPD 6.5.0 > dovecot-2.3.9.2v0 I use exactly the same versions. > I usually upgrade in a timely manner to the latest stable, but due to >

How to set from: for bounce mails from OpenSMTPD

2020-02-10 Thread mabi
n my smtpd.conf config in order to solve this issue? Cheers, Mabi