• [^] # Re: procmailex

    Posté par . En réponse au message Procmail : réponse automatique. Évalué à 1.

    Ce qui m'a donc fait changer dans /etc/postfix/main.cf
    myhostname = srvmail.srvmail par txtman.pf

    Ce qui donne cela dans /var/log/mail/info.log
    Code:
    Jul 22 13:56:31 srvmail postfix/pickup[4239]: D79B11609DC: uid=0 from=
    Jul 22 13:56:31 srvmail postfix/cleanup[4615]: D79B11609DC: message-id=<4886757E.1070001@txtman.pf>
    Jul 22 13:56:31 srvmail postfix/qmgr[15176]: D79B11609DC: from=<root@txtman.pf>, size=4377, nrcpt=1 (queue active)
    Jul 22 13:56:31 srvmail postfix/pickup[4239]: DB3351609B1: uid=0 from=
    Jul 22 13:56:31 srvmail postfix/cleanup[4615]: DB3351609B1: message-id=<20080722235631.DB3351609B1@txtman.pf>
    Jul 22 13:56:31 srvmail postfix/qmgr[15176]: DB3351609B1: from=<root@txtman.pf>, size=427, nrcpt=1 (queue active)
    Jul 22 13:56:31 srvmail postfix/local[4617]: D79B11609DC: to=<test@txtman.pf>, orig_to=, relay=local, delay=0.04, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
    Jul 22 13:56:31 srvmail postfix/qmgr[15176]: D79B11609DC: removed
    Jul 22 13:56:31 srvmail postfix/local[4617]: DB3351609B1: to=<txtman@txtman.pf>, relay=local, delay=0.04, delays=0.02/0/0/0.02, dsn=5.1.1, status=bounced (unknown user: "txtman")
    Jul 22 13:56:31 srvmail postfix/cleanup[4615]: E2CFE1609F6: message-id=<20080722235631.E2CFE1609F6@txtman.pf>
    Jul 22 13:56:31 srvmail postfix/qmgr[15176]: E2CFE1609F6: from=<>, size=2044, nrcpt=1 (queue active)
    Jul 22 13:56:31 srvmail postfix/bounce[4618]: DB3351609B1: sender non-delivery notification: E2CFE1609F6
    Jul 22 13:56:31 srvmail postfix/qmgr[15176]: DB3351609B1: removed
    Jul 22 13:56:31 srvmail postfix/local[4617]: E2CFE1609F6: to=<postfix@txtman.pf>, orig_to=<root@txtman.pf>, relay=local, delay=0.02, delays=0/0/0/0.02, dsn=5.2.0, status=bounced (maildir delivery failed: create maildir file /var/spool/postfix/Maildir/tmp/1216770991.P4617.srvmail: Permission denied)
    Jul 22 13:56:31 srvmail postfix/qmgr[15176]: E2CFE1609F6: removed


    Mais hélas même là txtman@txtman.pf ne reçois jamais la réponse automatique de test@txtman.pf

    Par contre test@txtman.pf reçois bien comme prévu le courrier de txtman@txtman.pf (encoure heureux lol).


    Ensuite, j'ai tester mailbox_command = procmail dans /etc/postfix/main.cf

    Mais ça c'est mi à tourner en boucle, postfix envoie des emails à procmail et procmail à postfix c'était fou.

    Tous est arrivé dans la boite mail_echec@txtman.pf car aucun destinataire a été trouvé.

    De plus test@txtman.pf n'a jamais rien reçu.