Re: Opensmtpd with multiple certificates

2017-05-14 Thread Edgar Pettijohn
On 05/14/17 07:20, Bruno Pagani wrote: Le 14/05/2017 à 09:59, Mik J a écrit : Thank you Edgar, You wrote multiple IP adresses. Does it mean that 1 IP address = 1 certificate ? Can't be do 1 IP address = x certificates ? No, you can do 1 IP = x certs, thanks to SNI. I do that, my

Re: Opensmtpd with multiple certificates

2017-05-13 Thread Edgar Pettijohn
On 05/13/17 17:55, Mik J wrote: Hello, I would like to know if it's possible to use multiple certificates/keys with opensmtpd domain.com has MX mx.domain.com acme.com has MX mx.acme.com When a clients (remote mta such as gmail) connects to my server, my opensmtpd should send the according

Re: /var/spool/smtpd/purge not cleaned up

2017-05-11 Thread Edgar Pettijohn
On 05/11/17 10:04, Philippe Meunier wrote: Hello, I'm running a default OpenSMTPD on OpenBSD 6.1 (and several previous versions of it before). I've noticed that OpenSMTPD creates two directories in /var/spool/smtpd/purge every time it is started but never deletes these directories when shutti

Re: Relaying based on recipient's domain?

2017-05-04 Thread Edgar Pettijohn
I don't have my laptop with me to test anything out first, but look at recipient tables and tag that rule. Then for the relay use that tag to send it out on the correct relay. Hopefully that makes sense. ⁣Sent from BlueMail ​ On May 4, 2017, 11:24 AM, at 11:24 AM, Don Harper wrote: >Hello, all

Re: Relay for authenticated users

2017-05-04 Thread Edgar Pettijohn
I believe they are treated as local users. I've never used the "authenticated" keyword, so I'm not sure how to implement it correctly. I think my current setup I tag the incoming messages on submission port and use the tag in my relay rule. ⁣Sent from BlueMail ​ On May 4, 2017, 3:02 AM, at 3:0

Re: Relay for authenticated users

