Re: Migrating smtpd from OpenBSD 6.3 to 6.4 problems

2019-04-23 Thread Edgar Pettijohn
On Apr 23, 2019 6:35 PM, Noth wrote: > > > On 23/04/2019 23:51, Edgar Pettijohn wrote: > > On Apr 23, 2019 2:49 PM, Noth wrote: > >> Hi, > >> > >>    I'm trying to migrate my setups for smtpd+dovecot, and I'm about half > >> there. The scenari

Re: Migrating smtpd from OpenBSD 6.3 to 6.4 problems

2019-04-23 Thread Noth
On 23/04/2019 23:51, Edgar Pettijohn wrote: On Apr 23, 2019 2:49 PM, Noth wrote: Hi,   I'm trying to migrate my setups for smtpd+dovecot, and I'm about half there. The scenario is this: - OpenBSD client machines have smtpd set up to send the daily/weekly mails to an address u

Re: Migrating smtpd from OpenBSD 6.3 to 6.4 problems

2019-04-23 Thread Noth
On 23/04/2019 23:51, Edgar Pettijohn wrote: On Apr 23, 2019 2:49 PM, Noth wrote: Hi,   I'm trying to migrate my setups for smtpd+dovecot, and I'm about half there. The scenario is this: - OpenBSD client machines have smtpd set up to send the daily/weekly mails to an address u

Re: Migrating smtpd from OpenBSD 6.3 to 6.4 problems

2019-04-23 Thread Edgar Pettijohn
On Apr 23, 2019 2:49 PM, Noth wrote: > > Hi, > >   I'm trying to migrate my setups for smtpd+dovecot, and I'm about half > there. The scenario is this: > > - OpenBSD client machines have smtpd set up to send the daily/weekly > mails to an address u...@example.org h

Migrating smtpd from OpenBSD 6.3 to 6.4 problems

2019-04-23 Thread Noth
Hi,   I'm trying to migrate my setups for smtpd+dovecot, and I'm about half there. The scenario is this: - OpenBSD client machines have smtpd set up to send the daily/weekly mails to an address u...@example.org handled by central server also running smtpd - Central server running OpenBSD

Re: Puffy Security smtpd out of date ( closed )

2019-03-11 Thread Geir Svalland
On 2019-03-11 16:38, Gilles Chehade wrote: > On Mon, Mar 11, 2019 at 11:34:58AM +, Geir Svalland wrote: >> On 2019-03-11 09:58, Janne Johansson wrote: >>> Den fre 8 mars 2019 kl 20:59 skrev Sean Kamath : > It's a shame good work like this is > of no use anymore. According to my

Re: Puffy Security smtpd out of date ( closed )

2019-03-11 Thread Gilles Chehade
On Mon, Mar 11, 2019 at 11:34:58AM +, Geir Svalland wrote: > > On 2019-03-11 09:58, Janne Johansson wrote: > > Den fre 8 mars 2019 kl 20:59 skrev Sean Kamath : > >>> It's a shame good work like this is > >>> of no use anymore. According to my opinion, it's well written and easy to > >>>

Re: Puffy Security smtpd out of date ( closed )

2019-03-11 Thread Geir Svalland
On 2019-03-11 09:58, Janne Johansson wrote: > Den fre 8 mars 2019 kl 20:59 skrev Sean Kamath : >>> It's a shame good work like this is >>> of no use anymore. According to my opinion, it's well written and easy to >>> follow. >>> >> So, I’ll take issue with the “well written” part of that. It

Re: Puffy Security smtpd out of date ( closed )

2019-03-11 Thread Janne Johansson
Den fre 8 mars 2019 kl 20:59 skrev Sean Kamath : > > It's a shame good work like this is > > of no use anymore. According to my opinion, it's well written and easy to > > follow. > > > > So, I’ll take issue with the “well written” part of that. It doesn’t do much > in the way of explaining

Re: Puffy Security smtpd out of date ( closed )

2019-03-08 Thread Sean Kamath
> On Mar 8, 2019, at 10:38, Geir Svalland wrote: > > It's a shame good work like > this is > of no use anymore. According to my opinion, it's well written and easy > to follow. > > /Hasse So, I’ll take issue with the “well written” part of that. It doesn’t do much in the way of explaining

Re: Puffy Security smtpd out of date ( closed )

2019-03-08 Thread Geir Svalland
Thanks to everybody who answered my post. Even those who rose their finger at me for posting this to the list. I've sent a note to Thomas Dwyer with a heads up on this outdated tutorial, and asked if it's possible to get an update. It's a shame good work like this is of no use anymore. According

Re: Puffy Security smtpd out of date

2019-03-08 Thread Michael Hekeler
Text on the bottom: This site Copyright © 2015 Thomas Dwyer . So maybe Thomas can do? ...or better you look in the official documentation. > Am 07.03.2019 um 13:17 schrieb Geir Svalland : > > Hello all. > > Any chance to get the http://puffysecurity.com/wiki/opensmtpd.html updated ? > >

Re: Puffy Security smtpd out of date

2019-03-08 Thread Marcus MERIGHI
z...@znedw.com (Zach Nedwich), 2019.03.08 (Fri) 08:06 (CET): > http://tomd.tel > > It appears the author has contact details on their personal site > (which references puffysecurity). Might be worth getting in touch with > them via the email listed. I did this on "Thu, 7 Mar 2019 19:41:57

Re: Puffy Security smtpd out of date

2019-03-07 Thread Antonino Sidoti
Hi, No issue in finding the contact details. It is on the site. Public Directory > On 8 Mar 2019, at 10:51 am, Stuart Henderson wrote: > > On 2019-03-07, Christer Solskogen wrote: >> On Thu, Mar 7, 2019, 13:19 Geir Svalland wrote: >> >>> Hello all. >>> >>> Any chance

Re: Puffy Security smtpd out of date

2019-03-07 Thread Zach Nedwich
http://tomd.tel It appears the author has contact details on their personal site (which references puffysecurity). Might be worth getting in touch with them via the email listed. On 8 March 2019 9:51:02 am AEST, Stuart Henderson wrote: >On 2019-03-07, Christer Solskogen wrote: >> On Thu,

Re: Puffy Security smtpd out of date

2019-03-07 Thread Stuart Henderson
On 2019-03-07, Christer Solskogen wrote: > On Thu, Mar 7, 2019, 13:19 Geir Svalland wrote: > >> Hello all. >> >> Any chance to get the http://puffysecurity.com/wiki/opensmtpd.html >> updated ? >> > > Probably. But why not rather ask the person behind the site instead of this > mailing list? >

Re: Puffy Security smtpd out of date

2019-03-07 Thread Christer Solskogen
On Thu, Mar 7, 2019, 13:19 Geir Svalland wrote: > Hello all. > > Any chance to get the http://puffysecurity.com/wiki/opensmtpd.html > updated ? > Probably. But why not rather ask the person behind the site instead of this mailing list?

Puffy Security smtpd out of date

2019-03-07 Thread Geir Svalland
Hello all. Any chance to get the http://puffysecurity.com/wiki/opensmtpd.html updated ? Actual description are out of date. Don't work anymore. /Hasse

Re: OpenBSD 6.4 smtpd local mail delivery missing "From " when .forward (procmail)

2019-01-27 Thread Gilles Chehade
I cannot believe I missed that. > > I had even downloaded the smtpd source and saw that mail.local could only > write to a file (not a stream)... and that's the only place in the source > code where a "From " was written so I knew it wasn't going to be a smtpd > configura

Re: OpenBSD 6.4 smtpd local mail delivery missing "From " when .forward (procmail)

2019-01-27 Thread Steve Williams
. The upgrade went quite smoothly and is working fine except for my email.?? I have massaged the smtpd.conf file to comply with the OpenBSD 6.4 grammar. I run a VERY simple smtpd configuration saving in mbox format. I am also using procmail to direct emails into various folders, launched with a .forward

Re: OpenBSD 6.4 smtpd local mail delivery missing "From " when .forward (procmail)

2019-01-27 Thread Edgar Pettijohn
ded all packages, > >> switched to php7, etc. > >> > >> I've been running OpenBSD since 2.7 so this is a very known process. > >> > >> The upgrade went quite smoothly and is working fine except for my email.  I > >> have massaged the smtpd.conf f

Re: OpenBSD 6.4 smtpd local mail delivery missing "From " when .forward (procmail)

2019-01-27 Thread Gilles Chehade
rade went quite smoothly and is working fine except for my email.?? I > have massaged the smtpd.conf file to comply with the OpenBSD 6.4 grammar. > > I run a VERY simple smtpd configuration saving in mbox format. > > I am also using procmail to direct emails into various folders, launched >

Re: OpenBSD 6.4 smtpd local mail delivery missing "From " when .forward (procmail)

2019-01-26 Thread Steve Williams
. The upgrade went quite smoothly and is working fine except for my email.  I have massaged the smtpd.conf file to comply with the OpenBSD 6.4 grammar. I run a VERY simple smtpd configuration saving in mbox format. I am also using procmail to direct emails into various folders, launched

OpenBSD 6.4 smtpd local mail delivery missing "From " when .forward (procmail)

2019-01-26 Thread Steve Williams
with the OpenBSD 6.4 grammar. I run a VERY simple smtpd configuration saving in mbox format. I am also using procmail to direct emails into various folders, launched with a .forward.  This has been working since about 2005 :), historically with sendmail and more recently, smtpd

