Re: filter-mimedefang temporary error

2023-06-24 Thread giovanni
On 6/24/23 01:23, J Doe wrote: Hi list and Giovanni, I *think* I might have figured out what was wrong ... [...] So it appears that the following steps should be taken when installing the mimedefang filter for OpenSMTPD: $ doas pkg_add filter-mimedefang $ doas pkg_add p5-Net-DNS

Re: filter-mimedefang temporary error

2023-06-15 Thread giovanni
with related MIMEDefang errors ? Thanks Giovanni OpenPGP_signature Description: OpenPGP digital signature

Re: Using MySQL procedures

2023-02-22 Thread giovanni
$$ CREATE PROCEDURE get_aliases(IN email_var VARCHAR(255)) BEGIN     SELECT destination FROM virtuals WHERE email = email_var; END $$ DELIMITER ; I am using MySQL views for this purpose and they works without issues, maybe this can be useful in your case as well. Giovanni I changed line

Re: smtpctl: lookup_record: %{i}._spf.mta.salesforce.com contains macros and can't be resolved

2023-01-26 Thread giovanni
SPF macros afaik. Giovanni OpenPGP_signature Description: OpenPGP digital signature

MIMEDefang support for OpenSMTPd

2023-01-16 Thread Giovanni Bechis
work without issues. The filter can be downloaded from https://mimedefang.org/download/, code is available at https://github.com/The-McGrail-Foundation/MIMEDefang-smtpd-filter. Cheers Giovanni signature.asc Description: PGP signature

Re: OpenSMTPD ignores the system time zone in mail header and logfile

2022-11-04 Thread Giovanni Bechis
; The following diff creates Received headers with - values. Cheers Giovanni Index: to.c === RCS file: /cvs/src/usr.sbin/smtpd/to.c,v retrieving revision 1.48 diff -u -p -r1.48 to.c --- to.c14 Jun 2021 17:58:16 -

Re: Problem using senders table in listen directive

2019-10-14 Thread Giovanni Bechis
On 10/12/19 4:46 PM, y38...@protonmail.com wrote: > SELECT (username||'@'||domain) FROM users WHERE ? LIKE mailbox I think it should read SELECT (username||'@'||domain) FROM users WHERE mailbox LIKE ? typo or error ? Giovanni

Re: Filters and rctp-to rewrite.

2019-09-10 Thread Giovanni Bechis
On 9/9/19 7:16 PM, Reio Remma wrote: > On 09.09.2019 20:03, Giovanni Bechis wrote: >>> I'm currently using amavisd-new with the quarantine feature, but I'm >>> itching to switch to Rspamd (greylisting here I come!). >>> >> amavisd-new 2.12 has rspamd support,

Re: Filters and rctp-to rewrite.

2019-09-09 Thread Giovanni Bechis
On 9/9/19 6:48 PM, Reio Remma wrote: > On 09.09.2019 18:13, Martijn van Duren wrote: >> On 9/9/19 3:37 PM, Reio Remma wrote: >>> Hello! >>> >>> Slowly digging into filters. >>> >>> Now I'm curious if it's possible to modify the recipient after say spam >>> check in data-line? I get the impression

Re: RBLs?

2019-07-03 Thread Giovanni Bechis
sin, that way smtpd could reject based on SpamAssassin tags. Giovanni -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Re: How can I integrate opensmtpd with opendkim?

2019-01-30 Thread Giovanni Bechis
Atm I am using amavisd-new with clamav and spamassassin disabled to sign dkim on a send-only server with opensmtpd. Cheers Giovanni On 1/30/19 6:18 PM, Sergey Seacher wrote: > I use Centos 7. There is packages perl-Mail-DKIM and opendkim in repository, > but there is not >

Re: tool-stats

2016-09-06 Thread Giovanni Bechis
-stats - smtpd log statistics (c) 2016 Joerg Jung Thu Sep 06 09:00:02 - Thu Sep 06 18:19:33 Messages: smtp: 6533 mta: 6509 mda: 0 reject: 0 Throughput: 700.57 mails/hour 44.67 mbytes/hour - Cheers Giovanni > # zcat /var/log/mail

Re: Filters

2016-01-01 Thread Giovanni Bechis
S BLs with OpenSMTPD. Until I >can >do that, I do not want to deploy it. > >I can see the API code in the source try but not the instructions on >how >to use it. > >I found the document 'opensmtpd-LinuxCon2015.conf' by Giovanni Bechis >and >it seem

Re: Configuring opensmtpd to send local mails via smarthost

2015-11-25 Thread Giovanni Bechis
ten on lo > table secrets_for_relay_via db:/etc/opensmtpd/secrets_for_relay_via.db > accept from local for any relay via > secure+auth://tomaszdrozdz_interia...@poczta.interia.pl auth > > expire 4h > accept from local for any relay via secure+auth://la...@poczta.interia.p

Re: Please help greenhorn to send email.

2015-11-11 Thread Giovanni Bechis
ame and you dns then. At least your hostname should resolve to something. Cheers Giovanni -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Re: Please help greenhorn to send email.

2015-11-10 Thread Giovanni Bechis
It is hard for me to google out the "idea draft" of smart host) > you should use "relay via" and use an account created by your isp if you do not want to send emails directly via your server. Cheers Giovanni -- You received this mail because you are subscribed to misc

Re: Please help greenhorn to send email.

2015-11-09 Thread Giovanni Bechis
guess configuring DNS on > my Linux host is to much work for me - am I right ?] - and the question is: I > could install DNS on my Linux host and dont care about my company DNS system > ?] > if your dns is managed by your company, your company should create at least an A record for your

Re: Please help greenhorn to send email.

