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

Attention !!! Cant find the right answers.......anyone been here ? Excellent work !!!



I would like to publicly thank

Chuck Mead
Anthony Barratta
Olmy

For there sharp and accurate help, they have displayed a excelent
understanding of RH and the problem I was faced with

Great work guys!!!

The problem all along was because some files were missing ( not installed
during main install for some reason, probably due to advanced nature i
suppose)

After installing the missing sendmail-cf package, and going over all emails
sent to me again from these three Gents

I am happy too say it is all working great


For those interested in multiple domains and virtual hosting, heres the info
including original post


Problem

=================================
Rehat 5  Sendmail 8.8.7 Standard Install

Cannot get machine to accept non local user mail     ie

Have 3 domain names on one machine

want to  get      anymail domain1   and send it to local account
                           bob domain1     and send it to local acc fred
                         amy domain1      and send to   her isp com

then                 anymail domain2        send to   user anotherisp com

then                anymail domain3        send to local user  info


Is this possible?  Do you know what files I should be modding ?

have created virtusertable      nothing else

Have tried all sorts of things

Can send mail OK on the net, have permanent connection and own DNS , all
resolves fine



Machine is set to    say          host.domain3      ,   when trying to send
to non local user, expecting sendmail to read config then place into
appropriate box , but instead always get      User Unknown  error     ,
if send to  existinguser domain3 , all is ok


I need     fakeuser real domain   to go to local user box of my choice

====================================

 Fix

Install sendmail-cf RPM off redhat CD

go to cd /usr/lib/sendmail-cf/cf
 edit redhat.mc      ( according to normal sendmail documentation(i needed
FEATURE(`virtusertable', `dbm /etc/virtusertable')     mainly ))      then
m4 redhat.mc > redhat.cf      (I had to make sure both my sendmail.cf file
and my virtusertable files were deleted first)   then
cat redhat.cf > /etc/sendmail.cf   (creates new sendmail.cf) then
makemap hash /etc/virtusertable < virtusertable  (creates virtusertable.db
file (you must have a virtusertable text file first))
restart sendmail

and viola

all worked


Again my sincere thanks to you all who helped













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