Re: smtpd - help needed tranlsating to new virtual map syntax [FIXED]

2019-01-22 Thread Gilles Chehade
sted, kinds of irritates me. > > > > I don't get royalties on smtpd install, please install whatever software > > fits your use case, this is how proper engineering works. > > First of all thank you Gilles (and all the others who contributed to > this project) for your am

Re: smtpd - help needed tranlsating to new virtual map syntax [FIXED]

2019-01-22 Thread Gilles Chehade
eone or it wouldn't have > > > changed... but I believe my use case got thrown out with the > > > bathwater, so to speak. Oh, well. :-( > > This is bullshit. > > The grammar doesn't reduce the functional scope, it can only expand it. > > I'm taking your word

Re: smtpd - help needed tranlsating to new virtual map syntax [FIXED]

2019-01-21 Thread Eric Elena
blaming the > code improvements for a use-case that could have never worked because it > not only uses the wrong _documented_ mechanism but also because the code > to make your use-case work has never existed, kinds of irritates me. > > I don't get royalties on smtpd install, please install

Re: smtpd - help needed tranlsating to new virtual map syntax [FIXED]

2019-01-21 Thread Adam Thompson
never existed in smtpd, there's never been code to translate sender addresses and there's a good reason for that: Good reasons aside, I still need to accommodate other vendor's broken mail implementations, because I can't fix them. I know of multiple reasons source rewriting is a bad idea

Re: smtpd - does not send mails from daemon

2019-01-21 Thread Krzysztof Strzeszewski
I comment out 'match for any action "relay"' end it's ok :) thanks for the help W dniu 19.01.2019 o 12:46, Krzysztof Strzeszewski pisze: > Hi, > > what is wrong? > > https://krzy.ch/p/smtpd_error.txt > > Why I do not receive this message? Why this message is "from=<>"? I have > config

Re: smtpd - help needed tranlsating to new virtual map syntax [FIXED]

2019-01-21 Thread Gilles Chehade
someone or it wouldn't have changed... but I believe my > use case got thrown out with the bathwater, so to speak. Oh, well. :-( > This is bullshit. The grammar doesn't reduce the functional scope, it can only expand it. What you are describing has never existed in smtpd, there's never been code to tra

Re: smtpd - help needed tranlsating to new virtual map syntax

2019-01-21 Thread Gilles Chehade
someone or it wouldn't have changed... but I believe my > use case got thrown out with the bathwater, so to speak. Oh, well. :-( > This is bullshit. The grammar doesn't reduce the functional scope, it can only expand it. What you are describing has never existed in smtpd, there's ne

Re: smtpd - help needed tranlsating to new virtual map syntax

2019-01-20 Thread Adam Thompson
I found the "-T" (trace) flag to smtpd(8), and it gives me this, which AFAICT confirms my suspicions: [...] rule #2 matched: match from src allowed-hosts for any => translate lookup: lookup "athom...@athompso.net" as ALIAS in table static:translati

Re: smtpd - help needed tranlsating to new virtual map syntax

2019-01-20 Thread Adam Thompson
ginal Message- From: owner-m...@openbsd.org On Behalf Of Adam Thompson Sent: Wednesday, January 16, 2019 8:26 AM To: 'Edgar Pettijohn' ; misc@openbsd.org Subject: Re: smtpd - help needed tranlsating to new virtual map syntax As I said, I haven't tried anything yet as I don't want to break a worki

smtpd - does not send mails from daemon

2019-01-19 Thread Krzysztof Strzeszewski
Hi, what is wrong? https://krzy.ch/p/smtpd_error.txt Why I do not receive this message? Why this message is "from=<>"? I have config "smtpd.conf" from man. _ Krzych

Re: smtpd - help needed tranlsating to new virtual map syntax

2019-01-16 Thread Adam Thompson
-Original Message- From: Edgar Pettijohn Sent: Wednesday, January 16, 2019 8:12 AM To: Adam Thompson ; misc@openbsd.org Subject: Re: smtpd - help needed tranlsating to new virtual map syntax It would be helpful if you show what you have tried. Should be as simple as: action "relay-01"

Re: smtpd - help needed tranlsating to new virtual map syntax

2019-01-16 Thread Edgar Pettijohn
It would be helpful if you show what you have tried. Should be as simple as: action "relay-01" lmtp /var/run/lmtp.sock virtual match from src action "relay-01" Edgar On Jan 16, 2019 7:37 AM, Adam Thompson wrote: > > [Cross-posting here before I give up and switch to Postfix  -Adam] > > > I

smtpd - help needed tranlsating to new virtual map syntax

2019-01-16 Thread Adam Thompson
[Cross-posting here before I give up and switch to Postfix -Adam] I have an old instance that uses smtpd's virtual to rewrite *sender* addresses. Reading the 6.4-STABLE version of the smtpd.conf(5) manpage, I can't see how to accomplish my goal any more - it looks impossible. I don't want

