HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Feature Requests (http://www.howtoforge.com/forums/forumdisplay.php?f=31)
-   -   ISPConfig 3 - Mail Domain Alias (http://www.howtoforge.com/forums/showthread.php?t=30954)

tetrahedron 5th February 2009 04:50

ISPConfig 3 - Mail Domain Alias
 
I noticed that there's no option for Mail Domain Alias. It's possible to make a catch all for domains, and just have them sent to another domain. However, there's no way to alias email domains; and catch-alls are horrible when it comes to spam.

Peace,
Kelly Shutt

falko 5th February 2009 21:26

I've added this to our bugtracker.

syadnom 9th March 2009 06:16

help!
 
Is there a solution to this? maybe a workaround? I am wanting to deploy ISPconfig3 but I really must have domain aliases to do this. I am hoping to not have to go down to ISPconfig2 as I really like the multiple server management!

Thanks for any help in advance..

till 9th March 2009 08:47

There is no mail domain alias, but there are the email aliases which you can use to do the same. Just create an alias for every email address of the other domain that you need.

syadnom 9th March 2009 17:18

wow
 
is this an option in ISPconfig2? I have over 600 email accounts, dont really want to build 600 aliases. Also want some canonical mapping which doesnt seem to have an option. suppose the idea is to just do an alias there too which makes 1200 aliases for 600 email accounts. owe...

syadnom 9th March 2009 22:23

any body have an idea?
 
Any idea on how to do this in postfix outside of ispconfig3? something in postfix maybe?

What I'm trying to do is have

my-site.com = mysite.com without doing a per user alias.

does ISPconfig2 do domain aliases?

syadnom 9th March 2009 22:30

canonical maps?
 
If I did this with a canonical map that said

@my-domain.com @mydomain.com

Would ISPconfig mess with the canonical file?

in main.cf add
Quote:

canonical_maps = hash:/etc/postfix/canonical
and in /etc/postfix/canonical add
Quote:

@my-domain.com @mydomain.com
and then
Quote:

postmap /etc/postfix/canonical

till 9th March 2009 23:15

You can do this either with the canonical file or virtual_alias_domains:

http://www.postfix.org/VIRTUAL_README.html

both will not be changed by the current ispconfig version.

syadnom 10th March 2009 00:39

some clarification
 
Till, can you give an example of this? When I read the link I see:

Quote:

1 /etc/postfix/main.cf:
2 virtual_alias_domains = example.com ...other hosted domains...
3 virtual_alias_maps = hash:/etc/postfix/virtual
4
5 /etc/postfix/virtual:
6 postmaster@example.com postmaster
7 info@example.com joe
8 sales@example.com jane
9 # Uncomment entry below to implement a catch-all address
10 # @example.com jim
11 ...virtual aliases for more domains...
but it is not clear on where or how to make a domain alias, just how to make catch all addresses or virtual aliases to users.

is it as simple as
/etc/postfix/main.cf:
virtual_alias_maps = hash:/etc/postfix/virtualdomains

/etc/postfix/virtualdomains:
@my-domain.com @mydomain.com

postmap /etc/postfix/virtualdomains


any help would be appreciated.
This is really the only issue I have with ISPconfig3.
Thanks

till 10th March 2009 10:36

It should work as in your example. But as your original setup work, you should just keep it.


All times are GMT +2. The time now is 12:12.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.