smtpd.c patch

2018-11-24 Thread Edgar Pettijohn III
pledge flock doesn't seem necessary any longer? Index: smtpd.c === RCS file: /cvs/src/usr.sbin/smtpd/smtpd.c,v retrieving revision 1.306 diff -u -p -u -r1.306 smtpd.c --- smtpd.c    16 Nov 2018 20:55:59 -    1.306 +++ smtpd.c   

Re: tls debugging

2018-11-24 Thread Edgar Pettijohn III
On 11/22/18 1:11 AM, Gilles Chehade wrote: On Tue, Nov 13, 2018 at 09:59:29PM -0600, Edgar Pettijohn III wrote: I have the following line on my laptops smtpd.conf: action "relay" relay host "smtp+tls//label@domain:587" auth tls no-verify I had to add the no-verify for

mail.maildir junk patches

2018-11-24 Thread Edgar Pettijohn III
make the junk header customizable like so: action "local" maildir junk "X-Spam-Flag: YES" Index: mail.maildir.8 === RCS file: /cvs/src/usr.sbin/smtpd/mail.maildir.8,v retrieving revision 1.5 diff -u -p -u -r1.5 mail.maildir.8 --- m

tls debugging

2018-11-13 Thread Edgar Pettijohn III
I have the following line on my laptops smtpd.conf: action "relay" relay host "smtp+tls//label@domain:587" auth tls no-verify I had to add the no-verify for some reason with the upgrade to 6.4. I was trying to figure out why tls was failing, so I started testing with openssl s_client and it

Re: upgrade to 6.4

2018-11-09 Thread Edgar Pettijohn III
un, 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. Scratching my head reading the rule trace was a good learning experience. I still don’t understand how to correctly setup virtu

Re: upgrade to 6.4

2018-11-04 Thread Edgar Pettijohn III
. Can you share your virtual match rule? V/r, Bryan I'm using mysql tables. It makes everything so simple. Edgar Sent from my iPhone On Nov 4, 2018, at 10:01 AM, Edgar Pettijohn III wrote: I hadn't upgraded to 6.4 yet, because I was scared of the new config changes. Howev

upgrade to 6.4

2018-11-04 Thread Edgar Pettijohn III
I hadn't upgraded to 6.4 yet, because I was scared of the new config changes. However, it was relatively painless. Here are the two mistakes I made and the corrected versions in case it helps others. wrong: action act01 virtual maildir "/path/to/maildir" right: action act01 maildir "/path/t

opensmtpd.org expired certificate

2018-08-04 Thread Edgar Pettijohn III
Probably already known issue, but just in case. I just got a message from firefox that opensmtpd.org has an expired certificate. Thanks, Edgar -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Re: lmtps

2018-08-01 Thread Edgar Pettijohn III
On 08/01/18 19:09, ѽ҉ᶬḳ℠ wrote: yes I guess this is you: https://github.com/OpenSMTPD/OpenSMTPD/issues/868 ? lmpts implementation in dovecot and postfix does not serve a practical purpose? What if dovecot and the mta are not on the same server? from the lmtp rfc The LMTP protocol SHOULD

Re: Delivering to mda failing

2018-07-11 Thread Edgar Pettijohn III
On 07/11/18 12:41, Shawn Webb wrote: On Thu, Jul 05, 2018 at 10:28:41AM -0400, Shawn Webb wrote: On Thu, Jul 05, 2018 at 10:26:26AM -0400, Shawn Webb wrote: I'm using OpenSMTPD on HardenedBSD. Below is a very simple config file. Instead of delivering to the mda, I'm getting this error messag

[patch] Re: smtpd.conf new grammar

2018-05-26 Thread Edgar Pettijohn III
On 05/26/18 19:18, Edgar Pettijohn III wrote: Sorry, I've read the announcements, looked at man pages and examples, but still didn't manage to figure out how to translate "deliver via dovecot lmtp" (to have sieve working) into the new syntax. So far my config was: ta

