[vchkpw] maildir++ patch doesn't solve the problem

2003-09-14 Thread o k
I've installed :
qmail-1.03
vpopmail-5.2
I set the quota through vpopmail:
vsetuserquota [EMAIL PROTECTED] 500
But when i retreive messages using pop3 the quota is not updated, I tested 
it using:
vuserinfo [EMAIL PROTECTED]
I found in the vpopmail that there is a patch called qmail-maildir++.patch 
in the contrib directory under the vpopmail source directory to solve the 
problem.
I copied this patch to the qmail source:
cp vpopmail-5.2/contrib/qmail-maildir++.patch qmail-1.03
Then I patched it:
cd qmail-1.03
patch  qmail-maildir++.patch
make
make setup check
Kindly, I need the answer to this problem urgently.
Is there any other advices to let this patch work properly?

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail




[vchkpw] Panda Antivirus + qmail

2003-09-14 Thread Tanmaya Anand



hi all,

I have qmail+vpopmail+sqwebmail on my 
server.
i have downloaded panda antivirus for linux(Which 
is free ;-))
i want that all the mails should be scanned by the 
server.
Also, i want the vpopmail to have an option of 
online scan 
of attachments.

Does any one has similiar experience. Also, if 
anyone knows any 
other antivirus software for linux which is free to 
use  can be updated,
plz do mail me abt the same.

Thanks in advance 
Tanmaya


Re: [vchkpw] Panda Antivirus + qmail

2003-09-14 Thread Tanmaya Anand
hi

Does ClamAV provides updated virus definitions for new viruses?

Regards,
Tanmaya
- Original Message - 
From: Rick Macdougall [EMAIL PROTECTED]
To: Tanmaya Anand [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Sunday, September 14, 2003 9:18 PM
Subject: Re: [vchkpw] Panda Antivirus + qmail


 Hi,

 ClamAV - http://clamav.sourceforge.net/
 Qmail-Scanner - http://qmail-scanner.sourceforge.net/

 Oh and Panda is not free, or at least I do not see a free version on
 their website.

 Regards,

 Rick

 Tanmaya Anand wrote:

  hi all,
 
  I have qmail+vpopmail+sqwebmail on my server.
  i have downloaded panda antivirus for linux(Which is free ;-))
  i want that all the mails should be scanned by the server.
  Also, i want the vpopmail to have an option of online scan
  of attachments.
 
  Does any one has similiar experience. Also, if anyone knows any
  other antivirus software for linux which is free to use  can be
updated,
  plz do mail me abt the same.
 
  Thanks in advance
  Tanmaya







Re: [vchkpw] Panda Antivirus + qmail

2003-09-14 Thread QmailHELP
Yes,
here is the link for the freeware linux version:
http://www.pandasoftware.es/es/linux/linuxdown.asp

Damn, I've just realized it was in spanishif anyone need help with it
click on Acepto el acuerdo de licencia helps :)


- Original Message -
From: Rick Macdougall [EMAIL PROTECTED]
To: Tanmaya Anand [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Sunday, September 14, 2003 5:48 PM
Subject: Re: [vchkpw] Panda Antivirus + qmail


 Hi,

 ClamAV - http://clamav.sourceforge.net/
 Qmail-Scanner - http://qmail-scanner.sourceforge.net/

 Oh and Panda is not free, or at least I do not see a free version on
 their website.

 Regards,

 Rick

 Tanmaya Anand wrote:

  hi all,
 
  I have qmail+vpopmail+sqwebmail on my server.
  i have downloaded panda antivirus for linux(Which is free ;-))
  i want that all the mails should be scanned by the server.
  Also, i want the vpopmail to have an option of online scan
  of attachments.
 
  Does any one has similiar experience. Also, if anyone knows any
  other antivirus software for linux which is free to use  can be
updated,
  plz do mail me abt the same.
 
  Thanks in advance
  Tanmaya







RE: [vchkpw] Panda Antivirus + qmail

2003-09-14 Thread Shane Chrisp
They sure do.

Shane