2017-05-03 Thread Edgar Pettijohn
On 05/03/17 16:27, Frank Timmers wrote: Hi Edgar, Op 3 mei 2017, om 23:04 heeft Edgar Pettijohn het volgende geschreven: On 05/03/17 08:05, Frank Timmers wrote: Hi, I’m trying to allow relay for authenticated users, however “smtpd -n” gives a syntax error on the last line (with the

Re: Relay for authenticated users

2017-05-03 Thread Edgar Pettijohn
On 05/03/17 08:05, Frank Timmers wrote: Hi, I’m trying to allow relay for authenticated users, however “smtpd -n” gives a syntax error on the last line (with the authenticated) keyword. As far as I understand the documentation [1], this should be the correct syntax. I’ve included my config

Re: ssl+auth

2017-04-26 Thread Edgar Pettijohn
try tls+auth On 04/26/17 11:49, Nike wrote: Hello, Why this doesn't work: ssl+auth://n...@smtp.yandex.ru:465 FreeBSD 11, opensmtpd-5.9.2p1_3,1 -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Re: Strange logs in opensmtpd

2017-04-15 Thread Edgar Pettijohn
On 04/15/17 06:49, Mik J wrote: Hello, My logs constantly fill up with this kind of message Apr 15 13:42:08 mysmtpserv smtpd[10151]: smtp-out: Connecting to smtp+tls://y.z.x.z:25 (sub.domain.com) on session 078291f96b72c115... Apr 15 13:42:09 mysmtpserv smtpd[10151]: smtp-out: Error on sessio

Re: smtpd recipient rule not matched

2017-04-06 Thread Edgar Pettijohn
On 04/06/17 09:01, Frank Timmers wrote: Hi, I’ve got a rule based on recipients, however for some reason it’s not matched and therefor the mail bounced. Can anyone tell me if I’m doing something wrong? Thanks and kind regards, /Frank. — smtpd.conf rule: table recipient_whitelist file:/etc

Re: util.c patch res_comp.c patch

2016-09-26 Thread Edgar Pettijohn
On 16-09-26 21:42:09, Peter Hessler wrote: > On 2016 Sep 26 (Mon) at 14:31:04 -0500 (-0500), Edgar Pettijohn wrote: > :On 16-09-26 09:26:04, Gilles Chehade wrote: > :> On Sun, Sep 25, 2016 at 11:20:39AM -0500, Edgar Pettijohn wrote: > :> > In my testing it did not,

Re: util.c patch res_comp.c patch

2016-09-26 Thread Edgar Pettijohn
On 16-09-26 09:26:04, Gilles Chehade wrote: > On Sun, Sep 25, 2016 at 11:20:39AM -0500, Edgar Pettijohn wrote: > > In my testing it did not, but I could be wrong. > > > > On 16-09-25 17:56:42, Eric Faurot wrote: > > > On Sat, Sep 24, 2016 at 08:42:25P

Re: util.c patch or res_comp.c patch

2016-09-26 Thread Edgar Pettijohn
On 16-09-26 09:26:04, Gilles Chehade wrote: > On Sun, Sep 25, 2016 at 11:20:39AM -0500, Edgar Pettijohn wrote: > > In my testing it did not, but I could be wrong. > > > > On 16-09-25 17:56:42, Eric Faurot wrote: > > > On Sat, Sep 24, 2016 at 08:42:25P

Re: util.c patch

2016-09-25 Thread Edgar Pettijohn
In my testing it did not, but I could be wrong. On 16-09-25 17:56:42, Eric Faurot wrote: > On Sat, Sep 24, 2016 at 08:42:25PM -0500, Edgar Pettijohn wrote: > > Enforce stricter rfc helo compliance. > > -- > > Edgar Pettijohn > > I am pretty sure res_hnok already

util.c patch

2016-09-24 Thread Edgar Pettijohn
Enforce stricter rfc helo compliance. -- Edgar Pettijohn Index: util.c === RCS file: /cvs/src/usr.sbin/smtpd/util.c,v retrieving revision 1.128 diff -u -p -u -r1.128 util.c --- util.c 31 Aug 2016 10:18:08 - 1.128

Re: Greylisting

2016-09-14 Thread Edgar Pettijohn
What is in your blacklist. A table may be what you're looking for. Sent from my iPhone > On Sep 14, 2016, at 6:56 AM, Silvio Siefke wrote: > > On Wed, 14 Sep 2016 11:32:51 +0200 > Gilles Chehade wrote: > >> shouldn't this be: >> >>reject from any recipient for any > > I try with same

Re: Greylisting

2016-09-13 Thread Edgar Pettijohn
On 16-09-13 12:33:53, Edgar Pettijohn wrote: > > > Sent from my iPhone > > > On Sep 13, 2016, at 11:55 AM, Silvio Siefke wrote: > > > > On Mon, 12 Sep 2016 14:07:29 -0500 > > Edgar Pettijohn wrote: > > > >> For anyone to answer that you

Re: Greylisting

2016-09-13 Thread Edgar Pettijohn
Sent from my iPhone > On Sep 13, 2016, at 11:55 AM, Silvio Siefke wrote: > > On Mon, 12 Sep 2016 14:07:29 -0500 > Edgar Pettijohn wrote: > >> For anyone to answer that you would need to provide your smtpd.conf >> possibly logs, etc... > > > # generate d

Re: Greylisting

2016-09-12 Thread Edgar Pettijohn
Sent from my iPhone > On Sep 12, 2016, at 1:49 PM, Silvio Siefke wrote: > > On Sat, 10 Sep 2016 23:06:54 +0200 > Mischa Peters wrote: > >> Have a look at spamd. >> https://www.openbsd.org/spamd/index.html >> >> Also runs on non-OpenBSD. > > Yes spamassassin is running with amavisd-new. Tha

Re: Modifying mails in queue

2016-09-12 Thread Edgar Pettijohn
Sent from my iPhone > On Sep 12, 2016, at 10:40 AM, Wilhelm Schuster wrote: > > Hi, > > I’ve set up opensmtpd to first relay every messages to spampd (running on > localhost, port 10025) via: > >accept from any for domain "wilhelm.re" relay via smtp://127.0.0.1:10025 > > Unfortunately,

Re: smtpd.conf patch

2016-09-11 Thread Edgar Pettijohn
Heres a couple more patches for filter removal. -- Edgar Pettijohn Index: smtpd.8 === RCS file: /cvs/src/usr.sbin/smtpd/smtpd.8,v retrieving revision 1.30 diff -u -p -u -r1.30 smtpd.8 --- smtpd.8 18 Apr 2016 21:06:42 -

smtpd.conf patch

2016-09-10 Thread Edgar Pettijohn
Here is a patch to remove mention of filters from smtpd.conf -- Edgar Pettijohn Index: smtpd.conf.5 === RCS file: /cvs/src/usr.sbin/smtpd/smtpd.conf.5,v retrieving revision 1.165 diff -u -p -u -r1.165 smtpd.conf.5 --- smtpd.conf.5

Re: My aliases don't work

2016-09-06 Thread Edgar Pettijohn
On 16-09-06 23:18:28, Mik J wrote: If I'm reading correctly sounds like you are just trying to get your /etc/daily reports etc. This is what I have on my laptop and it works fine. See notes inline. > Hello Edgar, > > Sorry > > This is a very simple question but ye

Re: My aliases don't work

2016-09-06 Thread Edgar Pettijohn
ignored. Do you know why ? > What's the right way to do it ?My web server should use my local mail server > as a relay which is going to sign emails etc. > Thank you Your message is all globbed up. Please resend with full smtpd.conf. Thanks, -- Edgar Pettijohn -- You receiv

Filter withdrawals

2016-09-06 Thread Edgar Pettijohn
curious if anyone out there has any suggestions. Thanks, Edgar Sent from my iPhone -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Re: Can't map an address to another one

2016-08-21 Thread Edgar Pettijohn
Sent from my iPhone > On Aug 21, 2016, at 3:31 PM, Mik J wrote: > > Hello Edgar, > > Thank you very much, I couldn't locate where the problem was. The problem is > solved with %{dest.user} > Yes I mixed a user base table and an alias table but I just followed examp

Re: Can't map an address to another one

2016-08-21 Thread Edgar Pettijohn
sion > efae740ed271d955: 1 message sent. > > In these logs I seeAug 21 09:38:10 mysmtp smtpd[1986]: delivery: Ok for > d2dd91a7a2457a23: from=, to=, > rcpt=, user=vmail, method=maildir, delay=0s, stat=Delivered > But then the mail is received in its own mailbox > # cat > /var/mail

Re: Can't map an address to another one

2016-08-20 Thread Edgar Pettijohn
I think you're entire smtpd.conf would be useful as well as logs. Sent from my iPhone > On Aug 20, 2016, at 5:57 PM, Mik J wrote: > > Hello, > > I want to use some kind of alias addresses like mails sent to > i...@mydomain.org would arrive in u...@mydomain.org. Both are on my mail > server.

Re: What is the correct syntax in opensmtpd

2016-08-17 Thread Edgar Pettijohn
Sent from my iPhone > On Aug 17, 2016, at 2:41 PM, Mik J wrote: > > Hello, > > I have two rules like these > accept from local for domain relay via smtp://127.0.0.1:10023 > accept from source for domain relay via > smtp://127.0.0.1:10023 > Seems like you could add your local ip's to the

Re: mlmmj with opensmtpd

2016-08-17 Thread Edgar Pettijohn
urns the message scanned to smtpd > 4) smtpd does not accept the message (invalid rcpt) > (accept tagged Scanned from local for domain virtual >deliver to maildir "~/maildir") > > I suspect your does not contain the line > mlmmj-test: "|/usr/bin/mlmmj-receiv