2015-10-30 Thread Giovanni Bechis
On 10/30/15 12:25, tomaszdro...@interia.eu wrote: > Giovanni Bechis" <giova...@paclan.it> >> what is the output of `hostname`, `hostname --fqdn` and `dnsdomainname` ? >> Your hostname whould be in fqdn format, not just the name of the host. >> Cheers >>

Re: Please help greenhorn to send email.

2015-10-30 Thread Giovanni Bechis
On 10/30/15 11:49, tomaszdro...@interia.eu wrote: [...] > 7) cat /etc/hostname > se-gips > > 8) cat /etc/resolv.conf > what is the output of `hostname`, `hostname --fqdn` and `dnsdomainname` ? Your hostname whould be in fqdn format, not just the name of the host. Cheers Gi

Re: Please help greenhorn to send email.

2015-10-29 Thread Giovanni Bechis
;smtpd11416 11410 0 11:44 ?00:00:00 smtpd: klondike > >4) mailx -s "hello" "tomaszdro...@interia.eu" > >5) Problems > >A) sudo smtpctl show queue > >c823c60ac80192be|local|mta|auth|@|tomek@se-gips|tomek@se-gips|1446115579|1446461179|0|8|inv

OpenSMTPD big deployments

2015-07-28 Thread Giovanni Bechis
Hi, in October I will give a talk at Linuxcon about OpenSMTPD, does anybody have some statistics about some big deployments ? Atm I have statistics only for my servers. Cheers Thanks Giovanni -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send

Re: Building dkimproxy on headless OpenBSD server with no X install sets

2015-03-12 Thread Giovanni Bechis
/02/16 18:10:21; author: jasper; state: Exp; lines: +2 -1; commitid: L4dxY4PfIGmB6s3k; hookup dkimproxy which seems to have been forgotten when originally imported ok sthen@ Giovanni -- You received this mail because you are subscribed to misc@opensmtpd.org

Re: OpenSMTPD on OpenBSD 5.6 backend MySQL

2015-02-10 Thread Giovanni Bechis
on current, I do not know if the current port will compile on 5.6 due to netdb.h change. Attached a couple of config files to start with, in mysql.conf you have to write your own sql queries. Cheers Giovanni # # Sample MySQL configuration file # hostlocalhost usernameuser

Re: OpenSMTPD Extras and libasr

2014-11-13 Thread Giovanni Bechis
does provide extras via packages, just pkg_add opensmtpd-extras. Cheers Giovanni Bechis -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Re: What form should query_credentials return?

2014-09-08 Thread Giovanni Bechis
such that query_credentials returns what OpenSMTPD expects? I think crypt would be a good choice since opensmtpd uses crypt(3) to check for passwords. Cheers Giovanni -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Re: Postgres?

2014-09-05 Thread Giovanni Bechis
=140845596917927w=2), if interested I have a quite-working port. Cheers Giovanni -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJUCfCxAAoJEI7Sc79XDlKKVzwH/1timymhqZvNWuFxr2EvLKMI

Re: Incomplete error messages from bounced emails?

2014-09-05 Thread Giovanni Bechis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/01/14 18:53, Hugo Osvaldo Barrera wrote: On 2014-09-01 11:46, Gilles Chehade wrote: On Sat, Aug 23, 2014 at 12:28:00PM -0300, Hugo Osvaldo Barrera wrote: On 2014-08-22 18:32, Giovanni Bechis wrote: On 08/22/14 14:30, Hugo Osvaldo Barrera

Re: [userbase] email in login field

2014-09-05 Thread Giovanni Bechis
even if a bit hacky from a sql point-of-view, I haven't checked the code how difficult would be to support email addresses as login. Cheers Giovanni -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Re: Incomplete error messages from bounced emails?

2014-08-22 Thread Giovanni Bechis
for details. Cheers Giovanni -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJT93C6AAoJEI7Sc79XDlKKLWkH+we5rr8BJrF86lk81z01wTsf xNGjo/2lly6zuIwYlknmeRqoJLUNOgj5xJrKIMen3YkveOdcq/aLl3yxBLN4pH9j cU

Re: Can't deliver messages: connection closed unexpectedly

2014-08-21 Thread Giovanni Bechis
cannot deliver (see log file), from outside Italy there are no problems. Cheers Giovanni Script started on Thu Aug 21 17:28:16 2014 $ sm  sudo smtpd -dv debug: init ssl-tree info: OpenSMTPD 5.4.3 starting debug: bounce warning after 4h debug: using fs queue backend debug: using ramqueue

Re: Can't deliver messages: connection closed unexpectedly

2014-08-21 Thread Giovanni Bechis
On 08/21/14 17:33, Giovanni Bechis wrote: On 08/21/14 15:59, Fabio Riga wrote: Hi list, I run an OpenBSD 5.5 server on a VPS with OpenSMTPd. I get the message Connection closed unexpectedly and a TempFail for every message sent to every domain of a very big Italian ISP. The TempFail last 4

[userbase] email in login field

2014-08-20 Thread Giovanni Bechis
/paclan.it/giovanni With the following conf the table_lookup tries to find a record with login=giovanni instead of login=giova...@paclan.it, is there a way to tell that the login field contains an email ? Thanks Giovanni # # Sample PostgreSQL configuration file # # This is an example configuration

Re: [userbase] email in login field

2014-08-20 Thread Giovanni Bechis
On 08/20/14 11:27, Martijn van Duren wrote: Hello Giovanni, When doing a login the username is always stripped from its domain part. For my setup (sqlite-based) I worked around this in the following manner (only important sections): I have to think if it is possible for me, I want to switch

Re: [userbase] email in login field

2014-08-20 Thread Giovanni Bechis
, syntax error in query alias, anyway in my alias table I haven't all users, just real aliases, so the query won't match. Thanks Cheers Giovanni -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org