Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-29-2006, 01:35 PM   #1
Registered: Dec 2004
Location: London, UK
Distribution: Fedora and CentOS
Posts: 43

Rep: Reputation: 15
Question Postfix unable to deliver mail because user@virtualdomain becomes user@hostname

Hi all,

I have set up a mail server using CentOS, Postfix, Dovecot and JAMM ( - following a howto I found on the web. Everything seemed to be working properly until I started trying to send myself messages from my email account at my "real" job.

What seemed to be happening is that where I was sending email to my.user@mydomain, when it reached my server, the recipient address had changed to my.user@emailserverhostname - how weird I thought.

Now, I've managed to fix this issue for users hosted at the same domain that server is part of using a regular expression table for the recipient_canonical configuration parameter. But, I've got virtual domains hosted at the server now, so when I send email to them from my work account the recipient address gets changed from user@virtualdomain to user@emailserverhostname - this is now proving to be very annoying...

Does anybody have any idea why this is occurring? And, what, if anything I can do to stop it? I'm not sure I can do anything - if emailing from some sources works, but others doesn't.

Thanks in advance,


Last edited by azrael808; 04-29-2006 at 01:56 PM.


hosting, mail, postfix, server, virtual

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't deliver mail (postfix) to local user wheel Linux - General 1 04-05-2006 08:45 AM
Postfix: Need to deliver all local mail to 1 account, then forward OneBinary Linux - Software 3 01-05-2006 05:49 PM
POSTFIX holding mail in qeue, won't deliver, connection refused bentman78 Linux - Software 2 10-27-2004 08:11 AM
mail to local user using Postfix hct224 Linux - Newbie 0 03-16-2004 09:08 PM
Is virtual user for mail (postfix) and ftp (proftpd) possible pembo13 Linux - Software 0 01-11-2004 04:30 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:27 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration