Network error on destination MXs on MX that starts with "_"

2024-06-11 Thread Giovanni Bechis
Hi, recently I've found this error on my server: Jun 11 10:46:33 mx smtpd[97386]: mta delivery evpid=aa1ddab63539175b from= to= rcpt=<-> source="-" relay="example.com" delay=22h31m25s result="TempFail" stat="Network error on destination MXs" The destination domain MX record is:

MIMEDefang support for OpenSMTPd

2023-01-16 Thread Giovanni Bechis
Hi, I've just released the first version of mimedefang-smtpd-filter, an smtpd filter to use MIMEDefang together with OpenSMTPd. The filter is a bridge between smtpd(8) protocol and mimedefang-protocol(7); not all MIMEDefang features are currently supported but most mimedefang-filter scripts should

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

2022-11-04 Thread Giovanni Bechis
On Fri, Nov 04, 2022 at 12:51:17PM -0400, Stuart D Gathman wrote: > On Thu, 3 Nov 2022, Nils wrote: > > > The problem is probably Void Linux specific, since I don't have this > > problem on a OpenBSD installation. > > > P.S.: This is a cross-post of > > https://github.com/void-linux/void-package

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 rspam

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 t

Re: RBLs?

2019-07-03 Thread Giovanni Bechis
On 7/2/19 10:31 PM, mabi wrote: > ‐‐‐ 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 o

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 > dkimproxy. > > 30.

Re: people using elk / grafana ?

2018-11-24 Thread Giovanni Bechis
On Fri, Nov 09, 2018 at 05:08:48PM +0100, Gilles Chehade wrote: > HELO, > > I'm looking for people that are regular users of ELK / Grafana or alike. > I am using ELK for my servers, I have some logstash rules so I can take graphs from both postfix and smtpd(4) servers. Some info are relevant only

Re: tool-stats

2016-09-06 Thread Giovanni Bechis
On 09/06/16 18:10, Mischa wrote: > Hi All, > > Did something else change in 6.0 in regards to logging? > > tool-stats remains very empty. > in OpenBSD 6.0 works file, are you running portable (on Linux) ? - tool-stats - smtpd log stati

Re: Filters

2016-01-01 Thread Giovanni Bechis
l 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 seems to imply that filters are operati

Re: Configuring opensmtpd to send local mails via smarthost

2015-11-25 Thread Giovanni Bechis
On 11/25/15 16:25, tomaszdro...@interia.eu wrote: > :-( it still does not work > > > I have corrected: > > /etc/opensmtpd/secrets_for_relay_via: > label tomaszdro...@interia.eu:my_pasword > > /etc/opensmtpd/smtpd.conf: > accept from local for any relay via secure+auth://la...@poczta.i

Re: Configuring opensmtpd to send local mails via smarthost

2015-11-25 Thread Giovanni Bechis
On 11/25/15 13:41, tomaszdro...@interia.eu wrote: [...] I have something like this: > secrets_for_relay_via: > tomaszdrozdz_interia_eu:tomaszdrozdz:my_password > label tomaszdro...@interia.eu:password > makemap secrets_for_relay_via > > smtpd.conf: > listen on lo > table secrets

Re: Please help greenhorn to send email.

2015-11-11 Thread Giovanni Bechis
On 11/11/15 08:13, Mohammad H. Al Shami wrote: > What I personally do is have a single server in my network able to send > emails to the public, and all other servers just relay via that server. > > Makes handling DKIM/SPF/DMARC easier IMHO > you should correctly setup your hostname and you dns

Re: Please help greenhorn to send email.

2015-11-10 Thread Giovanni Bechis
On 11/10/15 11:54, tomaszdro...@interia.eu wrote: > May I have question about smart host ? > What is it, how does it work, what do I need, how to configure OPENSMTPD ? > > Is it kind of "relay via" ? > Do I need some mail account elsewhere for my OPENSMTD to log in ? > It is hard for me to google

Re: Please help greenhorn to send email.

2015-11-09 Thread Giovanni Bechis
On 11/09/15 17:22, tomaszdro...@interia.eu wrote: > So You suggest that for example: > > 1) > My Linux host <---> router <---> ISP > a) I should have static IP from my ISP and I should own my won domain ? > not necessarily but your hostname(1) should resolve to something; you can always use a sm

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" >> 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 >>Giovanni >> >

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 Giovanni -- You rec

Re: Please help greenhorn to send email.

