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