Re: What's wrong with this config?

2014-06-21 Thread Edgar Pettijohn
On 06/21/2014 09:58 PM, Hugo Osvaldo Barrera wrote: Hi, I'm getting a syntax error on this line: accept from any for domain barrera.io relay backup mx2.barrera.io verify But, according to the man page, it looks fine. What am I doing wrong? :( I think you need to barrera.io and

Re: Is my virtual user configuration correct?

2015-01-19 Thread Edgar Pettijohn
On 01/19/15 09:57, Jason Barbier wrote: Read the descriptions in the manual pages it makes it pretty clear. virtual is a specific type of aliasing. userbase changes the user database where look ups happen. The userbase section could be clearer. I made the same mistake before getting things

Re: a few more questions

2015-01-18 Thread Edgar Pettijohn
On 01/18/15 17:20, Seth wrote: On Sun, 18 Jan 2015 14:25:20 -0800, Edgar Pettijohn ed...@pettijohn-web.com wrote: I added another host and test user and everything seems to be working. Reread smtpd.conf(5) and feel good about this setup. A few questions remain. When I connect from my home

a few more questions

2015-01-18 Thread Edgar Pettijohn
I added another host and test user and everything seems to be working. Reread smtpd.conf(5) and feel good about this setup. A few questions remain. When I connect from my home pc with: $ mutt -f imap://t...@test.pettijohn-web.com@test.pettijohn-web.com and send an email to myself the from

Re: we need a server

2015-02-16 Thread Edgar Pettijohn
On 02/16/15 06:16, Gilles Chehade wrote: Hi, I'd like to rent a dedicated server to run virtualized Linux distros and BSD systems to help us improve the portable branch of OpenSMTPD. The cost of this server would be 16 euros / month + 20 setup fee. If you're interested in portable and

Re: Best way to relay mail to a server with intermittent connectivity

2015-01-27 Thread Edgar Pettijohn
On 01/27/15 18:57, Seth wrote: I administer an email system which uses a VPS running OpenSMTPD as the public facing bit. The VPS relays email to and from a separate OpenSMTPD mail server which is located on premises. We'll call this the 'local' server. The local server gets powered down

Re: opensmtpd: procmail: not found

2015-01-27 Thread Edgar Pettijohn
On 01/27/15 05:10, openda...@hushmail.com wrote: On 27. januar 2015 at 8:25 AM, Herbert J. Skuhra herb...@oslo.ath.cx wrote: On Mon, Jan 26, 2015 at 11:54:09PM +, openda...@hushmail.com I guess the error does not come from your smtpd.conf, otherwise the log would show: Jan 26 14:05:20

Re: a few more questions

2015-02-01 Thread Edgar Pettijohn
On 01/30/15 02:28, Gilles Chehade wrote: Hi, I had somehow missed this thread... On Sun, Jan 18, 2015 at 04:25:20PM -0600, Edgar Pettijohn wrote: I added another host and test user and everything seems to be working. Reread smtpd.conf(5) and feel good about this setup. A few questions

Re: Best way to relay mail to a server with intermittent connectivity

2015-01-27 Thread Edgar Pettijohn
On 01/27/15 20:45, Seth wrote: On Tue, 27 Jan 2015 17:22:43 -0800, Edgar Pettijohn ed...@pettijohn-web.com wrote: *bounce-warn* /n/{*s*|*m*|*h*|*d*}[, /.../] Specify the delays for which temporary failure reports must be generated when messages are stuck in the queue. For example

Re: Manual

2015-01-11 Thread Edgar Pettijohn
just saw the opensmtpd-extras is available as a package from my local mirror. sorry for the noise. On 01/11/15 19:47, Edgar Pettijohn wrote: Just did: cd /usr/src/usr.sbin/smtp cvs -q up -Pd then: make make install then: man table-sqlite and nothing. then: ls /usr/share/man/man5 | grep

Re: Manual

2015-01-11 Thread Edgar Pettijohn
I'm running openbsd current and man table-sqlite shows nothing. Do I need to checkout with cvs and compile smtpd? On 01/11/15 18:04, Jason Barbier wrote: if you have the extras installed man table-sqlite -- Jason Barbier jab...@serversave.us On Sun, Jan 11, 2015, at 10:07 AM, edgar wrote:

Re: Virtual users with valid email addresses for usernames?

2015-02-13 Thread Edgar Pettijohn
On 02/13/15 00:09, Seth wrote: On Thu, 12 Feb 2015 21:48:02 -0800, Josh Kunz joshk...@me.com wrote: Thanks for your reply. I hadn't thought of using OpenSMTPd as the MDA, I kept trying to get the usernames to work of LMTP to dovecot. Since I need the sieve support from dovecot, I'll probably

Re: YAB - Yet Another Blog with posts about OpenSMTPD, clamsmtp, spampd, lmtp, etc.on OpenBSD

2015-02-15 Thread Edgar Pettijohn
On 02/14/15 14:14, Chess Griffin wrote: On Fri, Feb 13, 2015, at 02:38 PM, Christoph Borsbach wrote: I found one issue with your config though: It seems the last line of your config creates an open relay: accept from any for any relay via smtp://127.0.0.1:10025 # incoming mail I noticed this

Re: Virtual domains

2015-03-12 Thread Edgar Pettijohn
@foobar.com.ar http://foobar.com.ar vmail usuarios foo:$2b$06$aHet9bLmm.bkoK4A6tueb.eb0j2vivzV1pH7PrZoixwzBROTr0Gd6:5001:5001:/var/www/mail/%n 2015-03-12 19:07 GMT-03:00 Edgar Pettijohn III ed...@pettijohn-web.com mailto:ed...@pettijohn-web.com: one system user will take care of it all. you could

Re: Custom bounce messages for messages sent from NSA PRISM program providers

2015-02-28 Thread Edgar Pettijohn
This doesn't cover the bounce message but it will take care of the blocking. #smtpd.conf table senders file:/etc/mail/senders accept sender ! senders from any for domain I first tried reject sender senders but that didn't work. Is that a bug or not applied correctly? #/etc/mail/senders

Re: Catchall sink, write to file for analytics

2015-02-23 Thread Edgar Pettijohn
On 02/23/15 11:07, Alan Gilson wrote: Ive dug through the archives, and dont see if this has been answered anywhere before: Were running a honeypot and are hoping to switch over to opensmtpd. The concept of this honeypot is that Id like to capture all of the email that is sent to it,

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 athom...@athompso.net: I'm running smtpd 5.6-RELEASE inside the firewall, acting as an SMTP relay.

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

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 gil...@poolp.org 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

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

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: vmap?

2015-08-04 Thread Edgar Pettijohn
wrote: On 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

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

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 ja...@lottspot.com mailto:ja...@lottspot.com: 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

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 ed...@pettijohn-web.com 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

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

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: 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 m...@umaxx.net: On 27 Aug 2015, at 17:27, Donovan Watteau d.watt...@groupecerise.fr wrote: Hi, I'm configuring OpenSMTPD 5.7.1p1 on Debian 7.8. I'm looking for something like this: # Use this when From:

filter-spamassassin

2016-01-03 Thread Edgar Pettijohn
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: [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 available at:

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

2016-01-09 Thread Edgar Pettijohn
bootstrap? For example, I do: AUTOCONF_VERSION=2.69 ./bootstrap On 07 Jan 2016, at 13:26, Edgar Pettijohn <ed...@pettijohn-web.com> wrote: 5.8 stable I've always received that error when attempting to build from git sources. Sent from my iPhone On Jan 7, 2016, at 5:24 AM, Joerg Jun

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

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

Re: Tool stats

2016-06-02 Thread Edgar Pettijohn
Sent from my iPhone > On Jun 2, 2016, at 8:44 AM, Joerg Jung <m...@umaxx.net> wrote: > > >> On 02 Jun 2016, at 15:24, Edgar Pettijohn <ed...@pettijohn-web.com> wrote: >> >> I saw this in my daily report. >> >> Running daily.local: >&

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

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

Re: configuration

2016-06-21 Thread Edgar Pettijohn
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: 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: [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

rc script not working

2016-02-22 Thread Edgar Pettijohn
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 that "/etc/rc.d/smtpd check" also fails because "pgrep -xf smtpd" doesn't appear to work. Which I believe is why I

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

smtpd fatal error

2016-01-21 Thread Edgar Pettijohn
I've been getting the following in the logs for a couple of weeks now. I had intended on upgrading to a current snapshot and testing, but I haven't had a chance. Has anyone else seen this? smtpd[8217]: smtp-in: session 25c5ca54fc7bce0c: connection from host server.majorhosting.ru

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

Re: daemon keeps dieing

2016-01-25 Thread Edgar Pettijohn
" 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 Pet

filter or pony error?

2016-01-19 Thread Edgar Pettijohn
I've been getting the following in the logs for a couple of weeks now. I had intended on upgrading to a current snapshot and testing, but I haven't had a chance. Has anyone else seen this? smtpd[8217]: smtp-in: session 25c5ca54fc7bce0c: connection from host server.majorhosting.ru

daemon keeps dieing

2016-01-20 Thread Edgar Pettijohn
I've been getting the following in the logs for a couple of weeks now. I had intended on upgrading to a current snapshot and testing, but I haven't had a chance. Has anyone else seen this? smtpd[8217]: smtp-in: session 25c5ca54fc7bce0c: connection from host server.majorhosting.ru

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 <ed...@pettijohn-web.com> 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 > fo

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

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

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

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

Re: Configuration erros

2016-03-06 Thread Edgar Pettijohn
the problems you're having. Thanks. On Fri, Mar 4, 2016 at 8:41 PM, Edgar Pettijohn <ed...@pettijohn-web.com <mailto:ed...@pettijohn-web.com>> wrote: Sent from my iPhone On Mar 4, 2016, at 10:50 AM, Dickie Bennett <shstr...@gmail.com <mailto:shstr...@gmail.c

Re: received invalid command: "RCPT TO:<r...@myhost.com>"

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:

Re: smtpd: connect: Connection refused

2016-04-28 Thread Edgar Pettijohn
path to where you want dovecot 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 Pettijo

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

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

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 recipients

Re: denial of service?

2016-05-10 Thread Edgar Pettijohn
Sent from my iPhone > On May 10, 2016, at 11:10 AM, Gilles Chehade <gil...@poolp.org> 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

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

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

Re: filter dkim signer

2016-04-17 Thread Edgar Pettijohn
On 04/17/16 10:20, Ryan Kavanagh wrote: Edgar Pettijohn <ed...@pettijohn-web.com> 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/pri

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 <ed...@pettijohn-web.com> wrote: Is anyone using this filter? Yes, I got it running yesterday using OpenBSD 5.9's opensmtpd-

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

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 <ed...@pettijohn-web.com> wrote: > > > > Sent from my iPhone > > On Jul 25, 2016, at 11:33 AM, Denis Fondras <open...@ledeuns.net> wrote: > >>> I'd like to bcc all in

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

Re: something similar to always_bcc in postfix?

2016-07-27 Thread Edgar Pettijohn
> It worked reliably the only gotcha was trying to copy mails for unknown > addresses, > I was not able to pull this off, as a safety measure wildcard setting at > the bottom > of the file for un-known users and this would forward the mail without > copying > (not to

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

Re: table ownership/permissions issues

2016-08-16 Thread Edgar Pettijohn
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: 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 >

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

Re: mlmmj with opensmtpd

2016-08-17 Thread Edgar Pettijohn
Sent from my iPhone > On Aug 17, 2016, at 7:20 AM, Marcus MERIGHI wrote: > > I think: > > 1) smtpd accepts message > (accept from any recipient ! for domain relay via >"smtp://127.0.0.1:10024") > 2) smtpd forwards to amavisd > 3) avavisd returns the message

Re: table ownership/permissions issues

2016-08-16 Thread Edgar Pettijohn
Sent from my iPhone > On Aug 16, 2016, at 9:07 PM, Jeremy Volkening wrote: > >> On Tue, Aug 16, 2016 at 02:49:04PM -0500, Jeremy Volkening wrote: >> Olivier, >> >> Thanks for the reply. >> >>> Seems you had issue with your passwd file. >> >> I'm faily sure the format of

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

Re: Can't map an address to another one

2016-08-21 Thread Edgar Pettijohn
lt;personal...@gmail.com>, to=<u...@mydomain.org>, > rcpt=<i...@mydomain.org>, user=vmail, method=maildir, delay=0s, stat=Delivered > But then the mail is received in its own mailbox > # cat > /var/mail/vmail/mydomain.org/info/Maildir/new/1471765090.2083.smtp.mydomain.org &g

Re: My aliases don't work

2016-09-06 Thread Edgar Pettijohn
o 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 received this mail be

Filter withdrawals

