Re: Virtual user and domain setup

2020-04-05 Thread Matt Schwartz
Hi Leo, Would you mind sharing your full configuration file? Without this, I am stuck on how to help you. I have done a lot with virtual users and domains so I think I can help. You could also see Gilles Chehade's article,

gmail and opportunistic encryption failing

2020-01-31 Thread Matt Schwartz
Hello list, Today I just noticed something in my maillog that I figured I should report. The log output is sanitized. Jan 31 13:31:23 meow smtpd[12615]: fe92e766062cfe9b smtp connected address= host=mail.example.com Jan 31 13:31:23 meow smtpd[12615]: fe92e766062cfe9b smtp tls

Disable greylisting on rspamd

2019-10-10 Thread Matt Schwartz
Just a quick FYI on disabling rspamd's greylisting module. This is something you will want to go if you run OpenBSD's spamd because it is still the king of first line of defense against spam. # /etc/rspamd/local.d/greylist.conf enabled = false; Then restart rspamd.

Repeated 421 try again later erros

2019-10-09 Thread Matt Schwartz
Hello List, I am getting a lot of repeated 421 try again later errors from various lists that I am a member of. There is one in particular that is coming from outbound.foodtecsolutions.com. Here is an excerpt from my /var/log/maillog. I am running OpenBSD 6.6-current #344. Oct 9 16:07:53 meow

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

2018-12-26 Thread Matt Schwartz
Delivery to other locations would be best handled inside of dovecot. Dovecot allows override of delivery to different destinations in the user database. On Wed, Dec 26, 2018, 4:26 PM mabi Hello, > > I would like to setup one OpenSMTPD server as MX server for incoming mails > and have OpenSMTPD

Re: Vultr has all blacklisted IP's for email

2018-12-19 Thread Matt Schwartz
I'll say this, man. I really don't like Vultr. I just have a 150.00 credit to burn with them. Once that's done, I'll be making other arrangements. My guess is you really did nothing wrong and Vultr's sys admins are just lame. On Wed, Dec 19, 2018 at 8:34 PM Chris Bennett wrote: > > On Thu, Dec

Re: Vultr has all blacklisted IP's for email

2018-12-19 Thread Matt Schwartz
I don't have any issue either. One thing you could do is use a mail relay service like Mailjet. I do this because they offer dkim and spf for free. On Wed, Dec 19, 2018, 4:16 PM Joel Carnat I’ve just checked mine and it’s 100% non-blacklisted, according to > mxtoolbox. > And, so far, I don’t

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

2018-12-17 Thread Matt Schwartz
Glad you're up and running again. Thunderbird is kind of funny like that. On Mon, Dec 17, 2018, 8:26 AM mabi ‐‐‐ Original Message ‐‐‐ > On Monday, December 17, 2018 1:49 PM, Matt Schwartz < > matt.schwart...@gmail.com> wrote: > > Right off the bat, I think the mask-sr

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

2018-12-17 Thread Matt Schwartz
r local action "local" > match from any for domain action "lmtp_dovecot" > match auth from any for any action "relay" > > > > ‐‐‐ Original Message ‐‐‐ > On Monday, December 17, 2018 1:21 PM, Matt Schwartz < > matt.schwart...@gmail.com> wrote: >

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

2018-12-17 Thread Matt Schwartz
Please share your smtpd.conf file. OpenSMTPD 6.4.1 works just fine with Thunderbird. On Mon, Dec 17, 2018, 7:16 AM mabi Hi, > > I just configured OpenSMTPD on OpenBSD 6.4 with authentication to send > mails as a MSA (port 587). I did some tests with swaks and TLS enabled and > it works fine but

Re: Announce: OpenSMTPD 6.4.1 released

2018-12-16 Thread Matt Schwartz
Hi Gilles, Stupid question but did these minor fixes come via a syspatch or do I need to download and compile the tarball? Thanks! On Sun, Dec 16, 2018, 11:05 AM Gilles Chehade Subject: Announce: OpenSMTPD 6.4.1 released > > OpenSMTPD 6.4.1 has just been released. > > OpenSMTPD is a FREE

Re: FAQ gone?

2018-12-12 Thread Matt Schwartz
Gilles, I've got some time on my hands for the next few weeks. I could work on it if you'd like. Matt On Wed, Dec 12, 2018, 3:44 PM Gilles Chehade On Wed, Dec 12, 2018 at 06:39:59PM +, mabi wrote: > > Hi, > > > > I was wondering where did the FAQ section on the opensmtpd.org website >

Re: Mail loops when relaying and using smtp auth

2018-11-28 Thread Matt Schwartz
Also, OpenSMTPD 6.4 has the added advantage of more reliable message queueing. If you restart the smtp daemon, the queue resumes reliably. There is no good reason to stick with the older version of OpenSMTPD. On Wed, Nov 28, 2018, 8:41 PM Thomas Bohl > By default, there is ‘accept from local for

Interesting error

2018-11-19 Thread Matt Schwartz
So, I've come across an interesting error with OpenSMTPD 6.4.0. I tried sending an email to a virtual user whom I know does not exist on my system. The user is i...@example.org. Instead of an error indicating that the user does not exist, I get the following NDR error: 524 5.2.4 Mailing list

