
15th August 2005, 05:08
|
|
Junior Member
|
|
Join Date: Aug 2005
Location: Eugene, OR
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Alias e-mail addresses
I have setup a DNS server outside the firewall that all websites point to from registrar. I then have all MX records pointing to one IP behind my firwall for six sites. This is an ISPConfig address. My question is: Can ISP Config be set up to deliver all mail, for multiple sites incoming on one IP, to each respected mail box? ie mail delivered to either joe@example1.com or joe@example 2.com, would deliver to the same mail box, web1_joe. I'm trying come up with a way to prevend users of multiple domains from needing to manage multiple accounts with an e-mail client. I did this in the past with virtual user table. I looked like this.
joe@example1.com web1_joe
joe@example 2.com web1_joe
Will I break ISPConfig if I do this above the line that says:
#### MAKE MANUAL ENTRIES BELOW THIS LINE! ####
What is the best way to handle this if it is possible. Many thanks for your help.
|

15th August 2005, 06:04
|
|
Junior Member
|
|
Join Date: Aug 2005
Location: Eugene, OR
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I got it figured out
It was easy using local-host-names and virtusertable. I just had to think it through.
|

15th August 2005, 10:10
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
|
|
Quote:
|
Originally Posted by radioguy
It was easy using local-host-names and virtusertable. I just had to think it through.
|
Why use local-host-names and virtusertable when you can do it inside ISPConfig?
Keyword: Email alias.
http://www.ispconfig.org/downloads/m..._src.htm#4_2_2
Last edited by till; 15th August 2005 at 12:05.
|

15th August 2005, 12:02
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
Quote:
|
Originally Posted by radioguy
Will I break ISPConfig if I do this above the line that says:
#### MAKE MANUAL ENTRIES BELOW THIS LINE! ####
|
You will not break ISPConfig, but ISPConfig will overwrite your changes if you make them above the mentioned line...
|

8th December 2006, 19:51
|
|
Junior Member
|
|
Join Date: Dec 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Manually import /etc/aliases to virtusertable
I have a large /etc/aliases file that I would like to use with ISPconfig. What's the best way to do this?
I commented in /etc/postfix/main.cf to force postfix to use /etc/aliases:
# virtual_alias_domains = example.com
# virtual_alias_maps = hash:/etc/postfix/virtusertable
Aliases work fine, but I'm unsure of what impact this has on ISPconfig. Just breaks aliases fields in ISPconfig?
Did this also break PHP in virtual domains? I'm getting this when I goto http://virtualdomain.com/~virtualuser and call example.php from a form action.
Internal Server Error
File "/var/www/web5/user/virtualuser/web/example.php" is not in document root of Vhost "/var/www/web5/web"
suPHP 0.6.1
Thank you!
Ken in Portland
Last edited by bingnet; 8th December 2006 at 20:00.
|

9th December 2006, 15:50
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
Quote:
|
Originally Posted by bingnet
I have a large /etc/aliases file that I would like to use with ISPconfig. What's the best way to do this?
I commented in /etc/postfix/main.cf to force postfix to use /etc/aliases:
# virtual_alias_domains = example.com
# virtual_alias_maps = hash:/etc/postfix/virtusertable
Aliases work fine, but I'm unsure of what impact this has on ISPconfig. Just breaks aliases fields in ISPconfig?
|
ISPConfig doesn't use /etc/aliases at all.
Please run
Code:
postconf -e 'alias_maps = hash:/etc/aliases'
postconf -e 'alias_database = hash:/etc/aliases'
postconf -e 'mydestination = /etc/postfix/local-host-names'
postconf -e 'virtual_maps = hash:/etc/postfix/virtusertable'
/etc/init.d/postfix restart
Quote:
|
Originally Posted by bingnet
Did this also break PHP in virtual domains? I'm getting this when I goto http://virtualdomain.com/~virtualuser and call example.php from a form action.
Internal Server Error
File "/var/www/web5/user/virtualuser/web/example.php" is not in document root of Vhost "/var/www/web5/web"
suPHP 0.6.1
Thank you!
Ken in Portland
|
PHP and Perl don't work in a user's web site, only in the main web site.
|

12th December 2006, 00:29
|
|
Junior Member
|
|
Join Date: Dec 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
|
Originally Posted by falko
ISPConfig doesn't use /etc/aliases at all.
|
OK, and I do understand that I can add aliases manually to virtusertable. What is the syntax there for mailing lists that represent real users but are not users themselves? Would I have to access each user profile which should be a member of a list and enter the name of the list as an alias?
Quote:
|
Originally Posted by falko
PHP and Perl don't work in a user's web site, only in the main web site.
|
That explains it.
Really, thanks.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 00:52.
|
Recent comments
16 hours 20 min ago
21 hours 36 min ago
21 hours 47 min ago
21 hours 55 min ago
22 hours 57 min ago
1 day 1 hour ago
1 day 3 hours ago
1 day 3 hours ago
1 day 3 hours ago
1 day 5 hours ago