bug-mailfromd
Re: [Bug-mailfromd] Deleting and adding the same recipient
Hi Mehmet,
> The following during `envrcpt` leaves the mail with no recipient.
>
> rcpt_delete($1)
> rcpt_add("alias@xxxxxxxxxx")
> rcpt_delete("<alias@xxxxxxxxxx>")
> rcpt_add("alias@xxxxxxxxxx")
>
> Can you confirm that this is the expected behavior?
No, this leaves "alias@xxxxxxxxxx" as the only recipient. Running this
on my box with 'O Milter.LogLevel=9' in the sendmail.cf file, I get
the following:
05SB8MWr027341: Milter delete: rcpt <gray@xxxxxxxxxx>
05SB8MWr027341: Milter add: rcpt: alias@xxxxxxxxxx
05SB8MWr027341: Milter delete: rcpt <alias@xxxxxxxxxx>
05SB8MWr027341: Milter add: rcpt: alias@xxxxxxxxxx
05SB8MWr027341: to=alias@xxxxxxxxxx, ctladdr=<gray@xxxxxxxxxx> (1000/1000),
delay=00:00:04, xdelay=00:00:03, mailer=esmtp, pri=30791,
relay=mx.domain.com. [66.96.140.73], dsn=5.0.0, stat=Service unavailable
Which is exactly what is expected. For the record, that's using
mailfromd 8.7.
Best regards,
Sergey