Re: upgrade to 6.4

2018-11-04 Thread Matt Schwartz
How many users do you have on your server, Edgar? I've found the best solution to be simple text files. On Sun, Nov 4, 2018 at 3:37 PM Edgar Pettijohn III wrote: > > > On 11/4/18 2:32 PM, Bryan Harris wrote: > > I made the exact same mistake of not using “from any” on my relay rule. > >

Re: Question about backup mx

2018-10-31 Thread Matt Schwartz
Ok, thanks for the clarification. I guess one way to avoid the wait is to just manually schedule all. On Wed, Oct 31, 2018, 8:48 AM Gilles Chehade On Mon, Oct 22, 2018 at 01:36:07PM -0400, Matt Schwartz wrote: > > If I have two mail exchange servers and the primary one goes down, do

Re: 6.4 broke procmail .forward

2018-10-28 Thread Matt Schwartz
fdm looks a whole helluva lot easier to get going too. On Sun, Oct 28, 2018 at 1:52 PM Gilles Chehade wrote: > > On Sat, Oct 27, 2018 at 10:11:05PM -0700, William Ahern wrote: > > On Sat, Oct 27, 2018 at 09:36:15PM -0700, William Ahern wrote: > > > On Sat, Oct 27, 2018 at 08:59:37PM -0700,

Re: OpenSMTPD 6.4 - "Invalid recipient" with external mail client (thunderbird)

2018-10-26 Thread Matt Schwartz
Change your match for any action relay_dkim to match auth from any for any action relay_dkim. On Fri, Oct 26, 2018 at 7:10 PM Jesper Wallin wrote: > > Hi, > > You need to specify “from any” to your relay_dkim match rule. If not > specified, it defaults to “from local”, which now is different

Re: Grabing release from www.opensmtpd.org

2018-10-22 Thread Matt Schwartz
I think it's best if you get the sources from OpenBSD CVS. On Mon, Oct 22, 2018, 8:06 AM Joel Carnat wrote: > Hi, > > On my way to move from 6.0.x to 6.4, I went to www.opensmtpd.org and > hoped I could get the 6.4 release, build it and test my new > configuration file (before doing the whole

Re: Reject Senders by IP address - SMTPD

2018-09-28 Thread Matt Schwartz
Antonino, What I ended up doing was configuring spamd in blacklist only mode and using spamd simply to populate the table in pf. From there, instead of sending members of the table to the spamd daemon, I just block them outright. To stop some of the connection attempts that have not been

Re: TempFail Error (exited abnormally)

2018-09-21 Thread Matt Schwartz
Hi Gonzalo, I believe smtpd is failing at the point of running rspamc. I've seen this once before and solved it by doing the following: "/usr/local/bin/rspamc -d %{dest} --mime -e '/usr/local/libexec/dovecot/dovecot-lda -f %{sender} -d %{dest} -a %{rcpt}' On Fri, Sep 21, 2018 at 6:16 PM Edgar

Re: sqlite tables

2018-09-03 Thread Matt Schwartz
Yes, I'm interested in getting those going so I can update the table_sqlite(5) page for you. :-) Basic files do work well enough though. On Mon, Sep 3, 2018, 4:29 AM Gilles Chehade wrote: > On Sun, Sep 02, 2018 at 10:26:15PM -0400, Matt Schwartz wrote: > > Does anyone know how the

sqlite tables

2018-09-02 Thread Matt Schwartz
Does anyone know how the following tables work? query_netaddr query_userinfo query_source query_mailaddr query_addrname I am trying to convert my setup entirely to sqlite. Thanks, Matt -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to:

Re: very confused on userbase parameter

2018-09-01 Thread Matt Schwartz
Thanks Gilles. I puzzled it out and it's working great now. On Sat, Sep 1, 2018 at 1:50 PM Gilles Chehade wrote: > > On Sat, Sep 01, 2018 at 11:59:20AM -0400, Matt Schwartz wrote: > > I am afraid that I am hopelessly confused on the userbase parameter. > > If I were to

Re: very confused on userbase parameter

2018-09-01 Thread Matt Schwartz
elay" match from local for any action "dkim" match auth from any for any action "dkim" On Sat, Sep 1, 2018 at 1:06 PM Reio Remma wrote: > > On 01.09.2018 19:56, Matt Schwartz wrote: > > Thanks but I finally figured it out and wrote up a little something > > that c

Re: very confused on userbase parameter

2018-09-01 Thread Matt Schwartz
main part from userbase. > > Good luck, > Reio > > On 01.09.2018 18:59, Matt Schwartz wrote: > > I am afraid that I am hopelessly confused on the userbase parameter. > > If I were to have the following: > > > > # credentials > > user1 > > >

I finally understand userbase

2018-09-01 Thread Matt Schwartz
Hi @misc, Please disregard my previous email. I finally figured out how userbase works! In case anyone is wondering how this works I wrote up something explaining it really quickly. Userbase simply maps a virtual user to a system user. The virtual user is defined in a separate file. So here's how

very confused on userbase parameter

