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 > -----Original Message----- > From: Bohdan Spes [mailto:[EMAIL PROTECTED]] > Sent: 04 October 2001 17:05 > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: virtualdomains + bind > > > Hello. > > > > > I installed freevsd-1.4.9-2rh7.i386.rpm with skel > freevsd-skel-1_4_9-2rh62.tar.bz2 on redhat 7.1 Now I am testing > it. Also I > have installed VSDWebAdmin1.4.5.tar.gz. I tried to create virtual domain > this way: > vsdadm vd_add hostone.net vsone virtualdomain3.net 50 50 50 2 > vsdadm vuser_add hostone.net virtualdomain3.net tomas > vsdadm vuser_mbxadd hostone.net virtualdomain3.net tomas tomas > vsdadm vuser_mbxenable hostone.net virtualdomain3.net tomas > vsdadm vuser_dfltadd hostone.net virtualdomain3.net tomas tomas > > In /etc/vsd/vsd.conf I have: > <Domain virtualdomain3.net> > StartUID 1000 > Users 50 > MaxVUser 50 > MaxVMailbox 50 > MaxVMesg 2 > HostingServer vsone > </Domain> > > > Virtual domain is created, but not working. On virtual server vsone in > /etc/virtual/virtualdomain3.net/passwd is created and contain > user tomas and > admin also /var/spool/virtual/virtualdomain3.net/ exists. But no > new line is > added to sendmail.cw, aliases or virtusertables. So it doesn't > work. Could > you explain me how to set it ? > > > Bind problems: > this is from vsd.conf > > <Global> > UIDRange 1000 60000 > UIDAllocChunk 100 > PrimaryNS 10.0.0.5 > SecondaryNS 212.89.232.5 > Skel skel1 > ErrorLog /var/log/vsd.log > BWBurst 0bps > BWLimit 0bps > </Global> > <VirtualServer hostone.net> > IP 10.0.0.5 > StartUID 0 > Users 0 > Status active > Quota 0 > MaxVD 0 <--- this is main hosting server > Skel skel1 > Partition 0 > HostingServer > PrimaryNS 10.0.0.5 > SecondaryNS 212.89.232.5 > </VirtualServer> > <VirtualServer vsthree> > IP 10.0.0.8 > StartUID 1400 > Users 500 > Status active > Quota 600 <--this is virtual server > MaxVD 5 > Skel skel1 > Partition 0 > HostingServer hostone.net > </VirtualServer> > <VirtualServer vsthree> > IP 10.0.0.9 > StartUID 0 > Users 0 > Status active > Quota 5 <-- I dont know what is this > MaxVD 0 > Skel > Partition 0 > HostingServer > </VirtualServer> > > > Bind is running on 10.0.0.5 main hosting server. > > vsdadm vs_create hostone.net vsthree 10.0.0.8 vsthree.net 500 600 5 > vsd-vsbatch.pl > vsdadm bind_addvs hostone.net vsthree 10.0.0.8 5 > > bind_addvs created second time VirtualServer vsthree record in > vsd.conf. But > If I try > vsdadm bind_add hostone.net vsthree a.sk 10.0.0.10 > error: -ERR Cannot determine whether I am primary or secondary > I get error. > > Also when I do : > vsboot --start vsthree > > I get errors > SIOCSIFFLAGS: Cannot assign requested address > SIOCADDRT: No such device > because it tries to set two times same IP address and starts two times > vsfour services. > > It is strange. Could you tell me where is problem ? > > > PS: I am member of mailing list freevsd-support and I got mails > from mailing > list, but this is my 3th try to send mail there. It is never returned as > undeliverable but I don't get copy from mailing list and also I > don't see it > in archive. So I send it also to [EMAIL PROTECTED] I hope I get > answer where > is problem with emails delivery to mailing list. > > Best regards > -- > Bohdan Spes > > ================================ > Webconomy s.r.o. > we provide solutions. > > Laucekova 5, SK-811 04 Bratislava, SLOVAKIA > Tel. +421 2 5465 0691 > > http://www.webconomy.com ------------------------- 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 -----------------------------------------------------------------------------
