forward emails sent to user@hostname

vod

Verified User
Joined
Oct 25, 2005
Messages
129
Hi guys,

my hostname is unix.mydomain.com

How can i forward all emails sent to admin@hostname to my email? currently all emails sent to [email protected] are forwarded to my email address however emails that were sent to [email protected] (which is my hostname) are not getting forwarded.

How do i fix this?

thanks
 
We do it with an aliases file in the /etc/virtual/<hostname> directory.

This is in direct contradiction to the advice on the DirectAdmin website, but if done with the right permissions, it works.

Jeff
 
Hi Jeff,

We do it with an aliases file in the /etc/virtual/<hostname> directory.

Would you mind to share how did you achieve that?

Thanks
 
I'm not sure what else you'd need to know.

If that weren't enough information you may not want to risk making the change.

If you ask specific questions perhaps I or someone else can answer them.

Jeff
 
nevermind. problem solved. use the system aliases instead of creating alises in hostname folder.
 
That works, but those aliases are just what they say: system aliases.

And they get read before any domain-specific aliases.

Jeff
 
Back
Top