Re: Vacation with smtpd doesn't work in 6.4

2018-11-16 Thread Martin Sukany
cation with smtpd doesn't work in 6.4 Date: Fri, 16 Nov 2018 11:31:52 + Try the OpenSMTPd list Martin. http://www.OpenSMTPd.Org/list.html Cheers, Reporting-MTA: dns; teak.britvault.co.uk X-Postfix-Queue-ID: 42xGL107FCzVd X-Postfix-Sender: rfc822; skin...@britvault.co.uk Arrival-Date: Fri,

Re: Vacation with smtpd doesn't work in 6.4

2018-11-16 Thread Penty Wenngren
t; > > If you do so, please include this problem report. You can > > delete your own text from the attached returned message. > > > > The mail system > > > > : host server.sukany.cz[89.221.217.40] said: 530 5.5.1 > > Invalid command:

Re: Vacation with smtpd doesn't work in 6.4

2018-11-16 Thread Martin Sukany
aid: 530 5.5.1 Invalid command: Must issue a STARTTLS command first (in reply to MAIL FROM command) From: Craig Skinner To: Martin Sukany Subject: Re: Vacation with smtpd doesn't work in 6.4 Date: Fri, 16 Nov 2018 11:31:52 + Try the OpenSMTPd list Martin. http://www.OpenSMTPd.

Re: Vacation with smtpd doesn't work in 6.4

2018-11-16 Thread Craig Skinner
returned message. The mail system : host server.sukany.cz[89.221.217.40] said: 530 5.5.1 Invalid command: Must issue a STARTTLS command first (in reply to MAIL FROM command) From: Craig Skinner To: Martin Sukany Subject: Re: Vacation with smtpd doesn't work in 6.4 Date: Fri

Re: Vacation with smtpd doesn't work in 6.4

2018-11-16 Thread Martin Sukany
Well, I figured out, that problem is in vacation itself, where is missing proper control of recipient's address. In case, the header of original message contains line like:     From: vacation encloses the message by "<>", so SMTPD then receives sth like:     RCPT TO: <>

Vacation with smtpd doesn't work in 6.4

2018-11-15 Thread Martin Sukany
vacation sends mail with wrong address format, see output from maillog: _*(server) ~ # fgrep 342d2aa97860a044  /var/log/maillog*_ Nov 15 15:45:13 server smtpd[80519]: 342d2aa97860a044 smtp connected address=local host=server.sukany.cz Nov 15 15:45:13 server smtpd[80519]: 342d2aa97860a044 smtp

Re: Permission on virtual user password file [dovecot+smtpd]

2018-11-13 Thread Florian Obser
On Tue, Nov 13, 2018 at 07:38:04PM +0100, Thuban wrote: > Hi, > I use dovecot and smtpd on my personal mail server. > They both share the same password file. > > I works very well, but I'm concerned about permissions on this file : > > -rw-r--r-- 1 root wheel p

Re: Permission on virtual user password file [dovecot+smtpd]

2018-11-13 Thread Thuban
self-answer after some digging [1]. Not sure why I have to specify this. I mean, what is the group used by dovecot by default ? To make /etc/mail/passwd unreadable by regular users, I did this : groupadd _maildaemons usermod -G _maildaemons _sftpd usermod -G

Permission on virtual user password file [dovecot+smtpd]

2018-11-13 Thread Thuban
Hi, I use dovecot and smtpd on my personal mail server. They both share the same password file. I works very well, but I'm concerned about permissions on this file : -rw-r--r-- 1 root wheel passwd It's world readable. I would like to let dovecot and smtpd to read only this file

Re: smtpd new "relay as" syntax?

2018-10-31 Thread Paul B. Henson
On Wed, Oct 31, 2018 at 08:07:09PM -0400, TronDD wrote: > Mail-from in the action options, I believe. Ah, yes; that seems to work, thanks. The previous implementation was documented as: If the as parameter is specified, smtpd(8) will rewrite the sender advertised in the SMTP session. addr

Re: smtpd new "relay as" syntax?

2018-10-31 Thread TronDD
On October 31, 2018 5:31:44 PM EDT, "Paul B. Henson" wrote: >I just upgraded to OpenBSD 6.4, and I'm trying to figure out how to do >this with the new syntax: > >accept from local for any relay via smtp://smtp.domain.com as >"@domain.com" > >This would rewrite the outbound message to

smtpd new "relay as" syntax?

2018-10-31 Thread Paul B. Henson
I just upgraded to OpenBSD 6.4, and I'm trying to figure out how to do this with the new syntax: accept from local for any relay via smtp://smtp.domain.com as "@domain.com" This would rewrite the outbound message to masquerade as being from the TLD rather than a specific machine. Right now I've

