list,
It looks like I finished this little helper script for testing smtpd
filters, but forgot about it...
Anyway it can be found at
http://www.pettijohn-web.com/new-filter-test.pl. Theres even a SHA512
file so you can make sure you got all the right bits in all the right spots.
I
nt out on it though. I had it almost complete and then
realized a better way and the better way ended up being a complete rewrite.
Edgar
On Sat, Apr 16, 2022 at 01:04:21PM -0500, Edgar Pettijohn wrote:
I've written a perl script to help test filters. It can be found at:
http://www.pettijohn-web.com/
I've written a perl script to help test filters. It can be found at:
http://www.pettijohn-web.com/filter-test.pl
Its not 100% complete but it should be helpful enough in finding common
problems. Such as forgetting fflush() in awk filters or swapping the
session id and opaque tokens.
If you
On 4/14/22 14:00, Beau Ford wrote:
On Thu, 14 Apr 2022, Beau Ford wrote:
1) Am I still using my aliases that are defined in:
table aliases file:/usr/local/etc/mail/aliases
action "local_mail" mbox alias
... or are those superceded now by the catchall ?
It turns out I am *not* using
On 3/6/22 07:58, Pete Long wrote:
On Sun, Mar 06, 2022 at 02:28:54PM +0100, Jiri Navratil wrote:
Hi,
I'm using notebook with OpenBSD and every email from mail and from mutt
goes firstly to OpenSMTPD on localhost and then are relayed to my
server with static IP.
I have been using in OpenBSD
On 1/24/22 13:36, John Batteen wrote:
Greetings list,
With the following config, with the secondary domain anonymized to
bd.net: https://batteen.com/smtpd.conf.txt
and "fem: john" contained within /etc/mail/aliases
%{dest.user} is not expanding to the post-alias address as I
expected.
On 8/26/21 6:25 AM, Jack wrote:
Could you resend with proper line breaks. This is difficult to read.
Sorry, the line breaks got messed up.
I'm using OpenSTMPD 6.8 portable and want to filter on DNS names or HELO
strings with regular expressions. Therefore I created the following
minified
On 8/25/21 2:43 AM, Jack wrote:
Hello list,
I already posted this on the bug tracker of OpenSMTPD, but maybe I'm
doing something wrong in the config and you can help me:
I'm using OpenSTMPD 6.8 portable and want to filter on DNS names or HELO
strings with regular expressions. Therefore I
On 8/5/21 9:56 AM, Vigneshwaran Ravichandran wrote:
Hi Thomas,
I am attaching my log file for reference.
-Original Message-
From: Thomas Bohl
Sent: Thursday, 5 August, 2021 10:24 PM
To: misc@opensmtpd.org
Subject: Re: Syntax Error
I am Vigneshwaran R @ vgnshlvnz. I am a FreeBSD OS
On 6/9/21 4:42 PM, Diana Eichert wrote:
I setup an email server following the guide here,
https://poolp.org/posts/2019-09-14/setting-up-a-mail-server-with-opensmtpd-dovecot-and-rspamd/
I did this over a year ago, however I never actively used this system
to receive external email. I
Sorry for spamming the list, but noticed that part of the script was
missing for some reason.
line 66 should be concluded with
Edgar
On 6/8/21 4:31 PM, Edgar Pettijohn wrote:
On 6/7/21 6:52 PM, Edgar Pettijohn wrote:
On 6/7/21 6:35 PM, Thomas Bohl wrote:
So I have a list of users
On 6/7/21 6:52 PM, Edgar Pettijohn wrote:
On 6/7/21 6:35 PM, Thomas Bohl wrote:
So I have a list of users defined on a server and I want to copy
all mails of users with a specific mail domain.
I don't think that is possible without writing a custom filter or mda.
Do you need a copy
On 6/7/21 6:35 PM, Thomas Bohl wrote:
So I have a list of users defined on a server and I want to copy all
mails of users with a specific mail domain.
I don't think that is possible without writing a custom filter or mda.
Do you need a copy of all:
a) incoming mails
b) outgoing mails
On May 11, 2021 8:35 PM, Sean Kamath wrote:I was pondering a message Gille Chehade commented on (https://narkive.com/2puCGKoq.4) a very long time ago.
He said:
> The cert verification happens at the transport level, not the SMTP level
> and an invalid certificate will cause TLS to abort and
On May 11, 2021 8:35 PM, Sean Kamath wrote:I was pondering a message Gille Chehade commented on (https://narkive.com/2puCGKoq.4) a very long time ago.
He said:
> The cert verification happens at the transport level, not the SMTP level
> and an invalid certificate will cause TLS to abort and
On May 10, 2021 9:35 AM, Harald Dunkel wrote:On 5/10/21 3:14 PM, Martijn van Duren wrote:
> There's filter-dkimsign in packages, which is also mentioned in
> smtpd.conf. I don't think there's a more lightweight solution
> possible.
>
I had found your web site
Added a block to smtp_mailaddr() in smtp_session.c to allow for quoted
usernames. Only tested on my laptop and seems to work. However, I'm
thinking it might should be moved past the point of splitting on ':'.
Edgar
Index: smtp_session.c
On Apr 4, 2021 5:36 PM, "Anthony J. Bentley" wrote:Hi Peter,
Peter Nicolai Mathias Hansteen writes:
> It's interesting that the subject turns up here, when there is a
> fresh (and good IMO) blog post out about email address validation out,
> "Your E-Mail Validation Logic is Wrong"
> by
On Sun, Apr 04, 2021 at 07:03:47AM -0600, Anthony J. Bentley wrote:
> Hi,
>
> I had an interesting occurrence today... I was performing an action
> that required a confirmation code from my bank, which they sent by
> email. Unfortunately the mail never arrived, because:
>
> Apr 4 03:25:16 axx
On Sun, Jan 31, 2021 at 04:24:28PM -0600, Chris Bennett wrote:
> On Sun, Jan 31, 2021 at 03:51:01PM +0100, Pascal Huisman wrote:
> > Which got me out of the mess. See man smtpd.conf
> > It now switches to the user before delivering. So it's not vmail as
> > directory owner, but the username who is
On Sun, Jan 17, 2021 at 06:33:29PM +0100, Yvan Masson wrote:
> Hi list,
>
> I have two Debian servers that need to be able to send notification emails
> via a relay. Their configuration is identical, but only the first works
> properly. On the second, sending to aliases does not work:
>
>
> $
On Sun, Aug 16, 2020 at 02:15:52AM +0200, Fabian M??ller wrote:
>
> is your user allowed to connect to the host above?
>
> ** Which host do you mean? mx01 is allowed to connect to db (ha-proxy) and
> even db1, db2, db3 directly (which I also tried, but did not change
> anything). And the
On Sun, Aug 16, 2020 at 12:13:41AM +0200, Fabian M??ller wrote:
> Hi!
>
> I am hopefully a new opensmtpd user and before I???ll start off with my first
> newbie question I???d be happy to briefly introduce myself: I???m Fabian from
> Germany. Actually I am studying german law, but as ??? in
table-passwd can be found here:
https://github.com/OpenSMTPD/OpenSMTPD-extrashttps://github.com/OpenSMTPD/OpenSMTPD-extras
On Mon, Jul 13, 2020 at 05:23:20PM -0300, Leandro Peracchi wrote:
> Scenario: hypno.cat expanded inside a Raspberry Pi 4 with Arch Linux, three
> breeds (domains), two
On Tue, Jul 14, 2020 at 10:10:23PM -0300, Leandro Peracchi wrote:
> I made some progress, all services start without errors.
>
> When tried to send a test mail from Gmail to my server, got the error:
>
> smtpd[727]: ny express[727]: c2a5ef6f793addab mda delivery
> evpid=567ebdf9f826cf44
>
t to
> find vulnerable servers without fully leveraging the exploit.
>
> If you had the IP it originates from it could tell you a lot.On Jun 10, 2020
> 8:08 PM, Ryan Kavanagh wrote:
61.148.74.134
Edgar
> >
> > On Wed, Jun 10, 2020 at 10:00:08PM -0500, Edgar Pettijohn wrote:
Saw this in the maillog today. Any ideas what they are trying to do?
249c054a86af9328 smtp failed-command command="MAIL FROM: <;for i in 0 1 2 3 4
5 6 7 8 9 a b c d;do read r;done;sh;exit 0;>" result="530 5.5.1 Invalid
command: Must issue an AUTH command first"
Edgar
On Fri, Jun 05, 2020 at 11:28:12AM -0500, David Favor wrote:
> I've been wrestling with this for days with no progress.
>
> Can someone drop me a v6.6.4 config to do something similar to the following.
>
>da...@davidfavor.com - maildir
>i...@davidfavor.com- forward to
On Tue, May 26, 2020 at 10:58:12PM +, gil...@poolp.org wrote:
> Hellow,
>
> I have been working on a new table backend: table-procexec.
>
> What it does is translate the imsg table API to a line-based protocol that is
> very similar to what we did for filters. A table backend can become a
When playing with filters its easy to forget to register
stdout, etc...
Here is a patch to add a timeout and give a little helpful info as
opposed to just hanging in an unusable state.
Index: lka_filter.c
===
RCS file:
On Thu, Apr 16, 2020 at 06:14:46PM +0200, Martijn van Duren wrote:
> On 4/16/20 3:58 PM, Jacky wrote:
> > Hi,
> >
> > I am using Opensmtp 6.6.4p1. I am going to use Opensmtp as outgoing SMTP
> > server, and use POP before SMTP method for authentication.
> >
> > Is it possible for us to write
http://www.pettijohn-web.com/filter-spamassassin.pl
http://www.pettijohn-web.com/SHA512
I've written a little spamassassin filter in perl. The only requirements
you may not have installed is AnyEvent. Its pretty common so your os
most likely has it packaged. If not:
# cpan -i AnyEvent
://www.pettijohn-web.com/OpenSMTPD-Password-0.03.tar.gz
http://www.pettijohn-web.com/SHA512
On 3/18/20 10:29 AM, Edgar Pettijohn wrote:
Just updated the module with a few minor tweaks, mostly just making it
more perl like and a few more error checks. Also requires
BSD::arc4random to provide random numbers
Just updated the module with a few minor tweaks, mostly just making it
more perl like and a few more error checks. Also requires
BSD::arc4random to provide random numbers as opposed to the perl builtin
rand(). Should make the truly paranoid types happy :) Again it still
only works for
Here is a simple perl module for hashing passwords/checking passwords
for use in scripts and such. Tested on Slackware current and Netbsd 8.1
others expected to work. Only works with portable smtpd.
Basically just a perl version of contrib/libexec/encrypt/encrypt.c
On Mar 9, 2020 1:34 AM, Martijn van Duren wrote:
>
> On 3/6/20 5:00 PM, epektasis wrote:
> > Greetings. I have my own blacklist file of email addresses
> > (some in the format microcen...@microcenter.com and some in
> > the format *@squaredeals.com), one per line. I would like to
> > filter
I wrote a simple perl module for easing the writing of filter/reports
for OpenSMTPD. It isn't 100% complete, but its usable.
http://www.pettijohn-web.com/OpenSMTPD-Report-0.01.tar.gz
Edgar
On 02/22/20 12:55, Søren Aurehøj wrote:
Hi Misc
I am using OpenSMTPD 6.6.0 on OpenBSD 6.6 stable
Currently I’m using the tls-require option in order to get mandatory
TLS on outgoing mail, but with that follows the normal time-out values
regarding bounce intervals.
Because of greylisting,
On Feb 13, 2020 2:01 PM, Ionel GARDAIS wrote:
>
> Hi list,
>
> I'm looking for an easy way to add a static prefix "[*EXT*]" to all incoming emails, as long as the subject does not already contains this string.
> OpenSMTPD is running as a filtering MX running senderscore filter.
> default action
I'm curious with the advent of the `report/filter' interface. Will there
be the possibility of disabling syslog logging in the future? I was
thinking of writing a script to "log" in xml for easy parsing/pretty
printing the logs. The only drawback I see is doubling the disk usage.
I suppose I
Not sure if its a documentation bug or not, but smtpd-filters.7 states
the following:
For all phases, excepted "data-line", the responses must follow the same
construct, a message type "filter-result", followed by the unique
session
id, the opaque token, a decision and optional
On 01/25/20 16:14, Edgar Pettijohn wrote:
On 01/25/20 14:48, Edgar Pettijohn wrote:
On 01/25/20 14:24, gil...@poolp.org wrote:
January 25, 2020 9:21 PM, "Edgar Pettijohn"
wrote:
On 01/25/20 14:20, gil...@poolp.org wrote:
January 25, 2020 8:50 PM, "Edgar Pettijoh
Missed a typo "s/strenght/strength/"
On 01/25/20 14:12, Edgar Pettijohn wrote:
On 01/25/20 14:08, gil...@poolp.org wrote:
The diff reads ok but I wonder why you removed this sentence:
-No decision is ever taken by the report stream.
I think it made it a bit more clear that
On 01/26/20 01:01, Edgar Pettijohn wrote:
On Jan 26, 2020 12:11 AM, Martijn van Duren
wrote:
On 1/25/20 8:50 PM, Edgar Pettijohn wrote:
I haven't seen any mention of this, but for some reason in my limited
"testing" of filters I have to use \r\n in my responses to smtpd. Is
t
On 01/25/20 14:48, Edgar Pettijohn wrote:
On 01/25/20 14:24, gil...@poolp.org wrote:
January 25, 2020 9:21 PM, "Edgar Pettijohn"
wrote:
On 01/25/20 14:20, gil...@poolp.org wrote:
January 25, 2020 8:50 PM, "Edgar Pettijohn"
wrote:
I haven't seen any mention o
On 01/25/20 14:24, gil...@poolp.org wrote:
January 25, 2020 9:21 PM, "Edgar Pettijohn" wrote:
On 01/25/20 14:20, gil...@poolp.org wrote:
January 25, 2020 8:50 PM, "Edgar Pettijohn" wrote:
I haven't seen any mention of this, but for some reason in my limited &qu
On 01/25/20 14:20, gil...@poolp.org wrote:
January 25, 2020 8:50 PM, "Edgar Pettijohn" wrote:
I haven't seen any mention of this, but for some reason in my limited "testing"
of filters I have
to use \r\n in my responses to smtpd. Is this normal? Doesn't seem to be
On 01/25/20 14:08, gil...@poolp.org wrote:
The diff reads ok but I wonder why you removed this sentence:
-No decision is ever taken by the report stream.
I think it made it a bit more clear that reporting is informative only.
I felt that the line stating it was a one-way stream covered
I haven't seen any mention of this, but for some reason in my limited
"testing" of filters I have to use \r\n in my responses to smtpd. Is
this normal? Doesn't seem to be documented and what filters I've looked
at don't appear to be using \r\n.
For example without ORS = "\r\n" the following
diff --git a/smtpd/smtpd-filters.7 b/smtpd/smtpd-filters.7
index 1e1a27ef..3cdb10e1 100644
--- a/smtpd/smtpd-filters.7
+++ b/smtpd/smtpd-filters.7
@@ -89,22 +89,21 @@ to inform
in real-time about events that are occurring in the daemon.
The report events do not expect an answer from
.Nm ,
-it
Just built a fresh git checkout. The configure make and install all went
smoothly. However, now I have to have an /etc/mailname file or it gets
stuck in config_default(). Specifically the following line from
getmailname():
error = getaddrinfo(hostname, NULL, , );
It just hangs there until
Had to do the following for `make uninstall'
$ for file in `find . -name Makefile`
> do
> sed -i 's/\/bin\/true/\/usr\/bin\/true/g' $file
> done
$ sudo make uninstall
Edgar
On Jan 18, 2020 2:45 PM, gil...@poolp.org wrote:
>
> January 15, 2020 6:03 PM, "Éloi Rivard" wrote:
>
> > Hi,
> >
> > I would like to put a OpenSMTPD server in front of a sourcehut lists
> > installation [1] (that is, a mailing list system for sourcehut).
> > OpenSMTPD and sourcehut communicate
On Jan 18, 2020 8:54 AM, Michael Jacob wrote:
>
> I am trying to setup a opensmtpd server on Arch Linux, the arch package version is 6.6.1p1-2 from 2019-11-06. When I use the "auth" option with "listen on", no authorization with valid system users succeed. But using "auth" with an external table
Remove warnings about strtonum(). Probably a better place for this, but
not sure where.
diff --git a/openbsd-compat/defines.h b/openbsd-compat/defines.h
index 23fc8ae2..868943cd 100644
--- a/openbsd-compat/defines.h
+++ b/openbsd-compat/defines.h
@@ -491,4 +491,8 @@ typedef uint16_t
Dec 16 19:26 ../
>
> От: GARDAIS Ionel
> Отправлено: 18 декабря 2019 г. 20:32
> Кому: Юрий Иванов
> Копия: Edgar Pettijohn ; misc
> Тема: Re: Unable to use .forward with snmpd
>
> I see no 'new' folder under the 'Maildir/.admin' fo
On 2019-12-18 17:28, Edgar Pettijohn wrote:
On Dec 18, 2019 8:47 AM, Юрий Иванов wrote:
>
> Hi, I'm using snmpd with roundcube.
>
> After creating .forward file I apply chmod 400 .forward, so no
errors in my mail.err log.
> Default permissions leads to generating warn i
*De: *"Юрий Иванов"
*À: *"Edgar Pettijohn" , "misc"
*Envoyé: *Mercredi 18 Décembre 2019 18:50:30
*Objet: *RE: Unable to use .forward with snmpd
I've created directory through regular RoundCube web interface.
Base directory:
suser@webmail:~$ ll Maildir/
total 188
d
On Dec 18, 2019 8:47 AM, Юрий Иванов wrote:
>
> Hi, I'm using snmpd with roundcube.
>
> After creating .forward file I apply chmod 400 .forward, so no errors in my mail.err log.
> Default permissions leads to generating warn in logs:
> smtpd[6275]: warn: smtpd: /home/suser/.forward: unsecure
On Dec 5, 2019 1:06 AM, Gilles Chehade wrote:
>
> On Wed, Dec 04, 2019 at 07:27:07PM -0600, Edgar Pettijohn wrote:
> > diff --git a/openbsd-compat/openbsd-compat.h
> > b/openbsd-compat/openbsd-compat.h
> > index 6c73e5b5..c7af0135 100644
> > --- a/openbsd-com
diff --git a/openbsd-compat/openbsd-compat.h
b/openbsd-compat/openbsd-compat.h
index 6c73e5b5..c7af0135 100644
--- a/openbsd-compat/openbsd-compat.h
+++ b/openbsd-compat/openbsd-compat.h
@@ -122,7 +122,7 @@ int getpeereid(int , uid_t *, gid_t *);
unsigned int arc4random(void);
#endif
-#if
On Nov 18, 2019 9:14 AM, Charles Collicutt wrote:
>
> On 18 Nov 2019, at 13:07, gil...@poolp.org wrote:
> >
> > With a virtual domain, OpenSMTPD assumes that domain.org == the content of
> > the virtual table.
> > The virtual mechanism is not optional, the recipient MUST exist in the
> >
On Oct 30, 2019 12:02 PM, Sergey Seacher wrote:
>
> 26.10.2019 19:06, Sergey Seacher пишет:
>
> 26.10.2019 13:51, Reio Remma пишет:
>
> On 26/10/2019 13:35, Sergey Seacher wrote:
>
> Hello!
>
> How can I make, opensmtpd accept mail for all recipients: that are present in the file
Kinda curious what the config.h looks like after you run configure.
On Oct 10, 2019 2:04 PM, Ihor Antonov wrote:
>
> On Thu, 2019-10-10 at 14:46 -0400, Ihor Antonov wrote:
> > Docker build of portable branch is broken, and has been for a while
> > now. I discovered this while trying to test out
> >
> > Accepting mails for user known to the system works, but what I haven't
> > though about, are mailing lists. And probably, also mails to be
> > recieved in
> > [B]CC could be affected.
> >
> > As those are not directly adressed to any account known to the system,
> > but
> > f.e
Could you post your config.
Thanks
On Oct 3, 2019 10:34 AM, Kevin wrote:On Thu, Oct 3, 2019 at 12:36 AM Peter N. M. Hansteen wrote:On Wed, Oct 02, 2019 at 11:33:58PM -0700, Kevin wrote:
> Hi all,
>
> Having just followed the setup instructions on Gilles HOWTO page here:
>
On Sep 30, 2019 9:10 AM, Reio Remma wrote:
>
> On 30/09/2019 16:55, gil...@poolp.org wrote:
> > Hello,
> >
> > I'd like to bring native support for SPF in OpenSMTPD in a future release,
> > but for this I need a bit of help to make sure my SPF resolver works fine.
> >
> > I have created a
It's the first example in smtpd.conf(5).
Edgar
On Sep 26, 2019 8:43 AM, john philip wrote:
>
> Hello everybody.
> I'm new to the list :-)
>
> Postfix has senders-dependent routing and authentication.
>
> How to do senders-based relaying & authentication as Postfix
> to different smart hosts?
>
>
On Sep 23, 2019 11:58 AM, Joerg Jung wrote:
>
>
>
> > On 18. Sep 2019, at 09:38, gil...@poolp.org wrote:
> >
> > September 17, 2019 11:41 PM, "Edgar Pettijohn"
> > wrote:
> >
> >> On Sep 17, 2019 9:05 AM, Gilles Chehade wrote:
&
On Sep 17, 2019 9:05 AM, Gilles Chehade wrote:
>
> Hello,
>
> Is there anyone using table-passwd for _any_ other purposes than sharing
> with Dovecot ?
>
> I have built a fully virtual setup which shares credentials with Dovecot
> and since I managed to do it _without_ table-passwd I'm wondering
On Sat, Sep 14, 2019 at 12:32:22AM +0200, Thomas Schweikle wrote:
> Hi!
>
> Trying to set up opensmtpd as a simple single mta relaying all mail to a
> smarthost. But ...
>
> Config:
> listen on localhost
> table aliases db:/etc/aliases.db
> table secrets db:/etc/smtpd.secrets.db
> expire 4h
On Fri, Sep 13, 2019 at 08:04:12PM -0300, marcio_silva wrote:
> Hi all,
>
> I am using Hyperbola distro with the following packages:
>
> * opensmtpd 6.4.2p1
> * dkimproxy 1.4.1
>
> I have installed a mail server to send and receive emails with my own domain
> with the following configurations:
On Sat, Sep 07, 2019 at 11:53:58AM +0200, Ede Wolf wrote:
> > > So it is a binary, thats useful information. Having specified /opt/smtpd
> > > as prefix during ./configure, it is located here:
> > >
> > > /opt/smptd/libexec/opensmtpd/mail.lmtp
> > >
> >
> > Throw it in /usr/local/libexec/smtpd/
On Sep 6, 2019 12:40 PM, Ede Wolf wrote:
>
> Am 06.09.19 um 18:59 schrieb Edgar Pettijohn:
> > Sounds like the mail.lmtp program is missing or not where it belongs.
> > Should live somewhere in /usr/local/libexec. Find it and let us know where
> > it is and somebody can
On Sep 6, 2019 10:46 AM, Ede Wolf wrote:
>
>
> > Maybe run 'smtpd -dv -T expand -T lookup -T rules' and see how OpenSMTPD
> > is translating the aliases and which rules it's matching etc.
>
> This is a really helpful command. Maybe using that I can be a bit more
> precise in defining my
Look for poolporg on GitHub. He has a filter-eventlog that you can look at for
inspiration.
Edgar
On Sep 5, 2019 5:37 AM, Reio Remma wrote:
>
> On 05/09/2019 13:32, Martijn van Duren wrote:
> > On 9/5/19 11:55 AM, Reio Remma wrote:
> >> On 05/09/2019 11:33, gil...@poolp.org wrote:
> >>> Yes,
On Tue, Sep 03, 2019 at 09:29:14PM +0300, Reio Remma wrote:
> On 27.04.2018 12:26, Reio Remma wrote:
> > Hello all,
> >
> > I've whipped together a Logwatch script for OpenSMTPD. I've anyone is
> > interested on giving it a try, it's now at:
> >
> >
On Sep 2, 2019 3:18 AM, Reio Remma wrote:
>
> On 02/09/2019 10:35, Ede Wolf wrote:
> > Hello Edgar,
> >
> > thanks very much for your in depth reply and the effort you've put
> > into it.
> >
> > As for the "user" keyword, the way I understand this, it that it
> > equals the "as" statement in
On Fri, Aug 30, 2019 at 11:14:37PM -0500, Edgar Pettijohn wrote:
> On Fri, Aug 30, 2019 at 05:00:24PM +0200, Ede Wolf wrote:
> > Hello,
> >
> >
>
> Semi complete example at the bottom. I'll leave it to you to reverse translate
> to the old syntax. I didn't notice ti
On Fri, Aug 30, 2019 at 05:00:24PM +0200, Ede Wolf wrote:
> Hello,
>
>
Semi complete example at the bottom. I'll leave it to you to reverse translate
to the old syntax. I didn't notice till after I was done and am too lazy to
change it. :) Also noticed while re-reading smtpd.conf(5) there is a
On Aug 28, 2019 1:52 PM, Reio Remma wrote:
>
> Hello!
>
> I've pretty much converted my setup to the new syntax now and I'm
> wondering if I get this right.
>
> I understand that from local was changed to not include authenticated
> users, but my question is does "match auth" match both
n smtpd -F -v -T all and not getting anything on the
> command line.
-F logs to syslogd. If you want to see it try `smtpd -dv -T all'
Not entirely helpful, but I switched to sql tables because I couldn't figure
out a similar situation.
Edgar
>
>
> regards to all on a sultry Saturday ev
On Sat, Aug 24, 2019 at 04:14:21PM +0200, Joseph A Borg wrote:
> I???m trying to match an email: nos...@domain.tld to expand to
> webmas...@domain.tld and deliver to local mailbox.
>
> My setup is pretty simple and works well for virtual mailboxes linked to a
> couple of virtual domains. now
On Sat, Aug 24, 2019 at 08:19:00AM +, gil...@poolp.org wrote:
> 24 ao??t 2019 02:59 "Edgar Pettijohn" a ??crit:
>
> > I am writing a table-lua, however the table_lua_update function doesn't
> > appear to be called.
> > Here are relevant pieces of the code.
I am writing a table-lua, however the table_lua_update function doesn't appear
to be called.
Here are relevant pieces of the code.
The lookup function works. However, it would be more ideal to have the update()
called early
to fill in the tables for the other functions. As is the lookup() has
On Aug 20, 2019 4:29 AM, Gilles Chehade wrote:
>
> On Mon, Aug 19, 2019 at 01:48:05PM -0500, Edgar Pettijohn wrote:
> > Nothing urgent here. Probably can wait for filter documentation. However,
> > I've been
> > playing with filters off and on with limited success. It s
0387a|c0002b41f6bd164d| Mon, 19 Aug 2019
13:38:53 -0500 (CDT)
filter|0|1566239933.836673|smtp-in|data-line|c0002b41f6bd164d|ef8747a12860387a|From:
Edgar Pettijohn |
filter-dataline|ef8747a12860387a|c0002b41f6bd164d|From: Edgar Pettijohn
filter|0|1566239933.836681|smtp-in|data-line|
On Aug 10, 2019 1:05 PM, Gilles Chehade wrote:
>
> On Mon, Jul 22, 2019 at 11:52:45AM -0500, Edgar Pettijohn wrote:
> >
> > On Jul 22, 2019 8:17 AM, Andreas Karlsson wrote:
> > >
> > > On 2019-07-21 18:25, Edgar Pettijohn wrote:
> > > &g
On Jul 22, 2019 8:17 AM, Andreas Karlsson wrote:
>
> On 2019-07-21 18:25, Edgar Pettijohn wrote:
> > Not sure exactly when this started, but I get authentication errors that
> > require smtpd to be restarted. Here are some logs and other pertinent data.
> >
> > Th
Not sure exactly when this started, but I get authentication errors that
require smtpd to be restarted. Here are some logs and other pertinent data.
Thanks,
Edgar
# $OpenBSD: smtpd.conf,v 1.9 2016/05/03 18:43:45 jung Exp $
# This is the smtpd server system-wide configuration file.
# See
Turned out to be a line buffering issue. The following works.
#!/usr/bin/perl
open(my $fh, '>', '/tmp/test.txt');
select(STDOUT);
$|++;
select($fh);
$|++;
print STDOUT "register|report|smtp-in|*\n";
print STDOUT "register|ready\n";
while ( my $line = <> ) {
print $fh "$line";
}
close
On Jul 5, 2019 9:57 AM, Gilles Chehade wrote:
>
> helo,
>
> this is just a question out of curiosity
>
> I know plenty of people use the lmtp action to deliver mail through LMTP
> and I'm genuinely curious: what is your use-case ?
>
> Why do you deliver to LMTP ?
>
> --
> Gilles Chehade
I've been playing around with filters for a few hours, but I can't seem to get
perl or lua scripts to work.
Here is a basic shell script that works.
#!/bin/sh
echo "register|report|smtp-in|*"
echo "register|ready"
while read -r line;
do
echo "$line" >> /tmp/test.txt
done
However,
On May 23, 2019 1:38 AM, mabi wrote:
>
> Hello,
>
> I upgraded my OpenBSD 6.4 MX server running OpenSMTPD 6.4 to OpenBSD 6.5
> running OpenSMTPD 6.5 but unfortunately had to revert back to 6.4 because
> mail delivery to Dovecot using LMTP did not work anymore. Is it possible that
> LMTP mail
Not sure if it's necessary, but it wouldn't hurt to try restarting smtpd and
see if it works.
On May 5, 2019 4:59 PM, Sergey Bronnikov wrote:
>
> Hello!
>
> I've found that smtpd behaves suspiciously with different values with
> the same key in aliases file.
>
> aliases(5) allows to append
I think you need to provide more information about your exact requirements.
On Apr 17, 2019 7:51 AM, sel...@linagora.com wrote:
Hi,
I would like to know if it is possible to deliver a mail to 2 SMTP servers using OpenSMTPD.
Thanks for your help & Regards
--Â Simon Elbaz @Linagora Mob: +33
On Mar 23, 2019 11:22 AM, This wrote:
>
> I'm running opensmtpd 6.0.3p1-2 on Artix Linux. I'd like to get Extras for sqlite support, so I did everything according to instuctions from here: https://github.com/OpenSMTPD/OpenSMTPD-extras
>
> After some turbulence I got the created path:
On Mar 18, 2019 9:53 PM, Gabriele Tofano wrote:
>
>
> > On Mar 18, 2019, at 9:56 PM, Gabriele Tofano
> > wrote:
> >
> >
> >> On Mar 18, 2019, at 8:06 PM, Thomas Bohl
> >> wrote:
> >>
> >>> The configuration loaded is correct as I see the daemon is loading the
> >>> correct certificates
On Mar 16, 2019 5:09 PM, Thomas Bohl wrote:
>
> > Both files are looking good/same as before and local delivery with sendmail
> > does not work:
> >
> > ga...@server.com... Connecting to [127.0.0.1] via relay...
> > 220 mail.server.com ESMTP OpenSMTPD
> EHLO mail.server.com
> >
On Mar 11, 2019 4:43 PM, Bryan Harris wrote:
>
> When I install it on RHEL 7 I get this file, so maybe it works already.
>
> [root@bi2 ~]# cat /etc/pam.d/smtp.opensmtpd
> #%PAM-1.0
> auth include password-auth
> account include password-auth
>
> I guess dovecot and PAM is a
1 - 100 of 246 matches
Mail list logo