Cheap Web Space, Domain Name:
Web Space With E-Mail, PHP/MySQL.

How can I change the e-mail-address routing from the Linux console?

Question: 

Searching …

 

Unfortunately nothing found on "".

Premium support for Bitpalace web hosting customers only!

 in the United States (Chicago, IL): 1 (815) 526-7037, Fax (in Germany) +49 30 32 70 18 91

service@bitpalace.com 

Skype: bitpalast

One moment please … your browser is loading the page.

 

 

Symptom

Currently all e-mails sent to mail@domain.xx arrive in your mailbox A. You want these e-mails to arrive in mailbox B. You want to change the routing from the linux console.

 

Solution

1. Log-in to your Linux console by SSH and switch into superuser mode by the su command.

2. Open the file /etc/mail/virtusertable for editing, e.g.

vi /etc/mail/virtusertable

3. Change the existing line

mail@domain.xx   A

to
mail@domain.xx   B

4. Save the changes, e.g.

[ESC] :qw! [Enter]

5. The virtusertable file is a human readible version of the routing table. In order for the server to use the file, it must be converted into a database format.

Either (on Bitpalace Small Enterprise Servers)
vnewvirtmaps

or (on other Linux servers or if the vnewvirtmaps command is unavailable)
makemap hash /etc/mail/virtusertable.db < /etc/mail/virtusertable

6. At this point on Bitpalace Small Enterprise Servers the new routing is already active. On some other servers Sendmail will still need to be restarted, so that the updated virtusertable.db file will be read:

FreeBSD
cd /etc/mail
make restart


Linux
service sendmail restart

 

Overview of frequently asked questions 

 

 

 


 

Additional Services

Starter Server: Affordable web server from  3.62 US$ () /month with PHP, database and many more 

Online Reservation System: Occupancy & vacancy schedule for any ressources (vehicles, sports facilities …) & guest houses, holiday apartments …  8.64 US$ () /month 

Software development: Development of database applications, programming and revision of computer programs & scripts  42.78 US$ () /hour 

 

FAQ – frequently asked questions 

 

Kiribati

Austria

Cameroon

Guinea

Pakistan

Colombia

Cuba

Antigua and Barbuda

Panama

Papua New Guinea

Jordan

Argentina

Costa Rica

Australia

Germany

Bahamas

Lesotho

Barbados

Belize

Paraguay

Tuvalu

Honduras

Peru

Madagascar

Bolivia

Botswana

Malawi

Chile

Philippines

India

Malta

Puerto Rico

Rwanda

Saint Kitts and Nevis

Samoa

Marshall Islands

Saint Vincent and the Grenadines

Zambia

Jamaica

Mauritius

Saint Lucia

Dominican Republic

Liberia

Switzerland

Mexico

Canada

Dominican Republic

Micronesia, Federated States of

Seychelles

Namibia

Ecuador

Sierra Leone

El Salvador

Fiji

Singapore

Gambia

Solomon Islands

Nauru

Spain

New Zealand

Sudan

Swaziland

Nicaragua

Nigeria

South Africa

Kenya

Ghana

Tanzania, United Republic of

Tonga

Guyana

Trinidad and Tobago

Uganda

Palau

Uruguay

Venezuela

Ireland

Grenada

Guatemala

United Kingdom

Zimbabwe

 

"Cheap Web Space": Affordable web space, cheap web server, low-cost webserver, low-price web servers: fast web server / small web server (cheap web space). Web server for private homepages / small website projects.

 in the United States (Chicago, IL): 1 (815) 526-7037 •  GmbH, Sensburger Allee 27, D-14055 Berlin (Germany)
Your purchase is tax-free, because you order from a non-EU country. © 2024  GmbH. All rights reserved. and the logo are registered trademarks of GmbH. For photo credits see imprint.

Imprint Privacy policy Sitemap