procmail
[Top] [All Lists]

Re: Sendmail, Procmail and Virtual Hosting.

2002-07-23 15:26:36
Hello Alan Clifford:

Thank you very much for your prompt response to my post.
You helped me!  Problem solved!  I knew it had to be
something simple but, when you don't know what it is, you
can spend days searching, as I have done, until someone
gives you a clue.

You said:

On Tue, 23 Jul 2002, Humberto Rodriguez wrote:

Its /var/log/messages on my Redhat 6.0

My mistake.  I meant to write /var/log/messages.  It is not
there, though.  I don't know why my system does not generate
this file.


You need to create the data base from the text file.


makemap hash /etc/mail/virtualusertable <
/etc/mail/virtualusertable

I did not get to try this, because I tried the next thing
first and it worked.

On my system, there is a Makefile in /etc/mail.  If you have
this, cd to
/etc/mail and type

make


I do have it and that is exactly what I did. Voila!  It now
works as it should.  I just did not know that this was
there, nor what it was for.

Another possiblity is the /etc/rc.d/init.d/sendmail, which
on my system
makes the maps when sendmail is started.  If you have this
in (look in the
"start" section of /etc/rc.d/init.d/sendmail) you could just
restart
sendmail:

/etc/rc.d/init.d/sendmail restart

I did do this every time I made any change whatsoever.  It
obviously does not generate the virtusertable, though.

(... thinks ... are you starting sendmail when you reboot?)

Yes, it does start sendmail when rebooting.

As you are using sendmail aliases, you need to run
 newaliases as well.  The /etc/rc.d/init.d/sendmail restart
on my system does this as
well.

I do run newaliases every time I make a change to
/etc/aliases.

After that, I'm lost with the virtual hosting stuff.

Alan

You knew exactly what I was lacking.  Like I said, sometimes
it does not take a big thing, only a tip that surely did
save me days of work.  Thank you a whole lot!  I really
appreciate your taking the time to read my problem and
giving me the benefit of your knowledge.

Humberto


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>