-Original Message-
From: Tanmaya Anand [mailto:[EMAIL PROTECTED] 
Sent: Monday, 15 September 2003 12:06 AM
To: Rick Macdougall; [EMAIL PROTECTED]
Subject: Re: [vchkpw] Panda Antivirus + qmail


hi

Does ClamAV provides updated virus definitions for new viruses?

Regards,
Tanmaya
- Original Message - 
From: Rick Macdougall [EMAIL PROTECTED]
To: Tanmaya Anand [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Sunday, September 14, 2003 9:18 PM
Subject: Re: [vchkpw] Panda Antivirus + qmail


 Hi,

 ClamAV - http://clamav.sourceforge.net/
 Qmail-Scanner - http://qmail-scanner.sourceforge.net/

 Oh and Panda is not free, or at least I do not see a free version on
 their website.

 Regards,

 Rick

 Tanmaya Anand wrote:

  hi all,
 
  I have qmail+vpopmail+sqwebmail on my server.
  i have downloaded panda antivirus for linux(Which is free ;-))
  i want that all the mails should be scanned by the server.
  Also, i want the vpopmail to have an option of online scan
  of attachments.
 
  Does any one has similiar experience. Also, if anyone knows any
  other antivirus software for linux which is free to use  can be
updated,
  plz do mail me abt the same.
 
  Thanks in advance
  Tanmaya











Re: [vchkpw] Panda Antivirus + qmail

2003-09-14 Thread Trey Nolen
 If anyone is interested...even though this is offtopicthe english link
is here:
http://www.pandasoftware.com/download/linux/linux.asp

Trey

 Yes,
 here is the link for the freeware linux version:
 http://www.pandasoftware.es/es/linux/linuxdown.asp

 Damn, I've just realized it was in spanishif anyone need help with it
 click on Acepto el acuerdo de licencia helps :)


 - Original Message -
 From: Rick Macdougall [EMAIL PROTECTED]
 To: Tanmaya Anand [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Sunday, September 14, 2003 5:48 PM
 Subject: Re: [vchkpw] Panda Antivirus + qmail


  Hi,
 
  ClamAV - http://clamav.sourceforge.net/
  Qmail-Scanner - http://qmail-scanner.sourceforge.net/
 
  Oh and Panda is not free, or at least I do not see a free version on
  their website.
 
  Regards,
 
  Rick
 
  Tanmaya Anand wrote:
 
   hi all,
  
   I have qmail+vpopmail+sqwebmail on my server.
   i have downloaded panda antivirus for linux(Which is free ;-))
   i want that all the mails should be scanned by the server.
   Also, i want the vpopmail to have an option of online scan
   of attachments.
  
   Does any one has similiar experience. Also, if anyone knows any
   other antivirus software for linux which is free to use  can be
 updated,
   plz do mail me abt the same.
  
   Thanks in advance
   Tanmaya
 
 
 








[vchkpw] OT question

2003-09-14 Thread Remo Mattei
Hello guys I want to check if anyone has any suggestions on the mailing list
scenario:

Mailing list 1 ---users  (one mailing list contains users) which all get
emails however if I create a new mailing list and I add it to mailing list 1
the users from the mailing list 2 once I send a message to mailing list 1
they will not get messages. 

Thanks, 


Remo Mattei
Network Security Engineer
cell 801-209-8554
email [EMAIL PROTECTED]

attachment: winmail.dat

[vchkpw] /usr/local/vpopmail/bin/vdelivermail:_permission_denied/ error

2003-09-14 Thread Steve Schofield
rebuilding my FreeBSd server, qmail-1.03 (qmailqueue.patch, smtp.auth
patch),  courier-imap, vpopmail 5.3.27 this shows up in the
/var/log/qmail/current log.  Nothing on the internet I can find showing this
error.  I can authenticate, send mail from the account just can't receive
mail.  Any ideas?

@40003f64fc8c20b709c4 delivery 11: Deferral:
/usr/local/vpopmail/bin/vdelivermail:_permission_denied/
@40003f64fc8c20ba131c status: local 0/10 remote 0/20


steve




[vchkpw] new(?) qmail-smtpd patch

2003-09-14 Thread Charles Sprickman
While looking for info on how to get more logging out of qmail-smtpd (auth
failures), I found this on the qmail mailing list:

http://marc.theaimsgroup.com/?l=qmailw=2r=1s=qmail-smtpd+logging+authq=b

