Re: Adding Additional domains and outgoing email

2022-01-05 Thread Ruben Safir
> > > > > > /etc/postfix/main.cf: > > > smtpd_sasl_type = dovecot > > > smtpd_sasl_path = private/auth > > > > Can't this be done with tls withouth dovecot or sasl? > > Authentication is needed by Dovecot for IMAP access > to read email. So it should be available for use by > Postfix as we

Re: Adding Additional domains and outgoing email

2022-01-05 Thread Viktor Dukhovni
On Wed, Jan 05, 2022 at 04:10:26AM -0500, Ruben Safir wrote: > queue_directory = /var/spool/postfix > smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache > smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache This is a mistake, these files don't belong there

Re: Fatal: no SASL authentication mechanisms

2022-01-05 Thread Wietse Venema
Ken Wright: > > There are many other possibilities.? Perhaps, instead of doing all > > the integration work yourself, you may be better off with a "turnkey" > > email server such as ? > > If I don't do the work, how will I learn? You learn by starting with a WORKING syst

[PATCH] Drop accidental macro definition in postconf.5

2022-01-05 Thread Christian Göttsche
Groff interprets lines staring with a single quote as commands. Enclose in double quotes instead. Found by Lintian: groff-message usr/share/man/man5/postconf.5.gz (line 1) 13368: warning: macro 'close'' not defined See the line in question missing at https://manpages.debian.org/bullseye/po

Compiler warnings on Debian

2022-01-05 Thread Christian Göttsche
While building postfix for Debian a couple of compiler warnings show up, all caused by the warning `-Wunused-result`[1]. Two of them are caused by attempts to silence compilers via a void-cast, but GCC does not respect that, see [2]. One solution is to cast the negated result, i.e. `(void)! foo(..

postconf -d smtpd_relay_restrictions

2022-01-05 Thread Jim Popovitch
This can't be right Using 'postconf -d smtpd_relay_restrictions'... ...on postfix v3.5 (Debian/Buster) smtpd_relay_restrictions = ${{$compatibility_level} < {1} ? {} : {permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination}} ...on postfix v3.6.3 (Debian/Bookworm) smtpd_relay

Re: postconf -d smtpd_relay_restrictions

2022-01-05 Thread John Fawcett
On 05/01/2022 20:19, Jim Popovitch wrote: This can't be right Using 'postconf -d smtpd_relay_restrictions'... ...on postfix v3.5 (Debian/Buster) smtpd_relay_restrictions = ${{$compatibility_level} < {1} ? {} : {permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination}} ...on

Re: [PATCH] Drop accidental macro definition in postconf.5

2022-01-05 Thread Wietse Venema
Christian G?ttsche: > Groff interprets lines staring with a single quote as commands. > Enclose in double quotes instead. > > Found by Lintian: > > groff-message usr/share/man/man5/postconf.5.gz (line 1) 13368: warning: > macro 'close'' not defined > > See the line in question missing at >

Re: Compiler warnings on Debian

2022-01-05 Thread Wietse Venema
Christian G?ttsche: > While building postfix for Debian a couple of compiler warnings show > up, all caused by the warning `-Wunused-result`[1]. > > Two of them are caused by attempts to silence compilers via a > void-cast, but GCC does not respect that, see [2]. > One solution is to cast the nega

Re: postconf -d smtpd_relay_restrictions

2022-01-05 Thread Jim Popovitch
On Wed, 2022-01-05 at 20:45 +0100, John Fawcett wrote: > On 05/01/2022 20:19, Jim Popovitch wrote: > > This can't be right > > > > Using 'postconf -d smtpd_relay_restrictions'... > > > > ...on postfix v3.5 (Debian/Buster) > > smtpd_relay_restrictions = ${{$compatibility_level} < {1} ? {} : >

Re: postconf -d smtpd_relay_restrictions

2022-01-05 Thread John Fawcett
On 05/01/2022 21:21, Jim Popovitch wrote: On Wed, 2022-01-05 at 20:45 +0100, John Fawcett wrote: On 05/01/2022 20:19, Jim Popovitch wrote: This can't be right Using 'postconf -d smtpd_relay_restrictions'... ...on postfix v3.5 (Debian/Buster) smtpd_relay_restrictions = ${{$compatibility_le

Re: postconf -d smtpd_relay_restrictions

2022-01-05 Thread Jim Popovitch
On Thu, 2022-01-06 at 00:11 +0100, John Fawcett wrote: > On 05/01/2022 21:21, Jim Popovitch wrote: > > On Wed, 2022-01-05 at 20:45 +0100, John Fawcett wrote: > > > On 05/01/2022 20:19, Jim Popovitch wrote: > > > > This can't be right > > > > > > > > Using 'postconf -d smtpd_relay_restrictions'

Re: Compiler warnings on Debian

2022-01-05 Thread Wietse Venema
Wietse Venema: > Christian G?ttsche: > > While building postfix for Debian a couple of compiler warnings show > > up, all caused by the warning `-Wunused-result`[1]. > > > > Two of them are caused by attempts to silence compilers via a > > void-cast, but GCC does not respect that, see [2]. > > One

Re: Adding Additional domains and outgoing email

2022-01-05 Thread raf
On Wed, Jan 05, 2022 at 04:10:26AM -0500, Ruben Safir wrote: > > > > > > > > /etc/postfix/main.cf: > > > > smtpd_sasl_type = dovecot > > > > smtpd_sasl_path = private/auth > > > > > > Can't this be done with tls withouth dovecot or sasl? > > > > Authentication is needed by Dovecot for I

Re: Mail system is down

2022-01-05 Thread raf
On Mon, Jan 03, 2022 at 10:06:02PM -0500, Ken Wright wrote: > On Mon, 2022-01-03 at 20:50 -0500, Viktor Dukhovni wrote: > > On Mon, Jan 03, 2022 at 08:02:20PM -0500, Ken Wright wrote: > > > > > $ sudo chmod g+s /usr/sbin/postdrop > > > $ ls -la /usr/sbin/postdrop > > > -r-xr-sr-x 1 postfix post

Re: Adding Additional domains and outgoing email

2022-01-05 Thread Viktor Dukhovni
On Thu, Jan 06, 2022 at 02:09:45PM +1100, raf wrote: > > is on - so it is asking for client certificates? > > But that is really not authetication, if I understand things. > > It's asking for them (from all clients, even for remote > mail servers sending you mail which isn't helpful), but > it's