Re: AUTH failures requires restarting smtpd
On Sat, Aug 10, 2019 at 02:24:57PM -0500, Edgar Pettijohn wrote: > > 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: > > > > > 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 > > > > > > > > > Hi, > > > > Can you check if there are any issues with the connection to the MySQL > > > > database during the time of the credentials lookup fails? > > > > > > > > I've had similar issues with Postgresql databases in the past (many > > > > OpenSMTPD versions ago) where the psql tcp connection was disconnected > > > > due to restarting the psql database. This was not handled well by > > > > OpenSMTPD. > > > > > > > > br, > > > > > > > > -- > > > > You received this mail because you are subscribed to misc@opensmtpd.org > > > > To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org > > > > > > > > > > Maybe something similar. Mysqld is running and double checking the SQL > > > from the command line works. Plus dovecot is using the same without error. > > > > > > Thanks, > > > > > > > Once I tag OpenSMTPD 6.6.0 in August, I'll have a look at extras because > > they've been out of my sight for a while. > > > > -- > > Gilles Chehade @poolpOrg > > > > https://www.poolp.org?? patreon: > > https://www.patreon.com/gilles > > > > > Thanks. As an update I upgraded to a snapshot last week with no change. Have > a cron job restarting smtpd every hour as a workaround. You should create an issue on our issue tracker so I don't forget about this in a week -- Gilles Chehade @poolpOrg https://www.poolp.orgpatreon: https://www.patreon.com/gilles
Re: AUTH failures requires restarting smtpd
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: > > > > 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 > > > > > > > Hi, > > > Can you check if there are any issues with the connection to the MySQL > > > database during the time of the credentials lookup fails? > > > > > > I've had similar issues with Postgresql databases in the past (many > > > OpenSMTPD versions ago) where the psql tcp connection was disconnected > > > due to restarting the psql database. This was not handled well by > > > OpenSMTPD. > > > > > > br, > > > > > > -- > > > You received this mail because you are subscribed to misc@opensmtpd.org > > > To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org > > > > > > > Maybe something similar. Mysqld is running and double checking the SQL from > > the command line works. Plus dovecot is using the same without error. > > > > Thanks, > > > > Once I tag OpenSMTPD 6.6.0 in August, I'll have a look at extras because > they've been out of my sight for a while. > > -- > Gilles Chehade @poolpOrg > > https://www.poolp.org patreon: https://www.patreon.com/gilles > Thanks. As an update I upgraded to a snapshot last week with no change. Have a cron job restarting smtpd every hour as a workaround.
Re: AUTH failures requires restarting smtpd
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: > > > 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 > > > > > Hi, > > Can you check if there are any issues with the connection to the MySQL > > database during the time of the credentials lookup fails? > > > > I've had similar issues with Postgresql databases in the past (many > > OpenSMTPD versions ago) where the psql tcp connection was disconnected > > due to restarting the psql database. This was not handled well by OpenSMTPD. > > > > br, > > > > -- > > You received this mail because you are subscribed to misc@opensmtpd.org > > To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org > > > > Maybe something similar. Mysqld is running and double checking the SQL from > the command line works. Plus dovecot is using the same without error. > > Thanks, > Once I tag OpenSMTPD 6.6.0 in August, I'll have a look at extras because they've been out of my sight for a while. -- Gilles Chehade @poolpOrg https://www.poolp.orgpatreon: https://www.patreon.com/gilles
Re: smtpd / mail.lmtp rewrites from address, breaking lmtp
On Wed, Jun 26, 2019 at 10:56:50AM +0100, Michal Krzysztofowicz wrote: > Hi All, > Hi, > I???ve been using OpenSMTPD on OpenBSD to run my email server since at least > 2015, and this setup has been working really well for me since. > > [...] > > Am I missing something in the configuration, or is this something that needs > to be fixed in smtpd? > > I???m running OpenBSD 6.5 patched to 005_libssl (so I guess it???s the > -stable flavour), with stock OpenSMTPD distributed with OpenBSD 6.5. > Sorry, it took a while to start looking at this. We're very close to 6.6 freeze so I'm not comfortable addressing this in the current timeframe. A possible fix to your issue would be to add ' to the allowed charset in util.c, can you try and see if it is enough to solve your issue ? -- Gilles Chehade @poolpOrg https://www.poolp.orgpatreon: https://www.patreon.com/gilles