2018-09-01 Thread Matt Schwartz
I am afraid that I am hopelessly confused on the userbase parameter. If I were to have the following: # credentials user1 # userinfo # vmail user is 2000 user1 2000:2000:/var/vmail/user1 # virtuals us...@domain1.com vmail # smtpd.conf table credentials

Re: userbase question

2018-09-01 Thread Matt Schwartz
RS . .It Cm relay Relay the message to another SMTP server. +.It Cm wrapper Ar name +Use a wrapper specified by +.Cm mda wrapper .It command. .El .Pp The local delivery methods support additional options: On Sat, Sep 1, 2018 at 8:01 AM Gilles Chehade wrote: > > On Mon, Aug 27, 2018 at

Re: Credentials Table

2018-08-27 Thread Matt Schwartz
the >> credentials table in my smtpd.conf; >> >> table passed file:/etc/mail/passwd >> >> Thanks >> >> On 27 Aug 2018, at 5:24 pm, Matt Schwartz >> wrote: >> >> I simply use the file type. For example: >> table credentials f

Re: userbase question

2018-08-27 Thread Matt Schwartz
parameter. > > Good luck, > Reio > > > On 27 Aug 2018, at 16:11, Matt Schwartz wrote: > > > > Hello misc@, > > > > Below is my configuration file. I am trying to use the userbase > > parameter and when I try to send an email to myself, I get the 550 &g

userbase question

2018-08-27 Thread Matt Schwartz
Hello misc@, Below is my configuration file. I am trying to use the userbase parameter and when I try to send an email to myself, I get the 550 Invalid Recipient error. I am trying to get the usrbase parameter working so that I can add a .forward file for virtual users as per the table(5) man

Re: TLS and relay

2018-08-27 Thread Matt Schwartz
Hi Pete, I was just looking over the man page for smtpd.conf and there is a way to disable cert verification. There is also a match statement that, while it won't force the connection to be over TLS per se, it just won't allow the transaction to happen if it is not over TLS. action "action01"

Re: Credentials Table

2018-08-27 Thread Matt Schwartz
I simply use the file type. For example: table credentials file:/etc/mail/credentials. I do it this way because it is the simplest form. All I have in the credentials file is username:password. Use smtpctl encrypt to generate the encrypted password for the user. Finally, use smtpctl update table

Re: Dovecot - Do I need this?

2018-08-25 Thread Matt Schwartz
All you have to do is just have the final delivery happen to an mbox location. For example: action "action01" mbox alias action "action02" relay match from any for domain "example.org" action "action01" match from local for any action "action02" >From there you should be able to use a mail

Re: Dovecot - Do I need this?

2018-08-25 Thread Matt Schwartz
You don't have to use Dovecot. Dovecot is just very popular because it is stable, secure, and scales very well! On Sat, Aug 25, 2018, 7:28 PM Antonino Sidoti wrote: > Hi, > > I am currently building a mail server using OpenSMTPD on OpenBSD 6.3 > > I see a lot of examples on the web about

Re: Forward of singele email address

2018-08-23 Thread Matt Schwartz
Try adding something similar to this to your vusers: u...@example.orgu...@example.com It would help to know what's in your vusers file. On Thu, Aug 23, 2018, 8:20 PM wrote: > Hello, > > I have a problem with forwarding for an email account to an external > address. I user openbsd version

Re: mail.lmtp: net: service not supported by ai_socktype

2018-07-16 Thread Matt Schwartz
Vijay, Are you using OpenSMTPD for backup MXes? I've been trying unsuccessfully to setup a backup mx with the new version of OpenSMTPD. On Mon, Jul 16, 2018 at 9:44 PM, Vijay Sankar wrote: > > Quoting Vijay Sankar : > >> I am trying to upgrade my old mail server which is using OpenSMTPD, >>

Backup MXes

2018-07-06 Thread Matt Schwartz
Hello list, I want to setup a backup mx with the new version of smtpd; using the new grammar structure. However, I think I am doing this wrong because it is not working. Below is the relevant configuration for the primary mx: # Actions # action "local" mda "/usr/local/bin/rspamc -d %{dest}

Kudos

2018-07-04 Thread Matt Schwartz
I have to give kudos to Gilles and his team for the truly fantastic changes that were made to the forthcoming new release of OpenSMTPD. The splitting of the action and match parts have made it easier to configure and troubleshoot. Furthermore, on restarting the daemon, whatever was queued simply

Using an MDA

2018-06-29 Thread Matt Schwartz
Hello list, I've made a lot of progress and everything basically works. However, when I try to implement spam checking I get an error that states only one command is allowed. Here is the action that is not working. action "domain" mda "/usr/local/bin/rspamc -h /var/run/rspamd/rspamd.sock --mime

OpenSMTPD 6.4.0

2018-06-29 Thread Matt Schwartz
Hello list, I have decided to test out the latest version of OpenSMTPD and for the most part it is working well. Incoming emails are handled properly. However, I cannot send emails to anyone outside of my server and I am having trouble determining why. Below is my smtpd.conf file: pki mail cert

subscribe misc

2018-06-28 Thread Matt Schwartz
subscribe misc -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org