On Fri, 5 Oct 2001 11:20:10 +0100, Tim Sellar wrote:

>The virtual mail implementation only uses sendmail to a limited extent. The
>only addition made to sendmail configuration files is a new line for each
>virtual domain  created in the file /etc/mail/mailertable. All mail matching
>domains listed in this mailertable file are redirected to procmail (in
>mail-filter mode) and passed through a batch of procmail recipes specific to
>each domain. This way domain specific filtering/forwarding/autoresponding
>can be carried out for mail users who are not actually listed in /etc/passwd
>(virtual users). If you try and handle virtual users in sendmail, it spits
>them out instantly when it cannot find a relevant entry in /etc/passwd...
>
>Given the steps you outline you should be able to send mail from admin to
>[EMAIL PROTECTED] and by checking files such as /var/log/maillog,
>/var/log/pm.log and /var/spool/virtual/virtualdomain3.net/tomas see the
>message make its way safely to the final virtualised mailbox...
>
>If you cannot, let me know the errors you are seeing in the files I have
>listed.
>
>Tim


PMFJI, but I have also just struck trouble with virtual mail to virtual domains.
This is using freevsd 1.4.9-2, a self-generated skel from the RH6.2 host, and
the 1.4.9-2 package of rpm's added. Everything goes well most of the way, ie 
I created a new virtual server, created 3 test domains on it, created and enabled 
users for these as per the docs. Testing by bevs'ing to the new VS and 
sending mail, as per the docs, worked.

Problems:
1/  Can't collect mail using a normal mail client, as the 
/etc/virtual/domain.net/passwd
file is thought to be .../domain/.. by vm-pop3d, ie without the .net suffix, and so 
...passwd "does not exist". Creating a symlink works as a "hackish" solution. 

Also, there needs to be a symlink, for the same reason, on 
/var/spool/virtual/domain.net -> domain

2/ Sendmail thinks that the virtual users don't exist, despite vuser_list showing that 
they
do and sending test mail from within the VS arriving where is should.

3/ Procmail, after the "unknown user" msg, returns this mail to admin@the_new_VS, 
rather
than admin@the_sending_domain.

These are the first real problems I've had with freevsd - generally it works well
and I should congratulate those responsible for it.

Cheers
Lyn St George


------------------------- The freeVSD Support List --------------------------
Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
Archives:    http://freevsd.org/support/mail-archives/freevsd-support
-----------------------------------------------------------------------------

Reply via email to