Re: SMTPD - Auth Error 535 5.7.8

2018-10-15 Thread pb
hello, google brought me here. i too had the same error response. it is not due to incorrect user/ p/w. in our application i had to change the SSL mode from 0 to 2. link explaining. https://www.nsoftware.com/kb/xml/04070801.rst just wanted to share -- Sent from:

Re: smtpd relay problem

2018-05-03 Thread Rudolf Sykora
Dear Bruno, Mazocomp, > via smtps+auth://a...@smtp.gmail.com:465 \ thanks, it works now. I wrongly expected that using secure+auth would choose the ports (465 when smtps and 587 for tls fall-back). Thanks Ruda PS.: Thanks to Mazocomp for supplementary information.

Re: smtpd relay problem

2018-05-03 Thread Bruno Flueckiger
On 02.05.18 15:05, Rudolf Sykora wrote: > Hello misc, > > I just wanted to send mail through my gmail account > using smtpd in the relay mode. > I am unsuccessful so far, and do not understand what's > going wrong. > > smtpd log of the attempt to send the email fol

Re: smtpd relay problem

2018-05-02 Thread mazocomp
Hi! Try to modify my configs under your username and address: /etc/mail/smtpd.conf: - table aliases file:/etc/mail/aliases table secrets file:/etc/mail/secrets listen on lo0 accept for local alias deliver to mbox accept for any relay via tls+auth://mazoc...@disroot.org:587

smtpd relay problem

2018-05-02 Thread Rudolf Sykora
Hello misc, I just wanted to send mail through my gmail account using smtpd in the relay mode. I am unsuccessful so far, and do not understand what's going wrong. smtpd log of the attempt to send the email follows. Can anybody help, please? Thanks Ruda odin# smtpd -dv debug: init ssl-tree

Re: smtpd fails to start

2018-01-23 Thread Jordan Geoghegan
ln -sf /usr/local/bin/python2.7-config /usr/local/bin/python-config ln -sf /usr/local/bin/pydoc2.7 /usr/local/bin/pydoc # rcctl restart smtpd smtpd(ok) # On 01/23/18 01:31, Gilles Chehade wrote: On Tue, Jan 23, 2018 at 01:21:22AM -0800, Jordan Geoghegan wrote: Hi Gilles, The output

Re: smtpd fails to start

2018-01-23 Thread Gilles Chehade
2.7-config /usr/local/bin/python-config > ln -sf /usr/local/bin/pydoc2.7 /usr/local/bin/pydoc > # rcctl restart smtpd > smtpd(ok) > # > > > On 01/23/18 01:31, Gilles Chehade wrote: > > On Tue, Jan 23, 2018 at 01:21:22AM -0800, Jordan Geoghegan wrote: > > >

Re: smtpd fails to start

2018-01-23 Thread Jordan Geoghegan
/local/bin/python ln -sf /usr/local/bin/python2.7-2to3 /usr/local/bin/2to3 ln -sf /usr/local/bin/python2.7-config /usr/local/bin/python-config ln -sf /usr/local/bin/pydoc2.7 /usr/local/bin/pydoc # rcctl restart smtpd smtpd(ok) # On 01/23/18 01:31, Gilles Chehade wrote: On Tue, Jan 23, 2018

Re: smtpd fails to start

2018-01-23 Thread Gilles Chehade
On Tue, Jan 23, 2018 at 01:21:22AM -0800, Jordan Geoghegan wrote: > Hi Gilles, > > The output of the command you sent: > > # smtpd -dv > smtpd: table_create: backend "passwd" does not exist > > I'm not sure what this means, as /etc/mail/passwd does inde

Re: smtpd fails to start

2018-01-23 Thread Jordan Geoghegan
Hi Gilles, The output of the command you sent: # smtpd -dv smtpd: table_create: backend "passwd" does not exist I'm not sure what this means, as /etc/mail/passwd does indeed exist. Thanks for the fast response! On 01/22/18 23:58, Gilles Chehade wrote: you almost managed to g

Re: smtpd fails to start

2018-01-22 Thread Gilles Chehade
you almost managed to give enough information to troubleshoot... ... except for logs displaying the problem :-) `smtpd -dv` will provide useful information On Mon, Jan 22, 2018 at 11:40:48PM -0800, Jordan Geoghegan wrote: > Hi all, > > I was hoping someone could point me in the right

smtpd fails to start

2018-01-22 Thread Jordan Geoghegan
Hi all, I was hoping someone could point me in the right direction here. I cannot for the life of me get smptd to start. It always fails when running # rcctl restart smtpd, or when stopping and starting separately. I've been looking to move to OpenSMTP for my mail needs, so I can get my

Re: warn: smtpd: parent_forward_open