Re: extras

2015-06-14 Thread Edgar Pettijohn III
I had originally installed OpenSMTPD 5.4.6 from source at https://www.opensmtpd.org/archives/opensmtpd-5.4.6.tar.gz, but I didn't notice that you could install the filters by uncommenting a line in the Makefile. So I did. Unfortunantly I got a lot of errors doing so. Here are a few that I ha

Re: extras

2015-06-14 Thread Edgar Pettijohn III
On Jun 14, 2015, at 4:42 PM, Joerg Jung wrote: > On Sun, Jun 14, 2015 at 03:02:32PM -0500, Edgar Pettijohn III wrote: >> >> On Jun 14, 2015, at 10:26 AM, Edgar Pettijohn III wrote: >> >>> I am trying to install the "extras" from >>>

Re: extras

2015-06-14 Thread Edgar Pettijohn III
On Jun 14, 2015, at 10:26 AM, Edgar Pettijohn III wrote: > I am trying to install the "extras" from > https://opensmtpd.org/archives/opensmtpd-extras-latest.tar.gz on OpenBSD 5.7 > amd64. I used the following ./configure > > # ./configure --libexecdir=/usr/libexe

Re: Aliases error

2015-06-14 Thread Edgar Pettijohn III
I've been playing around with my config today. Try the changes below. On Jun 10, 2015, at 8:17 PM, Gonzalo wrote: > Hi all, > > I have some problem with my conf: > > OpenBSD 5.7 -stable > > == smtpd.conf == > > table dominios file:/etc/mail/dominios > table usuarios

extras

2015-06-14 Thread Edgar Pettijohn III
I am trying to install the "extras" from https://opensmtpd.org/archives/opensmtpd-extras-latest.tar.gz on OpenBSD 5.7 amd64. I used the following ./configure # ./configure --libexecdir=/usr/libexec/smtpd --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --mandir=/usr/share/man --with-ma

Re: Aliases error

2015-06-11 Thread Edgar Pettijohn III
I don't remember why I have what I have and I don't have the time to re-research, but hopefully this helps somewhat. I think the setup you're going for would be easier with sql, but I haven't set it up with opensmtpd before so can't really help you there. /etc/mail $ sudo cat smtpd.conf

Re: Aliases error

2015-06-10 Thread Edgar Pettijohn III
On Jun 10, 2015, at 8:17 PM, Gonzalo wrote: > Hi all, > > I have some problem with my conf: > > OpenBSD 5.7 -stable > > == smtpd.conf == > > table dominios file:/etc/mail/dominios > table usuarios file:/etc/dovecot/users > table usuariosv

Re: Virtual domains

2015-03-12 Thread Edgar Pettijohn III
one system user will take care of it all. you could do: @domain.tld user and map all to one user. On Mar 12, 2015, at 5:05 PM, Gonzalo wrote: > I mean, I don't want to create a system user per email account. > El mar 12, 2015 6:55 PM, "Edgar Pettijohn I

Re: Virtual domains

2015-03-12 Thread Edgar Pettijohn III
smtpd.conf(5) for [!] domain domain virtual This rule applies to mail destined for the specified virtualdomain. This parameter supports the ‘*’ wildcard, so that a single rule for all sub-domains can be used, for example: accept for domain "*.example.com" \ virtual deliver to mbox The t

Re: Virtual domains

2015-03-12 Thread Edgar Pettijohn III
On Mar 11, 2015, at 8:09 PM, Seth wrote: > On Wed, 11 Mar 2015 13:11:16 -0700, Gonzalo wrote: > >> Hi Guys, >> >> I have this conf on OpenBSD 5.6 >> >> table dominios file:/etc/mail/dominios >> table usuarios file:/etc/dovecot/users >> table a

python backend

2015-03-02 Thread Edgar Pettijohn III
I don't know anything about python and was just curious what the python backend makes available? I know thats a pretty general question, so general answers are more than appreciated. Thanks -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to