Re: qmail-pop3d alternative needed ASAP.

2001-11-28 Thread Philip Wall



On 28 Nov 01, at 13:55, Steve Fulton wrote:

 At 13:34 28/11/2001, Ken Jones wrote:
 
 I saw this once with an ISP.
 They traced it down to some networking router configurations.
 I never found out the details tho.
 
That was my initial thought to, and the clients do use a proxy to dial 
 into us  pick up their e-mail.  But after a lot of work, I do not believe 
 that's the issue here.  I've got a theory, but I won't speculate publicly 
 until I'm positive.  Oh, I don't believe its related to Vpopmail ;)
 

I've had this happen with a few dialup clients before using fetchmail. 
Their ISPs routers where overloaded and dropping packets and tcp 
streams randomly. It was only usually noticable on large 
downloads, say over 100k.
The fix was to wait for off peak hours to relax the load on the 
routers but in the mean time it was possible to switch them to 
IMAP retrieval with fetchmail and tell it to only fetch mail of a 
certain size or smaller.

Phil Wall



RE: Problems with vpopmail and courier-imap

2001-11-21 Thread Philip Wall



On 21 Nov 01, at 1:36, Dan Serban wrote:

 The message could not be sent because one of the recipients was rejected by
 the server. The rejected e-mail address was '[EMAIL PROTECTED]'. Subject
 'This is another test', Account: 'hamletbuildings.com', Server:
 'hamletbuildings.com', Protocol: SMTP, Server Response: '553 sorry, that
 domain isn't in my list of allowed rcpthosts (#5.7.1)', Port: 25,
 Secure(SSL): No, Server Error: 553, Error Number: 0x800CCC79
 
Is shaw.ca a domain on the machine? And are you sending mail 
from an IP listed in the cdb file? If both of these are no then the 
denial from qmail is correct.
The rcpthosts file lists domains on the machine it should accept 
mail for, unless the enviroment variable RELAYCLIENT is set, if it 
is then rcpthosts is ignored.

 If I'm not mistaken, vpopmail's supposed to handle this somehow?  I tried
 sending the e-mail to [EMAIL PROTECTED] from [EMAIL PROTECTED]
 which is the virtual domain on the machine I'm playing with.  The above
 mentioned qmail-smtpd/run script points to /etc/tcp.smtp.cdb, does anyone
 know where vpopmail creates this cdb file it's touted to make?  I also find
 it kind of weird that qmail is rejecting a destination domain.

Vpopmail if I remember right creates it's file in ~vpopmail/etc but 
only after a successful pop3 access. You have to pop3 then the file 
will probably show up. I don't think it will be created if you come in 
via IMAP. Courier might have some features to do similar things.

If you're are still having problems with the chdir errors check that 
the /var/qmail/users/assign file is present and what it's contents 
are. Thats the file qmail uses to decide where to deliver the virtual 
mail under vpopmail.
It could also be a permission issue ~vpopmail should be 755, bin 
etc and domains should be 755 as well. domains might not need to 
be but it can't hurt I think.
You also, in case the docs wheren't clear, need to do a standard 
vadddomain on your default-domain. The configure option is only 
used during authencation.

Phil Wall



Re: vpopmail with PHP

2001-11-12 Thread Philip Wall

On 12 Nov 01, at 16:03, [EMAIL PROTECTED] wrote:


 If you are doing this with PHP as an apache module, suexec doesn't
 matter.  PHP will run out of any directory under DocumentRoot, and if
 the server runs as 
 
 User vpopmail
 Group vchkpw
 
 you can exec _any_ of the commands in ~vpopmail/bin including
 vadddomain and vdeldomain.  Be careful!  

 You can run the commands but keep in mind vadddomain and 
vdeldomain will segfault if not ran as root. Reason being the 
vpopmail user can't write the required qmail files rcpthosts, 
virtualdomains and so on. You might be able to chown those files 
but I'm not sure how qmail would react to that.
 vdeldomain and vadddomain should be corrected to not segfault 
but instead give a proper error message when it can't write files.

Phil Wall
 



Re: slightly OT - qmail scanner

2001-10-18 Thread Philip Wall

Been using it and Sohpos for over a year now and it's a hell of a 
combo.
The only killer with qmail-scanner is it's use of suidperl, on most 
systems you have to rebuild perl and have it fake SUID support, 
atleast on Slackware boxes.
One nice feature is you can set qmail-scanner to deny based on 
file extension and don't even need a Virus Scanner then. Set it to 
deny .com .exe .pif .bat and you'll catch +80% of all virus 
attachments.
Feature I wish it had would be to let the mail through minus the 
attachment.

Phil

On 18 Oct 01, at 13:23, duncan wrote:

 Has anyone use qmail scanner with vpopmail?
 
 Can anyone make any statements to qmail scanner and its performance or 
 reliability?
 
 what virus scanner do you use with it?
 
 Im thinking about using it.
 
 thx
 duncan
 





Re: Assistance

2001-09-27 Thread Philip Wall

I'm gonna run down a list of things. I've never used Roaming user 
support but so far everyone says it works. Gonna start with some 
simple troubleshooting because you haven't listed what you have 
and haven't done.
1. Simplify. Get rid of everything, all the rbl stuff Qmail-Scanner 
auth-smtpd, ditch it for now. First order of business is to make sure 
the basics work. Once the basics work you can add in stages from 
there.
2. Did you during configure of vpopmail --enable-roaming-users=y ? 
The FAQ has a typo of some sort it says to use the path to 
vpopmails home in tcpserver but later on it says that it updates the 
one in /etc.
Simple test for that is to login via pop from a remote location and 
see if it updated either /etc/tcp.smtp.cdb or 
~vpopmail/etc/tcp.smtp.cdb. Can also check for this file 
~vpopmail/etc/open-smtp don't forget to run clearopensmtp once an 
hour atleast to flush the files.
3. To use Qmail-Scanner did you apply the qmail-queue patch to a 
clean Qmail 1.03 source tree? If you did the default install of qmail-
scanner it should have debugging turned on and be creating a 
logfile in /var/spool/qmailscan. The file in there will tell you if it's 
scanning mail.

Phil




Re: R: courier wants -lvpopmail

2001-09-10 Thread Philip Wall

You can always use the --disable-root-check when running 
configure for Courier Imap.
I never understood why Mr. Sam doesn't like to configure and 
compile as root, it has to be installed as root and started as root.

Philip Wall 



RE: Segmentation fault (core dumped)

2001-08-08 Thread Philip Wall

Ken,
 I think it has to be run as root. Especially if it modifies any qmail 
files. If it doesn't touch qmail files then you should be able to run it 
as vpopmail.
 Is there anyway to put in a check to make sure it's running as root 
when the program has to touch qmail files? Would beat seeing seg 
fault errors. :)

Phil

On 8 Aug 01, at 12:56, Ken Jones wrote:

 What is worse? running vadduser as root or as the owner
 of the domain or something else?
 
 Ken Jones




Re: vpopmail login problem

2001-07-10 Thread Philip Wall

To me it sounds like qmail-pop3d isn't running at all, so try these 
steps.
killall qmail-send
netstat -atp | grep pop3
See what program has the pop3 port open, I'm assuming inetd, edit 
/etc/inetd.conf comment out all lines starting with pop3.
killall -HUP inetd
run your qmail startup
If no errors telnet localhost pop3
see if you get atleast a hello from it.
If you get any errors, go through your startup script trying each 
individual command  to find what isn't starting, qmail-smtpd if 
running will throw unable to bind errors when you try to restart it, it 
will throw these same errors if another program has the smtp port 
open, netstat -atp, will show you ports are open by what program.

Phil

   - Original Message -
   From: celano [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Tuesday, July 10, 2001 10:27 AM
   Subject: vpopmail login problem
   
   
  
   Hi
   I've just installed qmail, sqwebmail, vpopmail, following the install
   instruction.
  
   I've added the startup line for vchkpw and qmail-pop3d into my qmail
   script.
  
   It seems to work ok through the web with sqwebmail, but when I try to
   start
   qmail, qmail start i get:
  
   tcpserver: fatal: unable to bind: address already used
   qmail-send: up (pid 376) 975 seconds
   qmail-smtpd: up (pid 373) 975 seconds
   qmail-send/log: up (pid 28679) 0 seconds
   qmail-smtpd/log: up (pid 28678) 0 seconds
  
  
   Also I am not able to check e-mail via outlook for istance.
  
   Is there a problem with supervise?
  
   Thanks
   Nicola
  
  
  -- 
  Dushyanth Harinath
  Archean Infotech Limited
  Ph No:091-040-3228666,6570704,3228674
  http://www.archeanit.com
  
  
  
 
 
 





Re: compiling vpopmail

2001-07-07 Thread Philip Wall

Make sure all the devel packages are installed. You'll need them to 
compile anything on Redhat.

Philip Wall

On 8 Jul 01, at 0:26, Sean P. Scanlon wrote:

 
 On Sun, 8 Jul 2001, Jun Armirola wrote:
  Now, I'm trying to compile vpopmail-4.10.9 on a RH Linux 7.1 box but I get
  the ff. errors:
 
  checking for working makeinfo... missing
  checking host system type... i686-unknown-linux
  checking for gcc... gcc
  checking whether the C compiler (gcc   ) works... no
  configure: error: installation or configuration problem: C compiler cannot
  create executables.
 
 what are your configure options?
 
 check the end of config.log in the vpopmail src directory. this may give
 you some more verbose info of whats wrong (if anything)  with your C
 compiler.
 
 HTH,
 -- 
 -
 Sean P. Scanlon
 perl -e 'print pack(h*, 3707370426c6575646f647e2e65647), \n'
 -
 





Re: hacked, need help restoring

2001-07-06 Thread Philip Wall

I had a problem that dogged me for days, everytime I added a 
domain it would segfault.
Took me forever to figure out that vadddomain must be run as root. 
My sefault was occuring when it went to write the Qmail files in 
/var/qmail/control and /var/qmail/users. If it's writing the vpopmail 
domain directories but not writing qmail files make sure your root 
and the control files are not 444 and they exist.

Philip Wall

On 6 Jul 01, at 17:42, KEnet Webmaster wrote:

 
  Y'know, it feels like the back of my brain knows what that's about, but
  I can't quite catch sight of it for you. :(  Almost has to be that when
  you redid the server, you left out some recently updated lib file or
  other; ya think...?  You're saying you installed...just like I had the
  first time -- does that mean you did a complete re-configure and
  re-make...?  Or something else?
 
 
 When I re-did the server, everything was re-installed from scracth
 ./configure make make install-strip
 
 But for some reason, I have the seg fault when I try to add a domain.
 
 Core dump does not give any helpful information either.
 
 





Re: virus scanning

2001-07-02 Thread Philip Wall

My company has used Qmail-Scanner and Sophos for the last 8 
months in production. Works like a charm.
I do have a perl script I use to grab the IDE updates from their 
website twice a week if anyone is interested.

Philip Wall

On 2 Jul 01, at 11:52, Ed Henderson wrote:

 Does anyone have any experience with virus scanning emails?  I am looking at Amavis 
vs. Qmail-scanner (formerly scan4virus) with Sophos SAV sweep.  Any experience with 
either?  Any thing to watch for with vpopmail?  
 
 Any help is much appreciated!
 Ed.
 





Re: virus scanning

2001-07-02 Thread Philip Wall

I received several requests to post the perl script I use to update 
Sophos IDE files. Runs as a cron job on my system twice a week 
at 4 am.
Requires Perl, LWP and Qmail
Read the comments in the script before running it please.

Philip Wall



The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any another MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

    File information ---
 File:  vupdate.pl
 Date:  2 Jul 2001, 16:12
 Size:  1084 bytes.
 Type:  Unix-text

 vupdate.pl


Re: Slackware instalation (fwd)

2001-06-25 Thread Philip Wall

In Slackware descrypt.tgz should be on the distrubution CD or 
available from ftp.slackware.com in the 7.1 directory.
To install it just run installpkg descrypt.tgz then run ldconfig.
In the vpopmail source you should then run make distclean and 
then run configure again.

Philip Wall

On 25 Jun 01, at 17:03, Cecilia Cabrera wrote:

 
 
 Helo, i'm trying to install vpopmail in Slackware.7.1, and i need to add
 the descrypt.tgz software, wich must be added in the GNU C library, but it
 keeps telling me the following:
  
 Makefile:26: ../Makeconfig: No such file or directory Makefile:30:
 ../Rules: No such file or directory make: *** No rule to make target
 `../Rules'.  Stop.
  
 i've looked but the only Rules i found has nothing to do with this. Has
 anyone already installed it in a Slackware configuration and had this
 problem? How can i solve it?
  
 Thanks in advance,
  
 Cecilia Cabrera   
 
 





Re: poping of e-mail from qmail/vpopmail

2001-06-21 Thread Philip Wall

 You appear to have all the logging system stuff turned on. Do you 
have any log output? Do you show the attempt in the log of that 
user to login?
 Are you using Qmail's pop3d? Is it running from Inetd? Did you 
SIGHUP Inetd? If tcpserver did you stop and restart the tcpserver 
process? Are you using full paths, vchkpw doesn't install in a 
normal place. Did you tell it to use vchkpw to check passwords.
 Can you try a standard system account to get mail? You don't 
need the domain for that just username and password. I am 
assuming you created the domain and user with vadddomain and 
vadduser, vadddomain test.com; vadduser [EMAIL PROTECTED]
 Have you hit your caffeine and pizza qouta for the day? j/k :)

Philip Wall

On 20 Jun 01, at 21:44, alexus wrote:

 ./configure --enable-mysql=y --enable-sqllibdir=/usr/local/mysql/lib/mysql -
 -enable-sqlincdir=/usr/local/mysql/include/mysql --enable-large-site=y --ena
 ble-logging=y --enable-auth-logging=y --enable-roaming-users=y --enable-rela
 y-clear-minutes=20
 
 - Original Message -
 From: Justin Heesemann [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, June 20, 2001 7:09 PM
 Subject: Re: poping of e-mail from qmail/vpopmail
 
 
  Hi..
  could you provide us with some more information ? how did you compile
  vpopmail ?
  using mysql auth ? cdb auth ??
 
 
   i'm triyng to use pop3 to retrive my e-mail and here is what i'm geting
 
   alexus@~# telnet 0 110
   Trying 0.0.0.0...
   Connected to 0.
   Escape character is '^]'.
   +OK [EMAIL PROTECTED]
   USER test%bigballz.com
   +OK
   PASS t
   -ERR authorization failed
   Connection closed by foreign host.
   alexus@~#
 
   any ideas?
 
   _/_/   _/ _/_/_/   _/ _/   _/ _/  _/_/_/
 _/  _/  _/_/_/  _/ _/   _/ _/ _/_/
   _/_/ _/_/  _/  _/_/ _/ _/
  _/_/ _/_/_/_/   _/_/ _/ _/  _/_/_/
 _/_/_/_/ _/_/  _/  _/_/ _/   _/
_/_/ _/ _/ _/ _/  _/ _/  _/ _/ _/_/
   _/_/ _/_/_/_/_/_/_/   _/  _/   _/_/_/   _/_/_/
 
  (W)orld(W)ide(W)eb: http://box.nexgen.com/
 (I)nternet(R)elay(C)hat: EFnet #aLeXuS
 
 
 
 





Re: [vchkpw] sqwebmail cannot log in

2001-06-21 Thread Philip Wall

 You need to also tell it where the MySQL includes are. Easier to 
edit the Makefile than to specify env settings, atleast it is for me.
 A double password might be some spurious entries in the 
database or a leftover entry in the login cache.

Philip Wall

On 21 Jun 01, at 14:24, Daniel Pook Ngai Lin wrote:

 
 my settings are:
 
 vpopmail
 ./configure --enable-hardquota=1000 --enable-mysql=y --enable-logging=y 
 --enable-roaming-users=y
 
 sqwebmail
 env LIBS=-R/usr/lib/mysql -lmysqlclient -lz
 ./configure \
   --with-htmllibdir=/usr/local/apache/htdocs/webmail \
   --enable-cgibindir=/usr/local/apache/cgi-bin \
   --enable-imagedir=/usr/local/apache/htdocs/webmail/icons \
   --enable-imageurl=/usr/local/apache/htdocs/images/sqwebmail \
   --enable-mimecharset=gb2312 \
   --without-authmysql \
   --with-authvchkpw \
 
 gcc  -I/export/home/vpopmail/include -g -O2 -Wall -I.. -I./.. -L/export/home
 /vpopmail/lib  -o authvchkpw  modauthvchkpw.o lib
 authmod.a libauth.a ../md5/libmd5.a
 ../sha1/libsha1.a -lvpopmail  -lm -lcrypt
 /export/home/vpopmail/lib/libvpopmail.a(vauth.o): In function `vauth_open':
 /export/home/danielpook/vpopmail-4.9.10/vauth.c:70: undefined reference to
 `mysql_init'
 /export/home/danielpook/vpopmail-4.9.10/vauth.c:72: undefined reference to
 `mysql_real_connect'
 /export/home/danielpook/vpopmail-4.9.10/vauth.c:74: undefined reference to
 `mysql_real_connect'
 /export/home/danielpook/vpopmail-4.9.10/vauth.c:81: undefined reference to
 `mysql_query'
 /export/home/danielpook/vpopmail-4.9.10/vauth.c:86: undefined reference to
 `mysql_store_result'
 .
 
 
 Error
 :-(
 
 
 
 
 - Original Message -
 From: Kieran Barnes [EMAIL PROTECTED]
 To: 'Daniel Pook Ngai Lin' [EMAIL PROTECTED]
 Cc: Vchkpw Mailing List (E-mail) [EMAIL PROTECTED]
 Sent: Wednesday, June 20, 2001 4:14 PM
 Subject: RE: [vchkpw] sqwebmail cannot log in
 
 
  Might be an obvious question, but did you compile in authvchkpw support
 into
  sqwebmail, did you activate that module and delete the rest?
 
  I am not over familiar with vpopmail. Read the INSTALL file, then read it
  again, its quite heavy stuff
 
  --
  Regards,
 
  Kieran Barnes
  Signum 1226 Ltd
  Visit our website at http://www.1226.net
  Phone: 01772 622889 || Fax: 01772 622558
 
 
   -Original Message-
   From: Daniel Pook Ngai Lin [mailto:[EMAIL PROTECTED]]
   Sent: 20 June 2001 03:22
   Cc: [EMAIL PROTECTED]
   Subject: [vchkpw] sqwebmail cannot log in
  
  
   Hi,
  
   I have problem logging in sqwebmail with the following versions:
  
   mysql-3.23.39
   ezmlm-0.53
   qmail-1.03
   vpopmail-4.9.10
   daemontools-0.70
   autorespond-1.0.0
   qmailadmin-0.45
   sqwebmail-2.1.1
  
   Add domain and users effectively reflected in vpopmail
   directory and mysql
   vpopmail table.  however i always hit INVALID USERID OR
   PASSWORD error.
   Another sympthon is that Postmaster account in my qmailadmin
   module able to
   log in using 2 passwords ( 1 is subset of the other), strange
   behaviour...
  
   Any clue?
  
   Thanks!!
  
   - Original Message -
   From: Dushyanth Harinath [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Cc: [EMAIL PROTECTED]
   Sent: Tuesday, June 19, 2001 9:08 PM
   Subject: Re: vpopmail authentication under courier-imap.
  
  
hi,
   
 My webmail - squirrelmail - is having problems during
   authentication if
 I  enter a wrong password.
   
Thats obvious ...
BTW ...r u able to access ur mailbox with the correct password
   
After some researching I figured out that
 courier-imap is just closing the connection without the
   expected NO
 answer.  After talking to Mr. Sam he suggested me to ask
   here in this
 list for help  as I use only vpopmail authentication under
 courier-imap.

 Versions:

 courier-imap: 1.3.8.1
 vpopmail: 4.9.10
 qmail: 1.03
   
I have exactly the same setup but diff version though...and
   i havent faced
any problems so far...
   
Can u post some more info likeerror messages ,logs etc.
   
regards
dushyanth
--
As we enjoy great advantages from the inventions of
others, we should be glad of an opportunity to serve others by any
invention of ours; and this we should do freely and generously.
 -- Benjamin Franklin
   
Dushyanth Harinath
Archean Infotech Limited
Ph No:091-040-3228666,6570704,3228674
http://www.archeanit.com
   
   
   
   
  
 
 





Re: Aliasing Errors

2001-06-18 Thread Philip Wall

 I've seen this a couple times before, usually only happens with 
bounced mail. From my understanding the receiving machine isn't 
totally RFC compliant, Qmail when it bounces a mail uses the 
From address of something like /\.\/ or some other crazy 
address, the receiving server is supposed to accept that but some 
odd NT mailservers don't, such as imail I think it is.
 There isn't a standard for Receipt notification. Most true inet 
mailers won't support Delivery Notification, others such as 
Exchange only support it internally if the sending client is Outlook 
and the receiving client is Outlook and the message hasn't left the 
server to the internet. Read Notification is a function of the Mail 
Reader, some do it some don't.

Philip Wall

On 19 Jun 01, at 1:28, Daniel Hardaker wrote:

 Ive been in a long discussion with Virgin Internet about one of their
 mail servers not accepting mail with the bounce message below. 
 
 Im sending this hoping im not missing anything and the fault is not with
 vpopmail as the address is sent as an alias (from mysql table).  So,
 from the error below is there any possibility that vpopmail is rewriting
 the addresses or headers or something incorrectly?
 
 Im sure it isnt, the receiving server is Intermail which I have had
 similar problems with relaying to before.  Any help would be
 appreciated!
 
 (And also, a user is asking me why my mail server doesnt support
 delivery receipts?  Im assuming they are something made up by microsoft
 that qmail doesnt use?)
 
 Hi. This is the qmail-send program at server.
 I tried to deliver a bounce message to this address, but the bounce
 bounced!
 
 [EMAIL PROTECTED]:
 206.29.192.146 does not like recipient.
 Remote host said: 553 Request not completed, mailbox name not allowed
 Giving up on 206.29.192.146.
 





Re: LDAP Errors, compile warnings and Assertions

2001-06-04 Thread Philip Wall

Hi Ken,
 I did manage to get it to compile with LDAP 2.0.7 now. With a configure
like of 
./configure --enable-sqwebmail-pass=y --enable-logging=y
--enable-passwd=n --enable-ldap=y

I am still getting these warnings during compile
vauth.c: In function `vauth_getpw':
vauth.c:79: warning: too many arguments for format
vauth.c: In function `vauth_getall':
vauth.c:306: warning: too many arguments for format
vauth.c: In function `vauth_adddomain':
vauth.c:557: warning: too many arguments for format
vauth.c: In function `vauth_deldomain':
vauth.c:602: warning: too many arguments for format

But it does compile and install and when I run vadddomain it's not
throwing assertions but instead is
throwing this error

root@test2:/home/vpopmail/bin# ./vadddomain test.com
Please enter password for postmaster:
enter password again:
Error: Unable to chdir to vpopmail/users directory

Not real sure what that means but I'm open for suggestions. :)

The LDAP server is show these errors when I run it as slapd -d 256
This is a domain delete:
daemon: conn=0 fd=9 connection from IP=127.0.0.1:1367 (IP=0.0.0.0:389)
accepted.
conn=0 op=0 BIND dn=CN=MANAGER,DC=ALTAMENTE,DC=COM method=128
ber_flush: 14 bytes to sd 9
conn=0 op=0 RESULT tag=97 err=0 text=
deferring operation
conn=0 op=1 SRCH base=dc=altamente, dc=com scope=2
filter=(objectClass=qmailU
ser)
ber_flush: 14 bytes to sd 9
conn=0 op=1 SEARCH RESULT tag=101 err=0 text=
conn=0 op=2 DEL dn=dc=altamente, dc=com
ber_flush: 42 bytes to sd 9
conn=0 op=2 RESULT tag=107 err=66 text=subtree delete not supported
conn=0 op=3 UNBIND
conn=-1 fd=9 closed

This is a domain add:
ber_flush: 14 bytes to sd 9
conn=1 op=0 RESULT tag=97 err=0 text=
deferring operation
conn=1 op=1 ADD dn=DC=ALTAMENTE,DC=COM
ber_flush: 14 bytes to sd 9
conn=1 op=1 RESULT tag=105 err=68 text=
conn=1 op=2 SRCH base=dc=altamente, dc=com scope=2
filter=((objectClass=qmai
lUser)(uid=postmaster))
ber_flush: 14 bytes to sd 9
conn=1 op=2 SEARCH RESULT tag=101 err=0 text=
conn=1 op=3 SRCH base=dc=altamente, dc=com scope=2
filter=((objectClass=qmai
lUser)(uid=postmaster))
ber_flush: 14 bytes to sd 9
conn=1 op=4 ADD dn=UID=POSTMASTER,DC=ALTAMENTE,DC=COM
ber_flush: 38 bytes to sd 9
conn=1 op=4 RESULT tag=105 err=17 text=attribute type undefined
conn=1 op=5 UNBIND
conn=1 op=3 SEARCH RESULT tag=101 err=0 text=
conn=-1 fd=9 closed

Hope this helps to get it all going again. I'm not any sort of a
programmer but I can run commands
and pass on data dumps.

Philip Wall

Ken Jones wrote:
 
 Hi Philip,
 
 I just posted a new development release that compiles with the
 latest stable ldap release 2.0.11. I was able to get it to
 compile correctly but I did not test it running since I do
 not know how to setup the ldap server :)
 
 Here is the link to download it directly.
 http://www.inter7.com/vpopmail/vpopmail-4.10.11.tar.gz
 
 Please let me know if it works for you.
 
 What would really be handy is if you or some ldap folks
 could write a README.ldap that we could include in the
 release. With a step by step walk through of how to
 get an ldap server running correctly with vpopmail.
 Starting with compiling the ldap code to running the
 first vadddomain.
 
 Ken Jones
 
 Philip Wall writes:
 
  I have been trying to get Vpopmail to work with LDAP. I've tried
  OpenLDAP 2.0.9 and I get several errors when compiling Vpopmail.
  I then switched back to OpenLDAP 1.2.11. Vpopmail then compiles with the
  following warnings.
 
  gcc -I. -I/usr/local/include  -g -O2 -Wall -c vauth.c
  vauth.c: In function `vauth_getpw':
  vauth.c:79: warning: too many arguments for format
  vauth.c: In function `vauth_getall':
  vauth.c:306: warning: too many arguments for format
  vauth.c: In function `vauth_adddomain':
  vauth.c:557: warning: too many arguments for format
  vauth.c: In function `vauth_deldomain':
  vauth.c:604: warning: too many arguments for format
 
  I get the same warnings with Vpopmail 4.9.10 and Vpopmail 4.10.7.
  This is using a basic configure line of ./configure --enable-ldap=y
 
  Once I compile with the above warnings I install it and run vadddomain
  test.com, it produces the following error after I enter the password for
  postmaster,
  vadddomain: sockbuf.c:383: ber_int_sb_write: Assertion `sb-sb_iod !=
  ((void *)0
  )' failed.
  Aborted
 
  It does create the test.com directory in the domains directory but
  authencation fails.
  vdeldomain fails with the above error as well.
  So to me it appears LDAP auth is broke. Is there a maintainer for the
  LDAP code or someone
  that knows enough about it and C to be able to help me make the thing
  work?
 
  Philip Wall




LDAP compile warnings and Assertions

2001-05-23 Thread Philip Wall

I have been trying to get Vpopmail to work with LDAP. I've tried
OpenLDAP 2.0.9 and I get several errors when compiling Vpopmail.
I then switched back to OpenLDAP 1.2.11. Vpopmail then compiles with the
following warnings.

gcc -I. -I/usr/local/include  -g -O2 -Wall -c vauth.c
vauth.c: In function `vauth_getpw':
vauth.c:79: warning: too many arguments for format
vauth.c: In function `vauth_getall':
vauth.c:306: warning: too many arguments for format
vauth.c: In function `vauth_adddomain':
vauth.c:557: warning: too many arguments for format
vauth.c: In function `vauth_deldomain':
vauth.c:604: warning: too many arguments for format

I get the same warnings with Vpopmail 4.9.10 and Vpopmail 4.10.7.
This is using a basic configure line of ./configure --enable-ldap=y

Once I compile with the above warnings I install it and run vadddomain
test.com, it produces the following error after I enter the password for
postmaster,
vadddomain: sockbuf.c:383: ber_int_sb_write: Assertion `sb-sb_iod !=
((void *)0
)' failed.
Aborted

It does create the test.com directory in the domains directory but
authencation fails.
vdeldomain fails with the above error as well.
So to me it appears LDAP auth is broke. Can we expect it to be fixed
anytime soon?

Philip Wall



vdelivermail not really delivering

2001-05-03 Thread Philip Wall

I have been using Qmail and Vpopmail for awhile now. Just a 
couple of days ago I added a new domain under vpopmail and all of 
the sudden my deliveries have stopped for any domain except that 
one I just added.
The mail log says it's being delivered but no files are showing up in 
any of the Maildirs and no bounces are being sent if I send to a non 
existant user. It looks like it is just silently dropping them into 
/dev/null.
Nothing as far as I can tell has changed. I did notice the top .dir-
control file still has the time stamp from the last domain I added in 
feb.
Through testing I found that if I add a .qmail-phil and put in the path 
to the Maildir the mail will be delivered but if I use the standard line 
from .qmail-default, the vdelivermail line,  the log says it was 
delivered but no files ever show up.

Vpopmail version is 4.9.8
OS is linux 2.2

Anyone have any idea what is going on?

Philip Wall