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

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

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

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

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

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

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,

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

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

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

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

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

Re: Can't deliver messages: connection closed unexpectedly

2014-08-21 Thread Giovanni Bechis
- STATE_BODY smtp: 0x4565257e000: 354 Enter mail, end with . on a line by itself [MSG] From: Giovanni Bechis giova...@bigio.paclan.it [MSG] Date: Thu, 21 Aug 2014 17:28:35 +0200 (CEST) [MSG] Message-Id: 5588509546345635123.enqu...@bigio.paclan.it [MSG] To: t...@staff.aruba.it [MSG] Subject: test [MSG

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

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