2018-01-12 Thread Mik J
Hello Edgar, Thank you for your answser. I created the user exactly as written on the page you specified. The smtpd.conf has nothing really special that's why I posted the only lines that were of interest. But you are right, if smtpd is looking for the .forward in the user's home directory

Re: warn: smtpd: parent_forward_open

2018-01-06 Thread Edgar Pettijohn
then this unix user has an entry in /etc/passwd > So the smtpd deamon uses the home directory path specified in /etc/passwd > although it's might not be specified in the smtpd.confIs it normal that the > home directory of that user should be used ? > That depends on how you have the s

Re: warn: smtpd: parent_forward_open

2018-01-06 Thread Mik J
Hello Edgar, I just found that the path is related to the home directory of the virtual user that is specified in /etc/passwd If you have a configuration that uses virtual users and that relies on a unix user _vmail then this unix user has an entry in /etc/passwd So the smtpd deamon uses

Re: warn: smtpd: parent_forward_open

2018-01-05 Thread Edgar Pettijohn
On Fri, Jan 05, 2018 at 11:09:13PM +, Mik J wrote: > Hello all, > What do you think about my initial question.When I receive an email, I have > the following messagewarn: smtpd: parent_forward_open: /var/mail/_vmail: No > such file or directory > With /var/mail... not /va

[rspamd and smtpd] (was: the whole greylisting, spam filtering thing)

2017-10-01 Thread Thuban
By the way, does anyone has some instructions to use rspamd with the default smtpd ? Regards. -- thuban

Re: [PATCH] Off-by-one bug in httpd, ldapd, relayd, smtpd, switchd and ypldap

2017-08-28 Thread Florian Obser
; > > This looks correct. Also, there's more: > > > > > > Thanks for looking and catching what I missed. It hit me a while after > > > I sent my original email that relayd likely has the same bug. D'oh. > > > > > > Here is an updated patch for ht

Re: [PATCH] Off-by-one bug in httpd, ldapd, relayd, smtpd, switchd and ypldap

2017-08-27 Thread Kris Katterjohn
or looking and catching what I missed. It hit me a while after > > I sent my original email that relayd likely has the same bug. D'oh. > > > > Here is an updated patch for httpd, ldapd, relayd, smtpd, switchd and > > ypldap, which all seem to have the off-by-one bug for port n

Re: [PATCH] Off-by-one bug in httpd, ldapd, relayd, smtpd, switchd and ypldap

2017-08-21 Thread Gilles Chehade
that relayd likely has the same bug. D'oh. > > Here is an updated patch for httpd, ldapd, relayd, smtpd, switchd and > ypldap, which all seem to have the off-by-one bug for port number > checking (where 65535 is unusable and called invalid, at least when > specifying it as

[PATCH] Off-by-one bug in httpd, ldapd, relayd, smtpd, switchd and ypldap

2017-08-19 Thread Kris Katterjohn
apd, relayd, smtpd, switchd and ypldap, which all seem to have the off-by-one bug for port number checking (where 65535 is unusable and called invalid, at least when specifying it as a number). Again, I cannot build and actually test this right now. Cheers, Kris Katterjohn Index: usr.sbin/httpd/pars

Re: smtpd vs. uw-imap locking

2017-07-31 Thread Gilles Chehade
On Sun, Jul 30, 2017 at 07:47:15PM -0400, gwes wrote: > smtpd locks user mailboxes in /var/mail using lockspool(1) > uw-imapd locks using its own dotfile locker mlock(not the syscall) > Actually, it is mail.local that does the locking, smtpd knows nothing at all regarding

smtpd vs. uw-imap locking

2017-07-30 Thread gwes
smtpd locks user mailboxes in /var/mail using lockspool(1) uw-imapd locks using its own dotfile locker mlock(not the syscall) Before I go into uw-imapd and do some nasty additions and if()s: does anyone else care? does anyone else use uw-imap? has anyone attacked this problem? is there anywhere

Re: smtpd "relay as" not working as expected

2017-06-12 Thread Marcus MERIGHI
...@host.domain.com. > Do I have this syntax incorrect ? > Thanks. smtpd.conf(5) says: "If the as parameter is specified, smtpd(8) will rewrite the sender advertised in the SMTP session. " The SMTP session is the "helo,mail from,rcpt to" part, so smtpd rewrites w

smtpd "relay as" not working as expected

2017-06-07 Thread Steve
Hello, If I include : accept from local for any relay as "@domain.com" in smtpd.comnf on 6.1 release the reply to address is rewritten as u...@domain.com but the from address is left as u...@host.domain.com. Do I have this syntax incorrect ? Thanks.

Re: smtpd doesn't start

2017-05-31 Thread Choose a display name
>Did you ever post smtpd.conf? This issue seems odd. I did, but for some reason my messages are damaged on the marc. Here it is on the nabble, the third message. http://openbsd-archive.7691.n7.nabble.com/smtpd-doesn-t-start-td319036.html

