How would you do this same thing on a VPS v1 server?
Chuck Walker
cwalker@xxxxxxxxxxxxxx
-----Original Message-----
From: owner-vps-mail@xxxxxxxxxxxx [mailto:owner-vps-mail@xxxxxxxxxxxx]
On
Behalf Of Scott Girard
Sent: Friday, August 27, 2004 10:50 AM
To: vps-mail@xxxxxxxxxxxx
Subject: Fwd: [vps-mail] relay mail to Signature account via a VPS2
Ghislain sent this response to my question about relaying email through
a VPS2 to a Signature account and I wanted to make it available to the
list in case anyone else wanted to follow the thread:
Begin forwarded message:
From: ADNET Ghislain
Date: August 27, 2004 9:46:23 AM EDT
To: Scott Girard <sgirard@xxxxxxxxxx>
Subject: [vps-mail] relay mail to Signature account via a VPS2
you will have to change the access file:
:~# more /etc/mail/access
thisdomain.com RELAY
:~# more /etc/mail/mailertable
thisdomain.com esmtp:[IPAddressSignature]
you should put RELAY for the domain and then tell in the mailertable
file where to relay it. This should work for your case.
Ghislain.
Scott Girard wrote:
Ghislain:
Do I need to run:
hash /etc/mail/mailertable
to create the mailertable.db?
Thanks, Scott
yes,
just do a :
cd /etc/mail
make maps
this should rebuild all your maps including access and mailertable
regs,
Ghislain.
core0:/etc/mail# touch mailertable
core0:/etc/mail# make maps
/usr/sbin/makemap hash mailertable.db < mailertable
chmod 0640 mailertable.db
/usr/sbin/makemap hash virtusertable.db < virtusertable
chmod 0640 virtusertable.db
core0:/etc/mail#