Looks interesting, but of course trying it out requires another round of
patch massaging to make everything play together nicely...

Charles



Re: [vchkpw] new(?) qmail-smtpd patch

2003-09-14 Thread Charles Sprickman
This one's also interesting, it filters bad mime types, without needing
to incur the overhead of a perl-based scanner (ie: qmail-scanner):

http://www.fehcom.de/qmail/qmail.html (scroll to warlord)

This guy's site is worth exploring, lots of neat stuff.

Charles

On Sun, 14 Sep 2003, Charles Sprickman wrote:

 While looking for info on how to get more logging out of qmail-smtpd (auth
 failures), I found this on the qmail mailing list:

 http://marc.theaimsgroup.com/?l=qmailw=2r=1s=qmail-smtpd+logging+authq=b

 Looks interesting, but of course trying it out requires another round of
 patch massaging to make everything play together nicely...

 Charles





Re: [vchkpw] new(?) qmail-smtpd patch

2003-09-14 Thread Oden Eriksson
söndagen den 14 september 2003 22.27 skrev Charles Sprickman:
 This one's also interesting, it filters bad mime types, without needing
 to incur the overhead of a perl-based scanner (ie: qmail-scanner):

 http://www.fehcom.de/qmail/qmail.html (scroll to warlord)

Yeah, I'm using it, very cool.




Re: [vchkpw] new(?) qmail-smtpd patch

2003-09-14 Thread Bill Shupp
On Sunday, September 14, 2003, at 01:24  PM, Charles Sprickman wrote:

While looking for info on how to get more logging out of qmail-smtpd 
(auth
failures),
vchkpw compiled with --enable-logging=v, will show success smtp logins, 
as well as failures with the attempted password.  You'll need the dev 
version, though.  Very useful.

Regards,

Bill Shupp




Re: [vchkpw] new(?) qmail-smtpd patch

2003-09-14 Thread Charles Sprickman
On Sun, 14 Sep 2003, Bill Shupp wrote:

 On Sunday, September 14, 2003, at 01:24  PM, Charles Sprickman wrote:

  While looking for info on how to get more logging out of qmail-smtpd
  (auth
  failures),

 vchkpw compiled with --enable-logging=v, will show success smtp logins,
 as well as failures with the attempted password.  You'll need the dev
 version, though.  Very useful.

I've got that, so I can see possible auth failures, but my problem seems
to come after TLS negotiation and before smtp-auth.  If I setup pine to
use this mail server for outgoing, it negotiates ssl and then prints smtp
server has gone away, and there's a coredump (sig 10) on qmail-smtpd.

Oddly, doing the same with Apple's mail.app (the only other MUA I have
handy at the moment) works fine (using smtp-auth + tls).  I'm going to try
pulling some patches out one by one, but I was hoping first to get some
debugging info out of qmail-smtpd first, so I at least have a hint as to
where to look.

Thanks,

Charles

 Regards,

 Bill Shupp






Re: [vchkpw] new(?) qmail-smtpd patch

2003-09-14 Thread Oden Eriksson
söndagen den 14 september 2003 22.47 skrev Bill Shupp:
 On Sunday, September 14, 2003, at 01:24  PM, Charles Sprickman wrote:
  While looking for info on how to get more logging out of qmail-smtpd
  (auth
  failures),

 vchkpw compiled with --enable-logging=v, will show success smtp logins,
 as well as failures with the attempted password.  You'll need the dev
 version, though.  Very useful.

Yes.

But I wonder if no one has requested logging to stdout and let multilog take 
care of it? Is it possible?




[vchkpw] Sorry,_no_mailbox_here_by_that_name

2003-09-14 Thread Fast Johnny
I have a fresh install of qmail/vpopmail. For about 3 months now, I 
have had users logging in a getting/sending mail with no problem. I have
gone over LWQ many times and I don't know why but when sending email to 
some users I get this in the log:
Sep 14 15:24:19 mail qmail: 1063574659.626616 delivery 569: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/

Can someone point me in the right direction on what to check? The user
is in the ~vpopmail/domains/domain_name/user_dir. I can run webmail locally
and login ok. Also, I can run vuserinfo and it comes back with the correct info..

Sorry if I'm missing important information, just let me know what I need to include
for some help.

Thanks for the help,
Eric




__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com



Re: [vchkpw] OT question (ezmlm)

2003-09-14 Thread Tom Collins
On Sunday, September 14, 2003, at 12:52  PM, Remo Mattei wrote:
Mailing list 1 ---users  (one mailing list contains users) which all  
get
emails however if I create a new mailing list and I add it to mailing  
list 1
the users from the mailing list 2 once I send a message to mailing  
list 1
they will not get messages.
ezmlm is typically set up to require the list name in the To or Cc  
header.

It is possible to override this behavior.  See this Feature Request  
from the QmailAdmin project for details:

http://sourceforge.net/tracker/ 
index.php?func=detailaid=800039group_id=6691atid=356691

--
Tom Collins
[EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/



Re: [vchkpw] new(?) qmail-smtpd patch

2003-09-14 Thread Charles Sprickman
On Sun, 14 Sep 2003, Charles Sprickman wrote:

 I've got that, so I can see possible auth failures, but my problem seems
 to come after TLS negotiation and before smtp-auth.  If I setup pine to
 use this mail server for outgoing, it negotiates ssl and then prints smtp
 server has gone away, and there's a coredump (sig 10) on qmail-smtpd.

OK, so I've got debug symbols now (edit conf-cc and add -g, edit conf-ld
and remove -s).  So it looks like the TLS patch, and I guess pine is
doing something funny to tickle it:

#0  0x80568a5 in stralloc_copyb (sa=0xbfbffa14, s=0x805815a , n=0)
at stralloc_opyb.c:12
12sa-s[n] = 'Z'; /* ``offensive programming'' */
(gdb) where
#0  0x80568a5 in stralloc_copyb (sa=0xbfbffa14, s=0x805815a , n=0)
at stralloc_opyb.c:12
#1  0x8056866 in stralloc_copys (sa=0xbfbffa14, s=0x805815a )
at stralloc_opys.c:9
#2  0x804d4ee in control_readfile (sa=0xbfbffa14,
fn=0x8057d0f control/tlsclients, flagme=0) at control.c:97
#3  0x804b4e8 in smtp_rcpt (arg=0x805ffc5 TO:[EMAIL PROTECTED])
at qmail-smtpd.c:554
#4  0x804ccd5 in commands (ss=0x805cafc, c=0x805cb80) at commands.c:37
#5  0x804ca2c in main (argc=4, argv=0xbfbffac4) at qmail-smtpd.c:1099
#6  0x804a20a in _start ()

Where can I go with this?  I'll get beaten alive on the qmail list for
trying to use patches...  The TLS patch has this in the README:

Frederik Vermeulen [EMAIL PROTECTED] 20010627
http://www.esat.kuleuven.ac.be/~vermeule/qmail/tls.patch

My jumbo patch is from Matt Simerson.

Any ideas?

Thanks,

Charles

 Oddly, doing the same with Apple's mail.app (the only other MUA I have
 handy at the moment) works fine (using smtp-auth + tls).  I'm going to try
 pulling some patches out one by one, but I was hoping first to get some
 debugging info out of qmail-smtpd first, so I at least have a hint as to
 where to look.

 Thanks,

 Charles

  Regards,
 
  Bill Shupp
 
 
 





Re: [vchkpw] Sorry,_no_mailbox_here_by_that_name

2003-09-14 Thread Jeremy Kitchen
On Sun, 2003-09-14 at 16:21, Fast Johnny wrote:
 I have a fresh install of qmail/vpopmail. For about 3 months now, I 
 have had users logging in a getting/sending mail with no problem. I have
 gone over LWQ many times and I don't know why but when sending email to 
 some users I get this in the log:
 Sep 14 15:24:19 mail qmail: 1063574659.626616 delivery 569: failure:
 Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
 Can someone point me in the right direction on what to check? The user
 is in the ~vpopmail/domains/domain_name/user_dir. I can run webmail locally
 and login ok. Also, I can run vuserinfo and it comes back with the correct info..
 
 Sorry if I'm missing important information, just let me know what I need to include
 for some help.

complete and unedited output of qmail-showctl would probably be a good
place to start.  also check your users/assign file to make sure the
domain is listed in there.

-- 
Jeremy Kitchen
Systems Administrator
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE




[vchkpw] vpopmail POP: ERR aac, chiled crashed after reboot, core dumped

2003-09-14 Thread Chris Shenton
I support an ISP remotely, which is running FreeBSD-4.2-RELEASE with
vpopmail-4.9.6.  I know they're old, but it would be very difficult to
upgrade now due to the site's remoteness.

The machine was recently rebooted and vpopmail's POP now crashes upon
successful authentication (names changed for privacy, sorry):

  [EMAIL PROTECTED]104 telnet foo.example.net pop3
  Trying 217.161.116.36...
  Connected to foo.example.net.
  Escape character is '^]'.
  +OK [EMAIL PROTECTED]
  user [EMAIL PROTECTED]
  +OK 
  pass MyPass
  -ERR aack, child crashed
  Connection closed by foreign host.

If you enter a bogus passwd, it gives auth fail msg, so auth is
working: it only complains about child crash if I use the correct
password.  It's not doing anything fancy like MySQL, just
authenticating from the vpasswd.cdb file.

My system startup file is straight-forward:

  env - PATH=/var/qmail/bin:/usr/local/bin \
  tcpserver 0 pop3 /var/qmail/bin/qmail-popup foo.example.net \
  /usr/local/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 


If I execute the chain of commands from the command line, it works fine:

  foo# /var/qmail/bin/qmail-popup foo.example.net \
  /usr/local/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
  +OK [EMAIL PROTECTED]
  user [EMAIL PROTECTED]
  +OK
  pass MyPass
  +OK
  list
  +OK
  1 776
  2 588
  3 588
  4 666
  .


/var/log/messages shows:

  Sep 15 04:27:58 foo /kernel: pid 32838 (vchkpw), uid 0: exited on signal 11 (core 
dumped)

It also shows less frequently:

  Sep 15 04:22:50 foo /kernel: pid 32791 (vdelivermail), uid 89: exited on signal 11 
(core dumped)


Sure enough, the core file exists, in /usr/local/vpopmail/domains/email.zz:

  -rw---   1 root  vchkpw  339968 Sep 15 03:17 vchkpw.core

