CVSROOT:        /cvs
Module name:    src
Changes by:     gil...@cvs.openbsd.org  2009/08/08 17:02:43

Modified files:
        usr.sbin/smtpd : mta.c queue_shared.c 

Log message:
- simplify a bit queue_message_update()
- make sure queue_message_update() creates bounces using bounce_record()
- when mta sends update to queue and it sees that batch is flagged with
F_BATCH_PERMFAIL, only update the envelope error message if it doesn't
have F_MESSAGE_PERMFAIL set, otherwise we may lose the real reason why
we failed for that recipient. There's cleanup to do around that old
code, i'm sure we can get it simpler.

this commit fixes a bug pea@ spotted where a bounce message would not
display the reason of a failure when we generated it after failing to
deliver a relayed message.

Reply via email to