Re: smtpd doesn't start

2017-05-31 Thread Craig Skinner
Hi Peter, On Tue, 30 May 2017 12:32:35 +0200 Peter Hessler wrote: > On 2017 May 30 (Tue) at 10:37:37 +0100 (+0100), Craig Skinner wrote: > :.localdomain (.local interferes with iStuff, avoid it) > :.internal > :.private > :.priv > :.lan > > NO NO NO NO NO NO NO NO NO > > All of those domains

Re: smtpd doesn't start

2017-05-30 Thread Edgar Pettijohn
Did you ever post smtpd.conf? This issue seems odd. ⁣Sent from BlueMail ​ On May 30, 2017, 5:32 AM, at 5:32 AM, Peter Hessler wrote: >On 2017 May 30 (Tue) at 10:37:37 +0100 (+0100), Craig Skinner wrote: >:.localdomain (.local interferes with iStuff, avoid it) >:.internal

Re: smtpd doesn't start

2017-05-30 Thread Peter Hessler
On 2017 May 30 (Tue) at 10:37:37 +0100 (+0100), Craig Skinner wrote: :.localdomain (.local interferes with iStuff, avoid it) :.internal :.private :.priv :.lan NO NO NO NO NO NO NO NO NO All of those domains may (or have been) issued by ICANN, and can be used for real. The only domains you

Re: smtpd doesn't start

2017-05-30 Thread Craig Skinner
Hello, On Mon, 29 May 2017 13:04:03 -0400 Choose a display name wrote: > If I understand correct, the problem is that my DNS server on > 192.168.1.1 can't lookup an IP address for "mypcname", which is not a > registered domain name, just cooked-up hostname of the mach

Re: smtpd doesn't start

2017-05-29 Thread Raf Czlonka
On Mon, May 29, 2017 at 09:16:20PM BST, Choose a display name wrote: > > Try defining your hostname in /etc/hosts > > If you have a static address, define it with that address. If > > it's a dynamic address, define it as 127.0.1.1 > > Thank you, it worked, but I also had to add "lookup file bind"

Re: smtpd doesn't start

2017-05-29 Thread Choose a display name
>Try defining your hostname in /etc/hosts >If you have a static address, define it with that address. If it's a dynamic >>address, define it as 127.0.1.1 Thank you, it worked, but I also had to add "lookup file bind" to the resolv.conf.

Re: smtpd doesn't start

2017-05-29 Thread Branden Harper
Ted. It is a DNS failure. Here is the relevant part of ktrace of the smtpd: # kdump | tail -40 31531 smtpd RET clock_gettime 0 31531 smtpd CALL poll(0x7f7d75d0,1,20000) 31531 smtpd STRU struct pollfd { fd=3, events=0x1, revents=0<> } 31531 smtpd RET poll 0 31531 smtpd CALL recvfrom(3,0x1dc

Re: smtpd doesn't start

2017-05-29 Thread Choose a display name
Turns out, you were right, Ted. It is a DNS failure. Here is the relevant part of ktrace of the smtpd: # kdump | tail -40 31531 smtpd RET clock_gettime 0 31531 smtpd CALL poll(0x7f7d75d0,1,2) 31531 smtpd STRU struct pollfd { fd=3, events=0x1, revents=0<> } 31531 smtpd RET poll 0

Re: smtpd doesn't start

2017-05-29 Thread Choose a display name
sec ;; SERVER: 8.8.8.8#53(8.8.8.8) ;; WHEN: Mon May 29 12:55:52 2017 ;; MSG SIZE rcvd: 88 >Hello, >I had the same problem recently. >Please check the rights on the file smtpd.conf and if necessary >chmod 600 smtpd.conf It doesn't help, smtpd hangs with 644, 600, 000 chmodded smtpd.conf and without smtpd.conf at all.

Re: smtpd doesn't start

2017-05-26 Thread Mik J
onfig, dmesg and any errors > >you're receiving. "it doesn't work" and "i have a problem" won't > >get you much help on this list. > > I get no error, smtpd just hangs if network is up. > It looks like this: > > # smtpctl show stats > smtpctl: smtpd does

Re: smtpd doesn't start

2017-05-26 Thread Ted Unangst
Choose a display name wrote: > >As always, you can post your smtpd.config, dmesg and any errors > >you're receiving. "it doesn't work" and "i have a problem" won't > >get you much help on this list. > > I get no error, smtpd just hangs if network is u

Re: smtpd doesn't start

2017-05-26 Thread Choose a display name
>As always, you can post your smtpd.config, dmesg and any errors >you're receiving. "it doesn't work" and "i have a problem" won't >get you much help on this list. I get no error, smtpd just hangs if network is up. It looks like this: # smtpctl show stat