At this point, I'm stuck, I don't know how to track down the problem.
I naively try:

  foo# gdb /usr/local/vpopmail/bin/vchkpw vchkpw.core
  GNU gdb 4.18
  Copyright 1998 Free Software Foundation, Inc.
  GDB is free software, covered by the GNU General Public License, and you are
  welcome to change it and/or distribute copies of it under certain conditions.
  Type show copying to see the conditions.
  There is absolutely no warranty for GDB.  Type show warranty for details.
  This GDB was configured as i386-unknown-freebsd...
  (no debugging symbols found)...
  Core was generated by `vchkpw'.
  Program terminated with signal 11, Segmentation fault.
  Reading symbols from /usr/lib/libcrypt.so.2...(no debugging symbols found)...
  done.
  Reading symbols from /usr/lib/libc.so.4...(no debugging symbols found)...done.
  Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)...
  done.
  #0  0x8049e96 in free ()
  (gdb) where
  #0  0x8049e96 in free ()
  #1  0xbfbffb40 in ?? ()
  #2  0x804ca6e in free ()
  #3  0x80497ff in free ()
  #4  0x80492c5 in free ()


Any suggestions as to what's wrong and how to fix it?  I didn't find
anything relevant doing a Google which fits my situation.

Thanks.



Re: [vchkpw] Sorry,_no_mailbox_here_by_that_name

2003-09-14 Thread Fast Johnny
users/assign file has the domain name of the mail being rejected.

===
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 500, 501, 502, 0, 503, 504, 505, 506.
group ids: 500, 501.

badmailfrom: 
@petstreetmall.com not accepted in MAIL FROM.
[EMAIL PROTECTED] not accepted in MAIL FROM.
@deanforamerica.com not accepted in MAIL FROM.

bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.

bouncehost: (Default.) Bounce host name is mail.whippersnapper.com

concurrencylocal: (Default.) Local concurrency is 10.

concurrencyremote: (Default.) Remote concurrency is 20.

databytes: (Default.) SMTP DATA limit is 0 bytes.

defaultdomain: Default domain name is whippersnapper.com.

defaulthost: (Default.) Default host name is mail.whippersnapper.com.

doublebouncehost: (Default.) 2B recipient host: mail.whippersnapper.com.

doublebounceto: (Default.) 2B recipient user: postmaster.

envnoathost: (Default.) Presumed domain name is mail.whippersnapper.com.

helohost: SMTP client HELO host name is mail.whippersnapper.com.

idhost: (Default.) Message-ID host name is mail.whippersnapper.com.

localiphost: (Default.) Local IP address becomes mail.whippersnapper.com.

locals: 
Messages for mail.whippersnapper.com are delivered locally.
Messages for localhost are delivered locally.
Messages for whippersnapper.com are delivered locally.

me: My name is mail.whippersnapper.com.

percenthack: (Default.) The percent hack is not allowed.

plusdomain: Plus domain name is whippersnapper.com.

qmqpservers: (Default.) No QMQP servers.

queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.

rcpthosts: 
SMTP clients may send messages to recipients at whippersnapper.com.
SMTP clients may send messages to recipients at mail.whippersnapper.com.

morercpthosts: (Default.) No effect.

morercpthosts.cdb: Oops! morercpthosts.cdb exists but morercpthosts doesn't.

smtpgreeting: SMTP greeting: 220 Welcome to Whippersnapper.net.

smtproutes: 

timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.

timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.

timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.

virtualdomains: 
Virtual domain: whippersnapper.com:whippersnapper.com
Virtual domain: mail.whippersnapper.com:mail.whippersnapper.com

supervise: I have no idea what this file does.

rcpthosts.lock: I have no idea what this file does.

virtualdomains.lock: I have no idea what this file does.

locals.lock: I have no idea what this file does.





Thanks again for any help.



__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com



[vchkpw] Re: vpopmail POP: ERR aac, chiled crashed after reboot, core dumped

2003-09-14 Thread Chris Shenton
Self-follow-up, hopefully useful.

I truss the process running the POP tcpserver, then the process it
forks when I connect to the POP port.   I don't know if the ERR#9 is
fatal, and unfortunately can't trace the next forked process 33323
because the child crashes immediately after displaying the info.

Does this help at all?  Thanks.

mahe# ps -axww|grep tcpser
33265  ??  S  0:00.00 tcpserver -v -u 82 -g 65533 0 smtp /var/qmail/bin/qmail-smtpd
  276  p0- S  0:03.25 tcpserver -v -u 82 -g 65533 0 smtp /var/qmail/bin/qmail-smtpd
32797  p1  I  0:00.02 tcpserver 0 pop3 /var/qmail/bin/qmail-popup foo.example.net 
/usr/local/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir

mahe# truss -p 32797
(null)() = 0 (0x0)
sigprocmask(0x1,0xbfbffcc8,0x0)  = 0 (0x0)
fork()   = 33316 (0x8224)
close(0) = 0 (0x0)
sigprocmask(0x2,0xbfbffcc8,0x0)  = 0 (0x0)

mahe# truss -p 33316
(null)() = 1 (0x1)
read(0x0,0x804bfe0,0x80) = 14 (0xe)
fcntl(0x1,0x3,0x0)   = 2 (0x2)
close(2) = 0 (0x0)
fcntl(0x1,0x0,0x2)   = 2 (0x2)
close(3) ERR#9 'Bad file descriptor'
pipe()   = 3 (0x3)
fork()   = 33323 (0x822b)
close(3) = 0 (0x0)
write(4,0x804c100,62)= 62 (0x3e)
close(4) = 0 (0x0)
SIGNAL 20
wait4(0x822b,0xbfbffbcc,0x0,0x0) = 33323 (0x822b)
select(0x2,0x0,0xbfbffa38,0x0,0xbfbffa30)= 1 (0x1)
write(1,0x804c080,26)= 26 (0x1a)
exit(0x1)   process exit, rval = 256



Re: [vchkpw] Sorry,_no_mailbox_here_by_that_name

2003-09-14 Thread Jeremy Kitchen
On Sun, 2003-09-14 at 20:17, Fast Johnny wrote:
 users/assign file has the domain name of the mail being rejected.
 

ok

[snip]
 locals: 
 Messages for mail.whippersnapper.com are delivered locally.
 Messages for localhost are delivered locally.
 Messages for whippersnapper.com are delivered locally.
[snip]
 virtualdomains: 
 Virtual domain: whippersnapper.com:whippersnapper.com
 Virtual domain: mail.whippersnapper.com:mail.whippersnapper.com
 

do you see the problem?

if not, I'll give you a hint.  You have whippersnapper.com in locals as
well as virtualhosts.  I will assume this is the domain you are
referring to, and that what you have shown is not what you intended.  If
whippersnapper.com is to be handed by vpopmail, remove the entry from
the locals file and sighup qmail-send.  done :)

-- 
Jeremy Kitchen
Systems Administrator
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE




Re: [vchkpw] Sorry,_no_mailbox_here_by_that_name

2003-09-14 Thread Fast Johnny
Oh geez. That was pretty bad. Although the error messages didn't give me much to
go by, I needed to go back to simple control files. Sorry to waste everyone's time
on this. Thanks Jeremy for your help.

--- Jeremy Kitchen [EMAIL PROTECTED] wrote:
 On Sun, 2003-09-14 at 20:17, Fast Johnny wrote:
  users/assign file has the domain name of the mail being rejected.
  
 
 ok
 
 [snip]
  locals: 
  Messages for mail.whippersnapper.com are delivered locally.
  Messages for localhost are delivered locally.
  Messages for whippersnapper.com are delivered locally.
 [snip]
  virtualdomains: 
  Virtual domain: whippersnapper.com:whippersnapper.com
  Virtual domain: mail.whippersnapper.com:mail.whippersnapper.com
  
 
 do you see the problem?
 
 if not, I'll give you a hint.  You have whippersnapper.com in locals as
 well as virtualhosts.  I will assume this is the domain you are
 referring to, and that what you have shown is not what you intended.  If
 whippersnapper.com is to be handed by vpopmail, remove the entry from
 the locals file and sighup qmail-send.  done :)
 
 -- 
 Jeremy Kitchen
 Systems Administrator
 .
 Inter7 Internet Technologies, Inc.
 www.inter7.com
 866.528.3530 toll free
 847.492.0470 int'l
 847.492.0632 fax
 GNUPG key ID: 93BDD6CE
 
 


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com



Re: [vchkpw] vpopmail POP: ERR aac, chiled crashed after reboot, core dumped

2003-09-14 Thread Charles Sprickman
On Sun, 14 Sep 2003, Chris Shenton wrote:

 The machine was recently rebooted and vpopmail's POP now crashes upon
 successful authentication (names changed for privacy, sorry):

Two quick thoughts:

-When you say it was rebooted, was that on purpose, or something went awry
with the machine?  If the latter, was there any filesystem damage?
-What might have changed in your startup scripts from the last time the
box was booted?

The only difference here is you fail when going through tcpserver, but
succeed on the cli.  Look at what may be different in those two
environments...  Do other programs that use the vpopmail libs function
properly?

Just some random thoughts...

Charles

   [EMAIL PROTECTED]104 telnet foo.example.net pop3
   Trying 217.161.116.36...
   Connected to foo.example.net.
   Escape character is '^]'.
   +OK [EMAIL PROTECTED]
   user [EMAIL PROTECTED]
   +OK
   pass MyPass
   -ERR aack, child crashed
   Connection closed by foreign host.

 If you enter a bogus passwd, it gives auth fail msg, so auth is
 working: it only complains about child crash if I use the correct
 password.  It's not doing anything fancy like MySQL, just
 authenticating from the vpasswd.cdb file.

 My system startup file is straight-forward:

   env - PATH=/var/qmail/bin:/usr/local/bin \
   tcpserver 0 pop3 /var/qmail/bin/qmail-popup foo.example.net \
   /usr/local/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 


 If I execute the chain of commands from the command line, it works fine:

   foo# /var/qmail/bin/qmail-popup foo.example.net \
   /usr/local/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
   +OK [EMAIL PROTECTED]
   user [EMAIL PROTECTED]
   +OK
   pass MyPass
   +OK
   list
   +OK
   1 776
   2 588
   3 588
   4 666
   .


 /var/log/messages shows:

   Sep 15 04:27:58 foo /kernel: pid 32838 (vchkpw), uid 0: exited on signal 11 (core 
 dumped)

 It also shows less frequently:

   Sep 15 04:22:50 foo /kernel: pid 32791 (vdelivermail), uid 89: exited on signal 11 
 (core dumped)


 Sure enough, the core file exists, in /usr/local/vpopmail/domains/email.zz:

   -rw---   1 root  vchkpw  339968 Sep 15 03:17 vchkpw.core

 At this point, I'm stuck, I don't know how to track down the problem.
 I naively try:

   foo# gdb /usr/local/vpopmail/bin/vchkpw vchkpw.core
   GNU gdb 4.18
   Copyright 1998 Free Software Foundation, Inc.
   GDB is free software, covered by the GNU General Public License, and you are
   welcome to change it and/or distribute copies of it under certain conditions.
   Type show copying to see the conditions.
   There is absolutely no warranty for GDB.  Type show warranty for details.
   This GDB was configured as i386-unknown-freebsd...
   (no debugging symbols found)...
   Core was generated by `vchkpw'.
   Program terminated with signal 11, Segmentation fault.
   Reading symbols from /usr/lib/libcrypt.so.2...(no debugging symbols found)...
   done.
   Reading symbols from /usr/lib/libc.so.4...(no debugging symbols found)...done.
   Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)...
   done.
   #0  0x8049e96 in free ()
   (gdb) where
   #0  0x8049e96 in free ()
   #1  0xbfbffb40 in ?? ()
   #2  0x804ca6e in free ()
   #3  0x80497ff in free ()
   #4  0x80492c5 in free ()


 Any suggestions as to what's wrong and how to fix it?  I didn't find
 anything relevant doing a Google which fits my situation.

 Thanks.