Re: mlmmj with opensmtpd

2016-08-16 Thread Edgar Pettijohn
Sent from my iPhone > On Aug 16, 2016, at 12:18 PM, Silvio Siefke wrote: > > Hello, > > i try to run mlmmj with opensmtpd. > > My config: > > # generate db using makemap > table aliases file:/etc/smtpd/tables/aliases > table vdomsfile:/etc/smtpd/tables

Re: table ownership/permissions issues

2016-08-16 Thread Edgar Pettijohn
opensmtpd user (rather than a secondary group). Not sure if this is a > feature or a bug but I'll file something over on the github project page. In > any case I consider this an acceptable fix to allow opensmtpd and dovecot to > share the file. > Was dovecot able to use the fil

Re: table ownership/permissions issues

2016-08-16 Thread Edgar Pettijohn
On 16-08-16 16:38:36, Edgar Pettijohn wrote: > On 16-08-16 12:18:31, Jeremy Volkening wrote: > > Hello, > > > > I'm setting up OpenSMTPD 5.7.3p2 on a Linux box (Debian 8). So far > > everything is great except for one annoyance. I have a credentials table in &g

Re: table ownership/permissions issues

2016-08-16 Thread Edgar Pettijohn
ers passwd file -rw-r--r-- 1 root wheel 214 Aug 3 2015 users relevant doveconf -n passdb { args = scheme=BLF-CRYPT username_format=%n /etc/mail/users driver = passwd-file } userdb { args = username_format=%n /etc/mail/users default_fields = quota_rule=*:storage=1G driver = passwd-file } I hope this helps. -- Edgar Pettijohn -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Re: something similar to always_bcc in postfix?

2016-07-27 Thread Edgar Pettijohn
ards, > Aan > -- > From:Alan Cheng > Time:2016 Jul 26 (Tue) 22:37 > To:misc > Subject:Re: something similar to always_bcc in postfix? > > > Thanks all for responding. > I'll go through table.5 (as mentio

Re: something similar to always_bcc in postfix?

2016-07-25 Thread Edgar Pettijohn
Sent from my iPhone > On Jul 25, 2016, at 2:18 PM, Edgar Pettijohn wrote: > > > > Sent from my iPhone > > On Jul 25, 2016, at 11:33 AM, Denis Fondras wrote: > >>> I'd like to bcc all incoming mail to a specified address, but could not >>>

Re: something similar to always_bcc in postfix?

2016-07-25 Thread Edgar Pettijohn
Sent from my iPhone On Jul 25, 2016, at 11:33 AM, Denis Fondras wrote: >> I'd like to bcc all incoming mail to a specified address, but could not >> figure out how. Anyone has any pointers? >> My current setup is opensmtpd + dovecot with virtual domains. > > I don't know if it is possible wi

Re: No Error When Failing To Deliver To Maildir

2016-07-14 Thread Edgar Pettijohn
Sent from my iPhone > On Jul 14, 2016, at 12:59 PM, pete wright wrote: > > Hello, > I am migrating a currently running Postfix+Dovecot-IMAP system to > OpenSMTPd+Dovecot-IMAP system and am running into an odd issue. > > I am unable to deliver messages to the Maildir that I have copied over >

Re: configuration

2016-06-22 Thread Edgar Pettijohn
Sent from my iPhone > On Jun 22, 2016, at 2:51 AM, Robert Klein > wrote: > > On Tue, 21 Jun 2016 19:00:54 -0500 > Edgar Pettijohn wrote: > >> On 16-06-21 18:53:26, Edgar Pettijohn wrote: >> >> Sorry forgot this requirement. Easiest solution would b

Re: configuration

2016-06-21 Thread Edgar Pettijohn
On 16-06-21 18:53:26, Edgar Pettijohn wrote: > On 16-06-21 05:58:03, Swa Frantzen wrote: > > Hi, > > > > Guess it???s a typical case of me "not seeing the trees due to the > > forest???. > > > > I???m trying to get to grips with OpenSMTPD on

Re: configuration

2016-06-21 Thread Edgar Pettijohn
es # I know you the local is default, but I like to make my intentions known. accept from local for local alias deliver to mbox accept from local for any relay via smtp://foo.isp.net:25 as "@example.com" /etc/mail/mailname example.com I haven't used the "as" keyword, but I'm guessing it works as expected. It may also be your MUA adding the unwanted headers. -- Edgar Pettijohn -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Re: filter-spamassassin fails under heavy load (may 23 extras snapshot)

2016-06-15 Thread Edgar Pettijohn
Sent from my iPhone > On Jun 15, 2016, at 12:43 PM, Andrew Ruscica wrote: > > > On Jun 6, 2016, at 5:37 PM, Gilles Chehade wrote: > >... > > > > Please do test new -extras snapshot that were just published, rebuild > > your filters and reinstall them as the fix lies in the api/ layer > > > >

Re: Hello World!

2016-06-13 Thread Edgar Pettijohn
Sent from my iPhone > On Jun 13, 2016, at 8:08 PM, Christopher Ahrens > wrote: > > Hello all, > Just finished setting up my shiny new OpenBSD-based IMAP server. > > Long time OpenBSD user, but finally got myself a nice reliable OpenBSD box > (Something with a static IP on a network with a p

Re: Tool stats

2016-06-02 Thread Edgar Pettijohn
Sent from my iPhone > On Jun 2, 2016, at 8:44 AM, Joerg Jung wrote: > > >> On 02 Jun 2016, at 15:24, Edgar Pettijohn wrote: >> >> I saw this in my daily report. >> >> Running daily.local: >> tool-stats: session failed line 10341 > > Tha

Tool stats

2016-06-02 Thread Edgar Pettijohn
I saw this in my daily report. Running daily.local: tool-stats: session failed line 10341 The report was still emailed to me and looked correct. Not sure if it's a bug or not. Thanks, Edgar Sent from my iPhone -- You received this mail because you are subscribed to misc@opensmtpd.o

Re: rules for SMTP relay with TLS + Auth

2016-06-02 Thread Edgar Pettijohn
Sent from my iPhone > On Jun 2, 2016, at 7:15 AM, PROST pierrick wrote: > > Hi, > > I hope that my question is quite clear. I try to understand with the MAN … > but with no result. > > Have a good day. > > De : PROST pierrick > Envoyé : mercredi 1 juin 2016 17:50 > À : misc@opensmtpd.o

Re: Newbie questions

2016-05-21 Thread Edgar Pettijohn
On 05/21/16 15:26, Gilles Chehade wrote: On Sat, May 21, 2016 at 01:32:40PM -0500, Edgar Pettijohn wrote: On 05/20/16 13:26, Olivier Brunel wrote: Hello, [...] Would that work as expected (%{rcpt.user} being either "bob" or "alice" in that case) ? In this case %{user.

Re: Newbie questions

2016-05-21 Thread Edgar Pettijohn
On 05/20/16 13:26, Olivier Brunel wrote: Hello, I'm new to OpenSMTPD and while this looks really good so far, and with a configuration that can be both simple yet powerful/flexible at once, even after reading the man pages I still find myself with a few questions I can't answer, so I'm hoping

Re: denial of service?

2016-05-10 Thread Edgar Pettijohn
Sent from my iPhone > On May 10, 2016, at 11:10 AM, Gilles Chehade wrote: > >> On Tue, May 10, 2016 at 10:56:10AM -0500, Edgar Pettijohn wrote: >> >> >>> On 05/10/16 10:29, Gilles Chehade wrote: >>>> On Tue, May 10, 2016 at 10:11:48AM -0500, Edga

Re: Fwd: Re: denial of service?

2016-05-10 Thread Edgar Pettijohn
On 05/10/16 10:29, Gilles Chehade wrote: On Tue, May 10, 2016 at 10:11:48AM -0500, Edgar Pettijohn wrote: Sharing with the list at Gilles request. To me it seems like at some point the daemon was treating my outgoing mail as incoming mail and refusing it because they weren't legal recip

denial of service?

2016-05-09 Thread Edgar Pettijohn
I found I was unable to send outgoing messages earlier. Looking through the logs I had over 3000 connections from 112.236.76.92 in less than 24 hours. I blocked them with pf and now I can send outgoing again. Just thought I'd share for those interested in this sort of thing. Thanks,

Re: Relay recipient verification - migrating from Postfix

2016-05-07 Thread Edgar Pettijohn
Sent from my iPhone > On May 7, 2016, at 11:04 AM, Marcus MERIGHI wrote: > > av...@protonmail.com (Andrew Ruscica), 2016.05.07 (Sat) 05:16 (CEST): >> First, hello to the list and the opensmtpd devs- thank you very much >> for this great mta. I've been building postfix gateways on openbsd for >

Re: virtual user and forwarding

2016-05-06 Thread Edgar Pettijohn
Sent from my iPhone > On May 5, 2016, at 12:46 PM, Peter Fraser wrote: > > My scenario: > > I have a OpenBSD processing email for several domains, doing virus scanning, > and spam processing. > The OpenBSD system was running sendmail and I would like to convert it to > smtpd > > All the i

Re: Crashing once a day and not auto-starting back

2016-05-05 Thread Edgar Pettijohn
You could have a cron job check that it's running and if not restart it. Plus the email cron sends would give you a time frame to look for in the logs. Sent from my iPhone > On May 5, 2016, at 9:58 AM, Mariano Baragiola > wrote: > >> On 05/05/16 11:51, Gilles Chehade wrote: >> >> No it shoul

Re: Crashing once a day and not auto-starting back

2016-05-05 Thread Edgar Pettijohn
Sent from my iPhone > On May 5, 2016, at 8:17 AM, Mariano Baragiola > wrote: > > Hello misc@, sending again from different account. > Sorry if duplicate. > > I rented an OpenBSD 5.9-release amd64 VPS and updated it > to 5.9-stable with https://stable.mtier.org/openup. > > Before submitting

Re: smtpd: connect: Connection refused

2016-04-28 Thread Edgar Pettijohn
t delivering to. Such as: /var/vmail/domain/user If it goes through its probably dovecot issue. > # allow outgoing mails > accept from local for any relay > --- > > thanks > >> El jue, 28-04-2016 a las 11:43 -0500, Edgar Pettijohn escribió: >> Yo

Re: smtpd: connect: Connection refused

2016-04-28 Thread Edgar Pettijohn
Your smtpd.conf would help. Sent from my iPhone > On Apr 28, 2016, at 11:28 AM, Óscar Rubén Cuéllar Valcárcel > wrote: > > Hello > > I have a problem, and I don't know how solve it, I followed > > https://www.opensmtpd.org/faq/example1.html > > But when I tried to probe, it did not work.

Re: filter dkim signer

2016-04-18 Thread Edgar Pettijohn
On 04/17/16 19:03, Ryan Kavanagh wrote: Edgar Pettijohn wrote: Have you verified that it is signing your outgoing mail properly? Yes, sending mail from my OpenSMTPD + dkim-filter instance to Gmail results in a "DKIM-Signature" header being added to the message and Gm

Re: filter dkim signer

2016-04-17 Thread Edgar Pettijohn
On 04/17/16 13:31, Joerg Jung wrote: On Sun, Apr 17, 2016 at 10:57:56AM -0500, Edgar Pettijohn wrote: On 04/17/16 10:20, Ryan Kavanagh wrote: Edgar Pettijohn wrote: Is anyone using this filter? Yes, I got it running yesterday using OpenBSD 5.9's opensmtpd-extras package. smtpd

Re: filter dkim signer

2016-04-17 Thread Edgar Pettijohn
On 04/17/16 10:20, Ryan Kavanagh wrote: Edgar Pettijohn wrote: Is anyone using this filter? Yes, I got it running yesterday using OpenBSD 5.9's opensmtpd-extras package. smtpd.conf filter filter-dkim-signer dkim-signer "-D mydomain -p /etc/mail/private.key -s selector1&quo

filter dkim signer

2016-04-17 Thread Edgar Pettijohn
Is anyone using this filter? I tried to implement it in place of dkimproxy_out but it doesn't seem to be working. Maybe its looking for a different certificate? # openssl genrsa -out /etc/mail/private.key 1024 # openssl rsa -in private.key -pubout -out public.key smtpd.conf filter filter-dk

Re: How to get OpenSMTPD working on OpenBSD 5.9

2016-04-10 Thread Edgar Pettijohn
On 04/10/16 19:37, 98 [Rod whitworth] wrote: The title pretty well says it all. The Wiki page doesn't have any use now that following the instructions require 5.6 I need to build a new mail server. So should I wait for the clue sheet or build Postfix? I would be unhappy if I used Post

Re: Authentication using certificates

2016-04-06 Thread Edgar Pettijohn
Sent from my iPhone > On Apr 6, 2016, at 4:01 AM, Kai Wirt wrote: > > > > Hi, > > when i used sendmail i allowed my clients to relay mail if they authenticated > via SMTPAUTH or if they could present a valid certificate with STARTTLS. > I'm trying to do the same with OpenSMTPD. I understan

Re: received invalid command: "RCPT TO:"

2016-04-04 Thread Edgar Pettijohn
On 04/04/16 15:55, Ultramedia Libertad wrote: Hello, I have a problem in my server debian 8 and OpenSMTPD # smtpd -dv -Tlookup debug: smtp: new client on listener: 0xd34880 smtp-in: session dd3d7c11f63059ad: connection from host mail-oi0-f47.google.com [209.85.218.47] established debug: smtp

Re: recipient question

2016-03-23 Thread Edgar Pettijohn
I've used it in the past. The following should work. table tablename file:/etc/mail/something accept from any for domain recipient deliver to mbox /etc/mail/something u...@something.com On 03/23/16 17:31, Ian Darwin wrote: At this time, the list is very low volume, feel free to introduce y

Re: Configuration erros

2016-03-12 Thread Edgar Pettijohn
On 03/09/16 20:55, Edgar Pettijohn wrote: I really think the problem lies with amavis. I don't know where or why, but I had similar/same problems and switched setup similar to: http://technoquarter.blogspot.com/?m=1 Since filters are stable I've been slowly switching over. Se

Re: Configuration erros

2016-03-12 Thread Edgar Pettijohn
I really think the problem lies with amavis. I don't know where or why, but I had similar/same problems and switched setup similar to: http://technoquarter.blogspot.com/?m=1 Since filters are stable I've been slowly switching over. Sent from my iPhone > On Mar 9, 2016, at 8:42 PM, Dickie Bennett

Re: Configuration erros

2016-03-06 Thread Edgar Pettijohn
On 03/06/16 13:39, Dickie Bennett wrote: Edgar, thank you for the answer. I don't think that I can use virtual because there are some aliases to external servers and according to the documentation (man smtpd.conf) "virtual" must match system users. Is is possible to mak

Re: Configuration erros

2016-03-04 Thread Edgar Pettijohn
Sent from my iPhone > On Mar 4, 2016, at 10:50 AM, Dickie Bennett wrote: > > Hi, > > I'm running OpenSMTPD + Dovecot + Amavis on FreeBSD and I made some mistakes > configuring that I am not sure how to fix. This is my configuration: > > pki example.com certificate "/etc/ssl/certs/example.pe

Re: rc script not working

2016-02-22 Thread Edgar Pettijohn
Upgraded to 5.9.1 from cvs source and all is well. On 02/22/16 19:36, Edgar Pettijohn wrote: I noticed the following today from /etc/daily: Services that should run but don't: smtpd Upon investigating I found that smtpd won't die from "pkill -xf smtpd". I also found t

rc script not working

2016-02-22 Thread Edgar Pettijohn
7;t appear to work. Which I believe is why I receive the notice from /etc/daily because of "rcctl ls faulty" calls "/etc/rc.d/smtpd check". For reference this is OpenSMTPD 5.7.3 on OpenBSD fairly current. Thanks, Edgar -- You received this mail because you are subscribed to

Re: Need help with configuration using DNS aliases

2016-02-12 Thread Edgar Pettijohn
Yes it can. However, By default, when connecting to a remote server, smtpd(8) advertises its default server name. A hostname parameter may be specified to advertise the alternate hostname name. If the source parameter is used, the hostnames parameter may be specified to advertise a hostname ba

Re: daemon keeps dieing

2016-01-25 Thread Edgar Pettijohn
dest}" On 01/24/16 14:04, Joerg Jung wrote: See: https://www.mail-archive.com/misc@opensmtpd.org/maillist.html especially Gilles reply on 22.1. and my on 20.1. On Sun, Jan 24, 2016 at 11:32:53AM -0600, Edgar Pettijohn wrote: Bump Sent from my iPhone On Jan 22, 2016, at 1:05 PM, Edgar

Re: daemon keeps dieing

2016-01-24 Thread Edgar Pettijohn
Bump Sent from my iPhone > On Jan 22, 2016, at 1:05 PM, Edgar Pettijohn wrote: > > I think something is wrong wit the list. Based on the subject this should be > my original message. This is the first I've seen it. Could someone please > forward me the complete thread? &g

Re: daemon keeps dieing

2016-01-22 Thread Edgar Pettijohn
I think something is wrong wit the list. Based on the subject this should be my original message. This is the first I've seen it. Could someone please forward me the complete thread? Thanks Edgar Sent from my iPhone > On Jan 22, 2016, at 6:46 AM, Gilles Chehade wrote: > >&g

smtpd fatal error

2016-01-21 Thread Edgar Pettijohn
hosting.ru [205.234.232.6] closed (client sent QUIT) spamd[28577]: spamd: processing message <1399008493.1859859723520628...@mutism.cliftbonze.com> for (unknown):506 smtpd[8217]: warn: pony -> inbound: pipe closed smtpd[8217]: warn: filter "inbound" closed unexpectedly smtpd[8217]: fatal: exiting Thanks, Edgar

daemon keeps dieing

2016-01-20 Thread Edgar Pettijohn
hosting.ru [205.234.232.6] closed (client sent QUIT) spamd[28577]: spamd: processing message <1399008493.1859859723520628...@mutism.cliftbonze.com> for (unknown):506 smtpd[8217]: warn: pony -> inbound: pipe closed smtpd[8217]: warn: filter "inbound" closed unexpectedly smtpd[8217]: fa

filter or pony error?

2016-01-19 Thread Edgar Pettijohn
hosting.ru [205.234.232.6] closed (client sent QUIT) spamd[28577]: spamd: processing message <1399008493.1859859723520628...@mutism.cliftbonze.com> for (unknown):506 smtpd[8217]: warn: pony -> inbound: pipe closed smtpd[8217]: warn: filter "inbound" closed unexpectedly smtpd[8217]: fa

Re: [OpenSMTPD] opensmtpd-extra master snapshot opensmtpd-extras-201601061159 available

2016-01-10 Thread Edgar Pettijohn
On 01/09/16 14:27, Raf Czlonka wrote: On Sat, Jan 09, 2016 at 07:42:30PM GMT, Edgar Pettijohn wrote: # pkg_info | grep libtool libltdl-2.4.2p1 GNU libtool system independent dlopen wrapper libtool-2.4.2p0 generic shared library support script Uninstalled and reinstalled libtool

Re: [OpenSMTPD] opensmtpd-extra master snapshot opensmtpd-extras-201601061159 available

2016-01-09 Thread Edgar Pettijohn
-0600, Edgar Pettijohn wrote: # AUTOCONF_VERSION=2.69 ./bootstrap + test yes = yes + libtoolize --copy --force + test -n -a ! = . -a -f ltmain.sh + aclocal-1.9 -I m4 + autoconf + test yes = yes + autoheader + test yes = yes + automake-1.9 --foreign --add-missing --copy configure.ac: installing

Re: [OpenSMTPD] opensmtpd-extra master snapshot opensmtpd-extras-201601061159 available

2016-01-09 Thread Edgar Pettijohn
s config.status: error: cannot find input file: `Makefile.in' On 01/07/16 08:31, Joerg Jung wrote: I have tested this on a 5.8 stable with a fresh git clone of -extras, and everything seems to work fine and expected. Please, show your exact bootstrap commands and all output. Have you add

Re: [OpenSMTPD] opensmtpd-extra master snapshot opensmtpd-extras-201601061159 available

2016-01-06 Thread Edgar Pettijohn
Is there a snapshot for openbsd? Following README directions of bootstrap, configure, etc. I get the following error: config.status: error: cannot find input file: `Makefile.in' Thanks, Edgar On 01/06/16 05:01, gilles chehade wrote: A new opensmtpd-extras snapshot is availab

Re: filter-spamassassin

2016-01-03 Thread Edgar Pettijohn
On 01/03/16 12:33, Joerg Jung wrote: On Sun, Jan 03, 2016 at 08:56:00AM -0600, Edgar Pettijohn wrote: I finally got around to trying out filter-spamassassin. It appears to work correctly. However, I was trying to change the default action from accept to reject. I've tried everything

filter-spamassassin

2016-01-03 Thread Edgar Pettijohn
spam spamassassin -s reject listen on egress filter spam But it didn't. Any help is appreciated. Edgar Pettijohn -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Re: "From: foo" -> relay via $relayA, "From: bar" -> relay via $relayB

2015-08-28 Thread Edgar Pettijohn
On 08/28/15 03:53, Donovan Watteau wrote: 2015-08-28 10:13 GMT+02:00 Joerg Jung : On 27 Aug 2015, at 17:27, Donovan Watteau wrote: Hi, I'm configuring OpenSMTPD 5.7.1p1 on Debian 7.8. I'm looking for something like this: # Use this when "From: f...@foo.foo" is set: accept for any rela

Re: That SSLv3 thing

2015-08-16 Thread Edgar Pettijohn
On 08/16/15 11:41, Seth wrote: On Wed, 15 Oct 2014 12:33:50 -0700, Gilles Chehade wrote: Hi, As you may know, SSLv3 has been pushed into end of life. While SSL libraries are working this out, I committed a fix to disable it explicitely in our code just in case someone builds it against so

Re: is opensmtpd compatible with OpenBSD vacation?

2015-08-13 Thread Edgar Pettijohn
On 08/13/15 19:25, James Triplett wrote: We run smtpd 5.4.2 on OpenBSD 5.5 Everything has been working well, but recently I'm seeing a problem with the vacation(1) program. We have a user AJ who has installed a vacation msg, and it works well when delivering mail directly to

Re: vmap?

2015-08-04 Thread Edgar Pettijohn
Mon, Aug 03, 2015 at 06:30:21PM -0500, Edgar Pettijohn wrote: I am curious how to use the following: *for any virtual* |<|/vmap/> Make the rule match regardless of the domain it is sent to. The /vmap/ table will be used as the virtual domain mapping. Can someone give an example of what

vmap?

2015-08-03 Thread Edgar Pettijohn
I am curious how to use the following: *for any virtual* |<|/vmap/> Make the rule match regardless of the domain it is sent to. The /vmap/ table will be used as the virtual domain mapping. Can someone give an example of what table vmap would contain. Thanks, Edgar

Re: spamd

2015-08-01 Thread Edgar Pettijohn
All tests performed, 20 relays accepted.<--* spamd is difficult . Thats ok the "relays" never got through spamd to your server. -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Re: [Extras] Problems with sqlite tables

2015-07-26 Thread Edgar Pettijohn
On 07/26/15 13:42, Seth wrote: On Sun, 26 Jul 2015 08:03:45 -0700, Edgar Pettijohn wrote: # smtpd -d If so add some v's: # smtpd -d Do the extra stmpd 'v' flags produce more verbose output on all platforms? I just tried this on Arch linux and can't tell that

Re: [Extras] Problems with sqlite tables

2015-07-26 Thread Edgar Pettijohn
On 07/26/15 02:47, Joerg Jung wrote: Am 25.07.2015 um 22:18 schrieb James Lott >: Interestingly, it looks to me like opensmtpd does actually check the /usr/local/libexec/opensmtpd directory for modules. When I remove the module from that directory, smtpd does no

Re: Announce: OpenSMTPD-extras 5.7.1 released

2015-07-13 Thread Edgar Pettijohn
On 07/13/15 15:49, Rasmus Liland wrote: On 2015-07-13 20:25 +0200, Gilles Chehade wrote: OpenSMTPD-extras 5.7.1 have just been released. Congratulations! We might also note that running `sh bootstrap' before the `./configure' script is no longer required like it was up until version 20150602

Re: Emails not forwarding to external addresses

2015-07-09 Thread Edgar Pettijohn
I'm not sure if I understand your goals completely, but perhaps this is worth a try. I'm not sure if "recipient" can be used with a "relay", but if it doesn't work maybe it will spark another option. listen on lo0 tag LOCAL listen on egress etc,etc tag listen on submission etc,etc accept from

Re: Opensmtpd-extras on Freebsd 10.1

2015-06-28 Thread Edgar Pettijohn
On 06/28/15 06:05, Ian Simonsen wrote: Hi All, Compiling Opensmtpd-extras for the stable port on Freebsd 10.1, seems not to work. Smtpd will not use table-password where I get the error: fatal: table_create: backend "passwd" does not exist. On the other hand compiling Opensmtpd-extras again

Re: How to adapt bogus email addresses?

2015-06-24 Thread Edgar Pettijohn
On 06/24/15 16:19, Vijay Sankar wrote: # cat vmap ilom-alert@192.168.100.63: avantsys...@avant.ca Looks like there is a colon there -- could that be the problem? Quoting Adam Thompson : I'm running smtpd 5.6-RELEASE inside the firewall, acting as an SMTP relay. One host in particular (

filter build patch

2015-06-15 Thread Edgar Pettijohn
This makes filter-stub and filter-monkey build on OpenBSD 5.7 OpenSMTPD 5.4.6. Still playing with others. --- Makefile.inc.oldMon Jun 15 19:55:45 2015 +++ Makefile.incMon Jun 15 19:56:22 2015 @@ -3,7 +3,7 @@ CFLAGS+= -DNO_IO -DBUILD_FILTER CPPFLAGS+= -I${.CURDIR}/../../ -SRCS

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

<    1   2   3   4   >