Koozali.org: home of the SME Server

backup mx

Holger

backup mx
« on: February 23, 2003, 06:08:19 PM »
I want to setup a a backup mail relay for a friend which means:
1 - I have to allow relaying to his domain
2 - I have to have a loong timeout for mail to him - 1 week or something
3 - He has to set up a secondary MX record

The first part I think is solved like this - please confirm:

cd /etc/e-smith/templates-custom/
mkdir -p etc/tcprules/tcp.smtp
cd etc/tcprules/tcp.smtp

# Add a line like this and save the file:

echo :allow > 85AllowMyFriendsDomain


/sbin/e-smith/expand-template /etc/tcprules/tcp.smtp

# Then

cd /etc/e-smith/templates-custom/
mkdir -p var/qmail/control/rcpthosts
cd var/qmail/control/rcpthosts

# Add a line like this with the domain you want to allow and save the file:

echo myfriend.tld > 85AllowMyFriendsDomain


/sbin/e-smith/expand-template /var/qmail/control/rcpthosts

Ihave no clue how to do the second part - extending the timeout.

The third part is no problem...

I originally posted this question in the general forum but only got back small clues....

Plese help!

Holger

aaron

Re: backup mx
« Reply #1 on: February 24, 2003, 01:28:52 AM »
What version of e-smith are you using?

Holger

Re: backup mx
« Reply #2 on: February 24, 2003, 01:31:22 AM »
Version 5.5
I've been told that 5.5 is the same as 5.6 regarding mail config