[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vps-mail] relay mail to Signature account via a VPS2



Chuck Walker wrote:

How would you do this same thing on a VPS v1 server?

Chuck Walker
cwalker@xxxxxxxxxxxxxx



you will have to modify your sendmail.mc to add the mailertable feature. I think this can be added with this line:

FEATURE(mailertable, `hash -o /etc/mail/mailertable')dnl

in your .mc file

(ie vinstall sendmail, cd ~/usr/local/sendmail/cf/cf, pick the mc file you need like default-auth-only.mc, add the line just after the access_db feature, rebuild it ./Build default-auth-only.mc and do a cp ~/etc/sendmail.cf ~/etc/sendmail.cf.original and to finish cp ./default-auth-only.cf ~/etc/sendmail.cf then test, if you still receive mail then test some more then test that you can send mail, do not forget to use smtp auth, if any trouble revert to the original sendmail.cf)

Do not forget to backup your original sendmail.cf before replacing it with th new one. Also when your mailertable is done you will have to create the db with the command:

cd ~/etc
/usr/sbin/makemap hash mailertable.db < mailertable

the access db is rebuild with "vnewaccess".


best regards,
Ghislain.

ps: i think i found the email i used to subscibe this time :-)
======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).


Main Index | Thread Index
Match: Format: Sort by:
Search: