Help - Search - Members - Calendar
Full Version: MailScanner & PRO BASIC Email Problems map site1_a not found (TEMP Fix)
The Planet Forums > System Administration > HOWTOs
tyrnight
I dont know if Ensim is gonna fix this or not.. but ONLY in the Pro Basic version of the software does this problem seem to come up.

And I use Mail Scanner

I had problems as well with the stupid "unknown user" rewrite map error, { SYSERR(root): rewrite: map site1_a not found}
and found that the sendmail.cf wasnt maping to the aliases of each domain... so I had to add these lines to make it work.

so if you get this in your /var/log/mailog

" SYSERR(root): rewrite: map site1_a not found"

or something like that (the #'s change for each site)

do this:

make a backup of your sendmail.cf ALWAYS

cp /etc/sendmail.cf /etc/sendmail.cf.old

pico /etc/sendmail.cf
CTRL-W
SENDMAIL_ADD_MAPS BEGIN

# SENDMAIL_ADD_MAPS BEGIN
Ksite1_a hash -o -m /home/virtual/site1/fst/etc/aliases.db
Ksite1_u text -o -m -z: /home/virtual/site1/fst/etc/passwd
Ksite2_a hash -o -m /home/virtual/site2/fst/etc/aliases.db
Ksite2_u text -o -m -z: /home/virtual/site2/fst/etc/passwd
.... and so forth
# SENDMAIL_ADD_MAPS END

all the way up to the last # of the last website in teh system..

CTRL-X to save

and you may restart MailScanner

service MailScanner restart

But you may want to restart the server to make it re-hash the sendmail.cf file on its own..


I know this SUX but its the only fix I could come up with.
I just hope that Ensim will fix it soon

I hold NO resposibillity for any mistake you may make.. by using the quick fix
trillback
i noticed if i just restart sendmail the problem will go away.
then

killall sendmail

service MailScanner stop then start
tyrnight
this is true.. but if you add a new site or remove a site, it will not update.. unless you add the addition to the MailScanner init file.. which will check for updates on a regular bases for site changes..


doing the above mentioned fix will make sure you do not have to constantly change teh sendmail.cf manually
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.