User Look Up Error

3 posts / 0 new
Last post
#1 Fri, 03/20/2015 - 19:44
zer0

User Look Up Error

Hello everyone, 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 "user-domain.ca@mail.domain.ca". 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

Sat, 03/21/2015 - 00:17
andreychek

Howdy,

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.

-Eric

Mon, 03/23/2015 - 09:01 (Reply to #2)
zer0

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)
                                                                       userB-domain.ca@mail.domain.ca
                                                                      

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: userA@domain.ca userB-dmain.ca

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?

Thank you

Topic locked