Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Holger on February 11, 2003, 11:00:19 PM
-
Hi
Is smtpd different for 5.5 and 5.6 than it was for 5.1.2?
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
Now, I found the answer to the first part in:
http://forums.contribs.org/index.php?topic=4004.msg13819#msg13819
Except it is for 5.1.2 and I have 5.5 (soon 5.6). I could not find the files in question, which leads me to believe that the mechanism has changed.
I can find nothing about the second part.
Third part: no problem.
Any and all help would be appreciated :)
Holger
-
Yes, >=5.5 use mailfront, which is why Nathan's pop-before-smtp no longer works as well...
-
Thanx!
Is it correct that mailfront uses:
/var/qmail/control/rcpthosts
???
And that this is the one I should add my friends domain to? (through templates of course)
How about the second part?
-
Is this correct and sufficient?:
---------------------------------------
cd /etc/e-smith/templates-custom/
mkdir -p etc/tcprules/tcp.smtp
cd etc/tcprules/tcp.smtp
emacs 85AllowMyFriendsDomain
# Add a line like this with the domain you want to allow and save the file:
:allow
/sbin/e-smith/expand-template /var/spool/smtpd/etc/tcprules/tcp.smtp
# Then
cd /etc/e-smith/templates-custom/
mkdir -p var/qmail/control/rcpthosts
cd var/qmail/control/rcpthosts
emacs 85AllowMyFriendsDomain
# Add a line like this with the domain you want to allow and save the file:
myfriend.tld
/sbin/e-smith/expand-template /var/qmail/control/rcpthosts