2016-09-06 Thread Edgar Pettijohn
I'm thinking of starting a support group for others suffering from filter withdrawal. Upgraded to 6.0 over the weekend and went back to using spampd and sieve. Is there any other options besides amavis? I really miss filter-regex. Haven't had any luck finding a replacement just curious if

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 -

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

Re: Greylisting

2016-09-13 Thread Edgar Pettijohn
Sent from my iPhone > On Sep 13, 2016, at 11:55 AM, Silvio Siefke <siefke_lis...@web.de> wrote: > > On Mon, 12 Sep 2016 14:07:29 -0500 > Edgar Pettijohn <ed...@pettijohn-web.com> wrote: > >> For anyone to answer that you would need to provide your

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 >

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

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

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: 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 <ed...@pettijohn-web.com> 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

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

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

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

Re: Enabling route every 2 seconds in a loop

2017-05-23 Thread Edgar Pettijohn
On 05/23/17 13:03, mabi wrote: Hello, My OpenSMTPd 6.0.2p1 mail gateway is somehow looping indefinitely with the following log output every 2 seconds: May 23 20:00:44 mgw smtpd[28997]: smtp-out: Enabling route [] <-> 163.114.21.130 (mtagated.edf.fr) May 23 20:00:44 mgw smtpd[28997]:

Re: OpenSMTPD sometimes forgets to say Bye

2017-06-06 Thread Edgar Pettijohn
I couldn't. ⁣Sent from BlueMail ​ On Jun 6, 2017, 10:33 AM, at 10:33 AM, Bruce Walzer wrote: >On Wed, May 24, 2017 at 06:41:02PM -0500, Bruce Walzer wrote: >> This is whatever version of OpenSMTPD is in OpenBSD 6.1 -release. The >> problem has been seen on two systems, both

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

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

Re: cannot send mail

2017-10-08 Thread Edgar Pettijohn
On Sun, Oct 08, 2017 at 05:16:11PM -0400, Timothy Marion wrote: > Hi All, > > I am able to receive mail but I cannot send mail. Could anyone point me in > the right direction? > > Thanks, > > Tim > > # $OpenBSD: smtpd.conf,v 1.9 2016/05/03 18:43:45 jung Exp $ > > > pki

Re: list of features

2017-08-28 Thread Edgar Pettijohn
On Mon, Aug 28, 2017 at 08:55:44AM -0300, Felipe N. Oliva wrote: > Hello! > > I'm looking for the list of features that opensmtpd has implemented. > > Can someone help me? > > I'm very interested in quitting qmail. > I think this depends on your definition of feature. What features are you

Re: list of features

2017-08-28 Thread Edgar Pettijohn
On Mon, Aug 28, 2017 at 02:22:14PM -0300, Felipe N. Oliva wrote: > > > Em 8/28/17 13:43, Edgar Pettijohn escreveu: > > On Mon, Aug 28, 2017 at 08:55:44AM -0300, Felipe N. Oliva wrote: > >> Hello! > >> > >> I'm looking for the list of features that opensm

Re: Mail relay

2017-11-28 Thread Edgar Pettijohn
On Tue, Nov 28, 2017 at 05:55:14PM +0100, R??my Silber wrote: > Hello. Hello, > I'm just a geek who whish don't use google smtp and so, I have email > problems;) > Thanks > > I have a virtual machine (VM1) that is configured normally. I manage to > send messages, (maybe errors in reception, but

Re: Mail relay

2017-11-29 Thread Edgar Pettijohn
On Tue, Nov 28, 2017 at 05:55:14PM +0100, R??my Silber wrote: > Hello. Hello, > I'm just a geek who whish don't use google smtp and so, I have email > problems;) > Thanks > > I have a virtual machine (VM1) that is configured normally. I manage to > send messages, (maybe errors in reception, but

Re: lka.c patch

2017-12-16 Thread Edgar Pettijohn
Sorry forgot to make cpass an int Index: lka.c === RCS file: /cvs/src/usr.sbin/smtpd/lka.c,v retrieving revision 1.199 diff -u -p -u -r1.199 lka.c --- lka.c 17 May 2017 14:00:06 - 1.199 +++ lka.c 16 Dec 2017

lka.c patch

2017-12-16 Thread Edgar Pettijohn
I was playing with some perl cgi for a webapp to automate user (sql) tables, etc updating / allow users to change their passwords. I had never noticed that `smtpctl encrypt ${string}' provided a different hash each time. Which is obviously the more better way to do passwords. However, looking

  1   2   3   >