one of the user’s alias somehow got screwed up. It should have been “user.domain” but it was written as “user-domain” I did fix that, however there is one incoming email that is stuck in queue and it is now destined to “email@example.com”. I have tried going to /var/spool/postfix/deffered but there is no way of manually redirecting the email.
Is there anything I can do to redirect to the correct address?
Any help will be greatly appreciated
Normally if an email account doesn’t exist, the email would bounce back to the sender.
When you look in the mail queue, what error is associated with that email?
Note though that since it’s just this one message, you could always pull up the message contents from the email queue, and then just forward that message to the correct email address.
Thank you for reply Eric,
mailq outputs the following
I could not copy/paste text from PuTTy on ubuntu for some reason so I will type it out
–Queue ID- --Size-- -----Arrival Time— -Sender/Recipient---------
4D608C032F21 96789 Fri Mar 20 13:00:09 client@SomeDomain.com
(User lookup Error)
Little clarification here… the email was originally directed to userA@domain.ca but I have an aliase listed that redirects userA emails to userB… but the problem is the alias for some reason was written as:
Note though that since it's just this one message, you could always pull up the message contents from the email queue, and then just forward that message to the correct email address.
you mean use
sudo postcat -q ID
to pull the content, but how do i forward to the correct email?