On Mon, Aug 30, 2021 at 08:57:36PM +0200, Jean-François Bachelet 
<jfbache...@free.fr> wrote:

> Re-Re-Hello ^^)
> 
> spamassassin unix - n n - - pipe
> 
> user=spamd argv=/usr/bin/spamc -f -e /usr/bin/sendmail -oi -f ${sender}
> ${recipient}
> 
> Î_ see ? there is NO space or tab before 'user' and just for this postfix
> conf parser fail to validate it.
> 
> grrr how can I haven't seen this at first ?
> 
> BTW, I added a tab there and now the fault is gone.
> 
> I love postfix more and more as I put my hands in its engine! I prefer a
> software that is verbose when it fail even in non-debug mode than some
> others well-known paid ones the fail silently without saying a word and let
> the user think all is working well.
> 
> and viva Linux too ^^)
> 
> Thanks.
> Jeff

Well done figuring it out. You won't make that mistake again,
but for future reference, when you make a change to postfix's
configuration, it's a good idea to run these commands to check
that postfix sees what you think it should:

  postconf -n
  postconf -M

The postconf -M command would have reported that syntax error.
But also note that changes to main.cf take effect immediately
in a lot of cases (so run postconf -n right away), and changes
to master.cf only take effect after a reload (so run postconf -M
before reloading postfix).

cheers,
raf

Reply via email to