On Tue, Dec 07, 2021 at 10:25:44AM -0500, post...@aecperformance.com wrote:

> Sorry I sent this from the wrong email address.
> 
> VPS Ubuntu 20.04 postfix 3.4.13 and dovecot 2.3.7.2
> 
> I'm making progress but still not there.
> 
> Any help would be greatly appreciated.
> 
> I'm getting the errors:
> 
> warning: SASL: Connect to private/auth failed: Connection refused
> 
> fatal: no SASL authentication mechanisms
> 
>  
> 
> I have a param in main.cf: smtpd_sasl_path = private/auth
> 
> I do not have a folder /etc/postfix/private/auth
> 
> I do have a folder /etc/postfix/auth but nothing is in it.
> 
> How can I fix this error?

The reference to private/auth is referring to dovecot's
authentication socket under postfix's chroot directory.
It's in /var/spool/postfix/private/auth, not /etc/postfix.

You have set that up in dovecot's config:

  service auth {
    unix_listener /var/spool/postfix/private/auth {
      group = postfix
      mode = 0666
      user = postfix
    }
    unix_listener auth-userdb {
      mode = 0600
      user = vmail
    }
    user = dovecot
  }

My version of that looks like:

  service auth {
    unix_listener /var/spool/postfix/private/auth {
      mode = 0666
    }
  }

So it looks like that should be OK.
Does /var/spool/postfix/private/auth exist?
Mine has root as owner/group. Yours should
have postfix as owner/group. But that shouldn't
matter as long as the mode is 0666.

If not, check dovecot's log messages for problems with it.
But I don't know what to look for. The dovecot mailing list
folks might be more useful for that.

It should exist and be used by dovecot. If you have lsof installed,
you can check that:

  > sudo lsof /var/spool/postfix/private/auth
  COMMAND     PID    USER   FD   TYPE             DEVICE SIZE/OFF     NODE NAME
  dovecot   17341    root   53u  unix 0xffff8e43c69f7400      0t0 16873340 
/var/spool/postfix/private/auth type=STREAM
  auth    1521507 dovecot   13u  unix 0xffff8e43c69f7400      0t0 16873340 
/var/spool/postfix/private/auth type=STREAM
  auth    1521507 dovecot   21u  unix 0xffff8e43c417c800      0t0 69451443 
/var/spool/postfix/private/auth type=STREAM
  auth    1521507 dovecot   22u  unix 0xffff8e43c9fc2400      0t0 69453124 
/var/spool/postfix/private/auth type=STREAM

Something else that might or might not be a (different)
problem is that the TLS certificate at
mail.sizzlelicks.com doesn't certify the domain
mail.sizzlelicks.com. Its list of domains contains
sizzelicks.com and www.sizzelicks.com but not
mail.sizzelicks.com. That might cause problems with
Thunderbird trying to connect for IMAPS. I think you
reported such an error message earlier. So you might
want to add the mail.sizzelicks.com domain to that
certificate. But that's not related to the failure to
connect to the dovecot auth socket.

cheers,
raf

> -----Original Message-----
> From: owner-postfix-us...@postfix.org
> <mailto:owner-postfix-us...@postfix.org>  <owner-postfix-us...@postfix.org
> <mailto:owner-postfix-us...@postfix.org> > On Behalf Of Wietse Venema
> Sent: Monday, December 6, 2021 11:04 AM
> To: Postfix users <postfix-users@postfix.org
> <mailto:postfix-users@postfix.org> >
> Subject: Re: virtual mailbox domains??
> 
>  
> 
>  <mailto:post...@aecperformance.com> post...@aecperformance.com:
> 
> > Command: sudo postfix status
> 
> > postfix/postfix-script: the Postfix mail system is running: PID: 38284
> 
>  
> 
> Good.
> 
>  
> 
> > I attempted to send an email to  <mailto:smok...@sizzelicks.com>
> smok...@sizzelicks.com 
> 
> > < <mailto:smok...@sizzelicks.com> mailto:smok...@sizzelicks.com> . It
> bounced.
> 
>  
> 
> What is the Postfix logging for this? Be sure to include more than only the
> delivery error (i.e. logging from pickup or smtpd; cleanup; qmgr; ...).
> 
>  
> 
> This is the first problem that you need to fix.
> 
>  
> 
> > In the log I see a few attempts to connect from spammers. I do not see 
> 
> > my laptop IP or anything at all about what I did.
> 
>  
> 
> That is the second problem to fix. I suspect a firewalling or routing
> problem.
> 
>  
> 
>                 Wietse
> 

Reply via email to