Re: Mail system is down

2022-01-01 Thread Ken Wright
On Sat, 2022-01-01 at 18:50 -0500, Wietse Venema wrote: > Ken Wright: > > > > I did a quick Google search, and ran sudo apparmor_status.  There > > don't appear to be any postfix-related programs listed. > > Then that leaves the cron related profiles. None of those either.

Re: Macro explanation?

2022-01-01 Thread Dan Mahoney (Gushi)
On Sat, 1 Jan 2022, Wietse Venema wrote: Dan Mahoney (Gushi): Hey there, I'm trying to modernize older configs at the day job and have found that a coworker specified: milter_connect_macros = b i j _ {daemon_name} {if_name} {if_addr} milter_end_of_data_macros = b i j _ {daemon_name} {if_name}

Re: Macro explanation?

2022-01-01 Thread Wietse Venema
Dan Mahoney (Gushi): > Hey there, > > I'm trying to modernize older configs at the day job and have found that a > coworker specified: > > milter_connect_macros = b i j _ {daemon_name} {if_name} {if_addr} > milter_end_of_data_macros = b i j _ {daemon_name} {if_name} {if_addr} > {mail_addr} > >

Re: Mail system is down

2022-01-01 Thread Wietse Venema
Ken Wright: > On Sat, 2022-01-01 at 16:22 -0500, Wietse Venema wrote: > > Ken Wright: > > > > ? Is the postqueue command subject to AppArmor reduced > > > > privileges? > > > > ? The postqueue command will log EACES (Permission denied) > > > > errors, > > > > ? but when AppArmor returns a different

Macro explanation?

2022-01-01 Thread Dan Mahoney (Gushi)
Hey there, I'm trying to modernize older configs at the day job and have found that a coworker specified: milter_connect_macros = b i j _ {daemon_name} {if_name} {if_addr} milter_end_of_data_macros = b i j _ {daemon_name} {if_name} {if_addr} {mail_addr} Consulting http://www.postfix.org/MIL

Creating Dovecot users from Postfix

2022-01-01 Thread Felix Ingram
Hello all, I am creating an email service where I need to accept email for any address at my domains. The postfix part of this has been easy enough but I now want to send the mails through to Dovecot. This all works as expected if I have a user already configured in Dovecot but in the majority

Re: Mail system is down

2022-01-01 Thread Ken Wright
On Sat, 2022-01-01 at 16:22 -0500, Wietse Venema wrote: > Ken Wright: > > >   Is the postqueue command subject to AppArmor reduced > > > privileges? > > >   The postqueue command will log EACES (Permission denied) > > > errors, > > >   but when AppArmor returns a different error code such as EPERM,

Re: Mail system is down

2022-01-01 Thread Wietse Venema
Ken Wright: > > Is the postqueue command subject to AppArmor reduced privileges? > > The postqueue command will log EACES (Permission denied) errors, > > but when AppArmor returns a different error code such as EPERM, > > postqueue will just say "mail system is down" (it does not try > >

Re: Mail system is down

2022-01-01 Thread Ken Wright
On Sat, 2022-01-01 at 13:35 -0500, Wietse Venema wrote: > Ken Wright: > > - Does the socket /var/spool/postfix/public/showq exist? It >   should look like this: > >   srw-rw-rw- 1 postfix postfix 0 Dec 17 18:13 > /var/spool/postfix/public/showq Looks just like this, except that it's the postdrop

Re: Mail system is down

2022-01-01 Thread Wietse Venema
Ken Wright: > What a way to start the new year! > > I got the following message in /var/log/mail.err this morning: > > Jan 1 01:34:03 grace postfix/postqueue[1684046]: fatal: Queue report > unavailable - mail system is down postqueue will log this when it is unable to connect to the "showq" ser

Mail system is down

2022-01-01 Thread Ken Wright
What a way to start the new year! I got the following message in /var/log/mail.err this morning: Jan 1 01:34:03 grace postfix/postqueue[1684046]: fatal: Queue report unavailable - mail system is down Naturally, I checked, and both Postfix and Dovecot are running. Can anyone translate this for