2015-10-29 Thread Giovanni Bechis
tomaszdro...@interia.eu ha scritto: >Hallo opensmtpd mail list :-) > >I must say that I am "email server" greenhorn. >I also do not have much experience in net configuration. > >I want to have email server that will allow me to send emails from my >linux. >I search internet (sendmail, qmail, exim,

Re: smtpd fails on automatic startup

2015-10-11 Thread Giovanni Bechis
Holger Jahn ha scritto: >>> I agree with you that the network startup is probably part of the >>> problem, but I'm not sure why this isn't sufficient: > >Perhaps you have got an inconsistency in /etc/hosts, your network >interface, and DNS/DHCP, or something else down these lines. Host name >res

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 a

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

2015-03-12 Thread Giovanni Bechis
On 03/12/15 17:42, Gonzalo wrote: > what are you talking about?? > > onzalo : /usr/ports> sudo pkg_add -vi dkimproxy > Password: > Update candidates: quirks-2.54 -> quirks-2.54 > quirks-2.54 signed on 2015-03-08T12:33:05Z on 5.6 there is no package: revision 1.323 dat

Re: OpenSMTPD on OpenBSD 5.6 backend MySQL

2015-02-10 Thread Giovanni Bechis
On 02/10/15 16:20, Ultramedia Libertad wrote: > Greetings friends, > > I read that OpenSMTPD already have the option of mysql backend, > I would like to have an example of how to do it, > As that previously used postfix with 3 virtual domains and 10 virtual users > in total. > by the time my mail

Re: OpenSMTPD Extras and libasr

2014-11-13 Thread Giovanni Bechis
gt; OpenBSD-current 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: OpenSMTPD with mysql virtual users

2014-10-25 Thread Giovanni Bechis
On Wed, Oct 22, 2014 at 11:41:07AM +, Theron ZORBAS wrote: > Hi @list, > > I've installed OpenBSD 5.6-current from the 19/10/2014 snapshot: > > # uname -a > OpenBSD mail.mydom.local 5.6 GENERIC.MP#448 amd64 > > # pkg_info > gettext-0.19.2 GNU gettext > libiconv-1.14p1character

Re: What form should query_credentials return?

2014-09-08 Thread Giovanni Bechis
On 09/08/14 14:08, Nolan Darilek wrote: > I'm struggling to get OpenSMTPD working with DBMail. Seems I'm almost > there but not quite. Mail is arriving into my account, but I can't seem > to authenticate against the database due to authentication failures. > > Currently DBMail is storing my passwo

Re: [userbase] email in login field

2014-09-05 Thread Giovanni Bechis
On 09/01/14 11:56, Gilles Chehade wrote: > we may want to support email addresses as login, this can be discussed > it was not designed this way to start with because we didn't support > !system auth but this has changed and the use case has come up a few > times > at the moment my setup it's work

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: >>>> O

Re: Postgres?

2014-09-05 Thread Giovanni Bechis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/05/14 15:19, Hugo Osvaldo Barrera wrote: > Hi, > > For a while now I've been wanting to try the postgres support properly. I've > finally sat down to do it, but haven't had much luck: > > # grep postgres smtpd.conf > table postgres postgres://p

Re: Incomplete error messages from bounced emails?

2014-08-22 Thread Giovanni Bechis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/22/14 14:30, Hugo Osvaldo Barrera wrote: > I recently had some messages bounce from gmail.com. I went up to their forums > to ask what's up, and on the replies, it was pointed out to my that gsmtpd > actually sends a rather verbose explanation me

Re: Can't deliver messages: connection closed unexpectedly

2014-08-21 Thread Giovanni Bechis
On 08/21/14 23:30, Fabio Riga wrote: > Il 21/08/2014 23:18, Giovanni Bechis ha scritto: >> Is the "cloudmark line" in your log splitted in two lines ? >> If it is true this could be why it is not logged: >> https://github.com/OpenSMTPD/OpenSMTPD/issues/365 >>

Re: Can't deliver messages: connection closed unexpectedly

2014-08-21 Thread Giovanni Bechis
On 08/21/14 23:13, Fabio Riga wrote: > Il 21/08/2014 22:38, Giovanni Bechis ha scritto: >> try this one: >> # /etc/rc.d/smtpd stop && smtpd -dv >> # smtpctl trace smtp >> Post your logs. >> >> Anyway I tried from my smtpd server (~OpenBSD 5.6) and

Re: Can't deliver messages: connection closed unexpectedly

2014-08-21 Thread Giovanni Bechis
On 08/21/14 21:43, Fabio Riga wrote: > Il 21/08/2014 19:19, Giovanni Bechis ha scritto: >> Fabio Riga ha scritto: >> >> Il 21/08/2014 18:49, Fabio Riga ha scritto: >> >> disconnected in state MTA_EHLO >> After debugging I googled this and fo

Re: Can't deliver messages: connection closed unexpectedly

2014-08-21 Thread Giovanni Bechis
Fabio Riga ha scritto: >Il 21/08/2014 18:49, Fabio Riga ha scritto: >> disconnected in state MTA_EHLO >After debugging I googled this and found >https://github.com/OpenSMTPD/OpenSMTPD/issues/446, but for me this >tells >nothing about the problem. > >Fabio > >-- >You received this mail because y

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 >>

Re: Can't deliver messages: connection closed unexpectedly

2014-08-21 Thread Giovanni Bechis
: 0x4565257e000: >>> 250 2.0.0: Ok smtp: 0x4565257e000: <<< RCPT TO: smtp: 0x4565257e000: >>> 250 2.1.5 Destination address valid: Recipient ok smtp: 0x4565257e000: <<< DATA smtp: 0x4565257e000: STATE_HELO -> STATE_BODY smtp: 0x4565257e000: >>> 354 E

Re: [userbase] email in login field

2014-08-20 Thread Giovanni Bechis
On Wed, Aug 20, 2014 at 02:16:05PM +0200, Martijn van Duren wrote: > > > query_alias select COALESCE(destination, REPLACE(maddr, '@', > > '_')), ? as maddr from mail_forwarding where source=maddr; > > And of course I was a bit too fast with this one (column aliases can't > be used in other co

Re: [userbase] email in login field

2014-08-20 Thread Giovanni Bechis
On 08/20/14 14:16, Martijn van Duren wrote: > >> query_alias select COALESCE(destination, REPLACE(maddr, '@', >> '_')), ? as maddr from mail_forwarding where source=maddr; > > And of course I was a bit too fast with this one (column aliases can't > be used in other columns), so if something s

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 swi

[userbase] email in login field

2014-08-20 Thread Giovanni Bechis
Hi, I am trying to configure an smtpd server with mysql as userbase, on my database the mailbox schema is the following (simplified): id 1 login giova...@paclan.it email giova...@paclan.it uid 5000 gid 5000 maildir /var/vmail/paclan.