RE: [vchkpw] RE: I must have missed your answers, vpopmail .quotawarn.msg

2003-09-14 Thread Shai Ben-Naphtali
Thanks for the response!

# pwd
/home/vpopmail/domains

# ls -al .quotawarn.msg
-rw---1 vpopmail vchkpw371 Sep  9 09:17 .quotawarn.msg

Ok?

Shai.


 -Original Message-
 From: Paul Theodoropoulos [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 12, 2003 6:03 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [vchkpw] RE: I must have missed your answers, 
 vpopmail .quotawarn.msg
 
 
 
 question - is the .quotawarn.msg ownership/group set correctly?
 
 At 09:55 PM 9/11/2003, Shai Ben-Naphtali wrote:
 Anyone, anything?
 
 Shai.
 
 
   Hi all,
  
   I'm afraid I was told that some people replied to my msg.. but I
   MUST have missed it somehow and so I'm making this email again,
   in HOPE that I'll get help in this issue and not miss it this 
 time around.
  
   I made /home/vpopmail/domains/.quotawarn.msg
  
   I placed this inside:
  
   From: Mail Delivery System [EMAIL PROTECTED]
   Reply-To: [EMAIL PROTECTED]
   To: Valued Customer:;
   Subject: Mail quota warning
   Mime-Version: 1.0
   Content-Type: text/plain; charset=iso-8859-1
   Content-Transfer-Encoding: 7bit
  
   Your mailbox on the server is now more than 90% full. So that you
   can continue
   to receive mail you need to remove some messages from your mailbox.
  
   ~~~
  
   I can't seem to understand why this message isn't arriving into
   the mailbox I made for testing that is now over 90% and 
 standing on 93%.
  
   Can anyone give me a hand in figuring this out?
   Thanks in advance for ANY help on this issue.
  
   Cheers,
   Shai
 
 Paul Theodoropoulos
 http://www.anastrophe.com
 
 
  
 



Re: [vchkpw] Sorry,_no_mailbox_here_by_that_name

2003-09-14 Thread Jeremy Kitchen
On Sun, 2003-09-14 at 21:34, Fast Johnny wrote:
 Oh geez. That was pretty bad. Although the error messages didn't give me much to
 go by, I needed to go back to simple control files. Sorry to waste everyone's time
 on this. Thanks Jeremy for your help.

it's ok, everyone makes mistakes.  and we all go through those times
when a little tiny problem creates a huge mess and you often overlook
things :)  We all do it.  Just glad you got fixed :)

-Jeremy
-- 
Jeremy Kitchen
Systems Administrator
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE