[FUG-BR] Mailman x Postfix

Ricardo Campos Passanezi riccp em ige.unicamp.br
Sexta Setembro 2 11:49:36 BRT 2016


On Fri, Sep 02, 2016 at 11:12:06AM -0300, Renato Sousa wrote:
> Olá Patrick,
> 
> As configurações do postfix estão aponttando para o arquivo correto:
> 
> alias_maps = hash:/etc/aliases, hash:/usr/local/mailman/data/aliases
> alias_database = hash:/etc/aliases, hash:/usr/local/mailman/data/aliases
> 
> Parei o sendmail e agora o erro é outro:
> 
> Sep  2 08:32:43 rick Mailman mail-wrapper: Group mismatch error.  Mailman
> expected the mail wrapper script to be executed as group "mailman", but the
> system's mail server executed the mail script as group "mailnull".  Try
> tweaking the mail server to run the script as group "mailman", or re-run
> configure,  providing the command line option `--with-mail-gid=mailnull'.
> Sep  2 08:32:43 rick sm-mta[62854]: u82BWhlI062853:
> to="|/usr/local/mailman/mail/mailman owner boletim-sbq", ctladdr=<
> xxxx-owner em sbq.org.br> (26/0), delay=00:00:00, xdelay=00:00:00,
> mailer=prog, pri=89571, dsn=5.3.0, stat=unknown mailer error 2
> 
> O curioso é que configurei a integração do mailman com o postfix no ports e
> parece que isso não está rolando:
> 
> # make showconfig
> ===> The following configuration options are available for mailman-2.1.23:
>      DOCS=on: Build and/or install documentation
>      HTDIG=off: - EXPERIMENTAL - htdig integration patches
>      NAMAZU2=off: Make private archives searchable with namazu2
>      NLS=on: Native Language Support
> ====> Integrate with which MTA?: you have to select exactly one of them
>      COURIER=off: for use with courier
>      EXIM4=off: for use with exim4
>      OPENSMTPD=off: for use with opensmtpd - EXPERIMENTAL -
> *     POSTFIX=on: for use with postfix*
>      SENDMAIL=off: for use with sendmail
> ===> Use 'make config' to modify these settings
> 
> Alguém tem alguma luz ??
> 
> Abraços e muito obrigado!
> 
> Renato
> 


Olha o /etc/mail/mailer.conf

Tem de estar:

sendmail  /usr/local/sbin/sendmail
send-mail /usr/local/sbin/sendmail
mailq   /usr/local/sbin/sendmail
newaliases  /usr/local/sbin/sendmail

Bem, isso se o postfix foi instalado no default.

No rc.conf:
sendmail_enable="NONE"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
postfix_enable="YES"

No periodic.conf:
daily_queuerun_enable="NO"
daily_submit_queuerun="NO"
daily_clean_hoststat_enable="NO"
daily_status_mailq_shorten="NO"
daily_status_include_submit_mailq="NO" 
daily_status_mail_rejects_enable="NO"
daily_status_mail_rejects_shorten="NO"


-- 
Ricardo Campos Passanezi


Mais detalhes sobre a lista de discussão freebsd