I have an old message stuck somewhere. The recipient's address is invalid and the system keeps trying to re-send despite mail output queue being supposedly empty. Any ideas where I should look for the stuck message?
~$ mailq
mailq: Mail queue is empty
~$ sendmail -bp
sendmail: Mail queue is empty
My /var/log/mail reads:
Jan 3 17:00:02 my-linux-box sSMTP[15504]: Creating SSL connection to host
Jan 3 17:00:03 my-linux-box sSMTP[15504]: SSL connection using RSA_ARCFOUR_SHA1
Jan 3 17:00:07 my-linux-box sSMTP[15504]: Sent mail for [email protected] (221 2.0
~/dead.letter
, I found this to workcat ~/dead.letter | sendmail [email protected]
.dead.letter
exists because the mail was not accepted by the first MTA (beeing local or remote) when submited by the mail agent.