Re: smtpd doesn't start

2017-05-25 Thread sharon s.
On 05/25/17 00:09, Choose a display name wrote: I'm faced with a problem on the stable. The moment a network interface goes up smtpd cannot be started. I mean, it hangs and gives no output, neither with -dv or -Fv options, it even hangs with -n. Without a network it still works as expected. I

smtpd doesn't start

2017-05-25 Thread Choose a display name
I'm faced with a problem on the stable. The moment a network interface goes up smtpd cannot be started. I mean, it hangs and gives no output, neither with -dv or -Fv options, it even hangs with -n. Without a network it still works as expected. I changed no related config, I believe. How could I

Re: smtpd aliases file issue

2017-05-11 Thread Edgar Pettijohn
e anything from the default. But I realise all may not >be >> using default file like me and may not know what is in it. Here is a >copy >> of the contents just for reference. The problem is solved by >restarting the >> smtpd as sugested by Edgar. >> >> $

Re: smtpd aliases file issue

2017-05-11 Thread Ajitabh Pandey
t; > using default file like me and may not know what is in it. Here is a copy > > of the contents just for reference. The problem is solved by restarting > the > > smtpd as sugested by Edgar. > > > > $ doas cat /etc/mail/smtpd.conf > > > > table aliases

Re: smtpd aliases file issue

2017-05-11 Thread Gilles Chehade
Gilles, > > I did not change anything from the default. But I realise all may not be > using default file like me and may not know what is in it. Here is a copy > of the contents just for reference. The problem is solved by restarting the > smtpd as sugested by Edgar. >

Re: smtpd aliases file issue

2017-05-11 Thread Gilles Chehade
rward from the user01 account now and directly > updated the aliases file to forward email to external email address. > > Just for documentation purpose, here are the steps - > > $ doas vi /etc/mail/aliases file > $ doas newaliases > $ doas rcctl restart smtpd > > Reg

Re: smtpd aliases file issue

2017-05-11 Thread Ajitabh Pandey
Hi Gilles, I did not change anything from the default. But I realise all may not be using default file like me and may not know what is in it. Here is a copy of the contents just for reference. The problem is solved by restarting the smtpd as sugested by Edgar. $ doas cat /etc/mail/smtpd.conf

Re: smtpd aliases file issue

2017-05-11 Thread Ajitabh Pandey
newaliases $ doas rcctl restart smtpd Regards. -- ~ajitabhpandey On Wed, May 10, 2017 at 4:58 PM, Edgar Pettijohn <ed...@pettijohn-web.com> wrote: > Did you restart smtpd? > > Sent from BlueMail <http://www.bluemail.me/r?b=9531> > On May 10, 2017, at 6:03 AM, Ajitabh Pandey

Re: smtpd aliases file issue

2017-05-10 Thread Gilles Chehade
On Wed, May 10, 2017 at 04:32:55PM +0530, Ajitabh Pandey wrote: > > If my understanding about how this should work incorrect? If not then what > am I doing wrong? > What you are doing wrong is not showing your configuration file so we're able to check if it does what you think it is doing --

Re: smtpd aliases file issue

2017-05-10 Thread Edgar Pettijohn
Did you restart smtpd? ⁣Sent from BlueMail ​ On May 10, 2017, 6:03 AM, at 6:03 AM, Ajitabh Pandey <ajitabhpan...@gmail.com> wrote: >Hello, > >On an OpenBSD 6.1, I have default smtpd setup. > >I placed a .forward file in root's home and am able to receive the >emails

smtpd aliases file issue

2017-05-10 Thread Ajitabh Pandey
Hello, On an OpenBSD 6.1, I have default smtpd setup. I placed a .forward file in root's home and am able to receive the emails on an external address. I then removed the .forward from root's home and then placed a .forward in the home directory of normal user account (say user01). Emails

Re: smtpd log: certificate verification failed

2017-04-20 Thread Walter Alejandro Iglesias
On Thu, Apr 20, 2017 at 03:08:30PM +0200, Gilles Chehade wrote: > On Thu, Apr 20, 2017 at 02:59:10PM +0200, Walter Alejandro Iglesias wrote: > > Hello everyone, > > > > Just to be sure, when I get this message: > > > > maillog:Apr 20 13:53:03 server smtpd[995

Re: smtpd log: certificate verification failed

2017-04-20 Thread Gilles Chehade
On Thu, Apr 20, 2017 at 02:59:10PM +0200, Walter Alejandro Iglesias wrote: > Hello everyone, > > Just to be sure, when I get this message: > > maillog:Apr 20 13:53:03 server smtpd[99586]: smtp-out: Server certificate > verification failed on session 81c5fc1509d4c884 > &g

<    1   2   3   4   5   6   7   >