[MASOCH-L] Problemas com /usr/bin/env

João Carlos Mendes Luís jonny at jonny.eng.br
Wed Aug 29 11:22:13 BRT 2007


Filipe Alvarez wrote:
> Pessoal, utilizo FreeBSD 5.4-R, Postfix 2.4.3 e de vez em quando o
> Postfix devolve emails com o seguintes erros:
>
> Jul 30 16:24:54 hercules postfix/pipe[11583]: 9C2F314D3: to=<
> diego em localdomain.com.br>, relay=maildrop, delay=16, delays=4.6/0.07/0/11,
> dsn=5.3.0, status=bounced (Command died with signal 6: "/usr/bin/env")
> Jul 30 16:24:54 hercules postfix/pipe[13245]: 9C2F314D3: to=<
> rafaelquaranta em localdomain.com.br>, relay=maildrop, delay=16,
> delays=4.6/0.07/0/11,
> dsn=5.3.0, status=bounced (Command died with signal 6: "/usr/bin/env")
> Jul 30 16:24:54 hercules postfix/pipe[16609]: 9C2F314D3: to=<
> andreia em localdomain.com.br>, relay=maildrop, delay=16, delays=4.6/8.3/0/3,
> dsn=5.3.0, status=bounced (Command died with signal 6: "/usr/bin/env")
> Jul 30 16:24:54 hercules postfix/pipe[16529]: 5669614BB: to=<
> direct em localdomain2.com.br>, relay=maildrop, delay=15, delays=2.2/0.1/0/12,
> dsn=5.3.0, status=bounced (Command died with signal 6: "/usr/bin/env")
>
> Meu master.cf chama o maildrop assim:
>
> maildrop  unix  -       n       n       -       -       pipe
>   flags=DRhu user=vmail argv=/usr/bin/env SENDER=${sender}
>   RECIPIENT=${recipient} EXTENSION=${extension} /usr/local/bin/maildrop
>   -w 80 -d ${user}@${nexthop} ${extension} ${recipient} ${user} ${nexthop}
> ${sender}
>
> O curioso é que os erros só acontecem em emails entregues "no mesmo
> segundo".
>   

O motivo eu não sei, mas se seu diagnóstico está correto, talvez voce 
possa resolver assim:

local_destination_concurrency_limit     = 1


*local_destination_concurrency_limit (default: 2)*

    The maximal number of parallel deliveries via the local mail
    delivery transport to the same recipient (when
    "local_destination_recipient_limit
    <http://www.postfix.org/postconf.5.html#local_destination_recipient_limit>
    = 1") or the maximal number of parallel deliveries to the same local
    domain
    <http://www.postfix.org/ADDRESS_CLASS_README.html#local_domain_class>
    (when "local_destination_recipient_limit
    <http://www.postfix.org/postconf.5.html#local_destination_recipient_limit>
     > 1"). This limit is enforced by the queue manager. The message
    delivery transport name is the first field in the entry in the
    master.cf <http://www.postfix.org/master.5.html> file.

    A low limit of 2 is recommended, just in case someone has an
    expensive shell command in a .forward file or in an alias (e.g., a
    mailing list manager). You don't want to run lots of those at the
    same time.

*local_destination_recipient_limit (default: 1)*

    The maximal number of recipients per message delivery via the local
    mail delivery transport. This limit is enforced by the queue
    manager. The message delivery transport name is the first field in
    the entry in the master.cf <http://www.postfix.org/master.5.html> file.

    Setting this parameter to a value > 1 changes the meaning of
    local_destination_concurrency_limit
    <http://www.postfix.org/postconf.5.html#local_destination_concurrency_limit>
    from concurrency per recipient into concurrency per domain.




> Será que o env esta causando esses erros pois seta as variáveis ao mesmo
> tempo?
> Alguem tem alguma ideia?
>
> []s
> Filipe Alvarez.
> __
> masoch-l list
> https://eng.registro.br/mailman/listinfo/masoch-l
>   


                                        Jonny

-- 
João Carlos Mendes Luís - Networking Engineer - jonny at jonny.eng.br



More information about the masoch-l mailing list