Re: [vchkpw] chkuser and mailbox quotas
DAve ha scritto: Good morning, We have, for a long time now, successfully used MailScanner on our gateway servers and then routing clean mail to our pop toasters. The pop toasters are running netqmail, vpopmail 5-4-17, and chkuser 2.0.8. I am having an issue where users are going overquota and not doing anything about it until mail begins to bounce. What limits cause chkuser to switch from rcpt mailbox is overquota to not existing recipient? I am unable to find the answer, though it might be staring me in the face. chkuser will never switch from overquota to no such user. What can happen is limit set in chkuser settings is not reached (for whatever reason), then the e-mail go to the next stage of delivery, but delivery aborts because quota limit is reached for the recipients. But you never have no such user. Cheers, Tonino Right now if a users don't fix their quota issue in time I have to manually restart milter-ahead on my MailScanner servers to clear the cache of non-existant users. Trying to understand the problem before I decide what to do about it. Thanks, DAve -- in...@zioniInterazioni di Antonio Nati http://www.interazioni.it to...@interazioni.it !DSPAM:4acd986832711652310398!
[vchkpw] Problem with vpopmail: deliver all mail to /var/spool/mail/vpopmail
Hello I have netqmail 1.06 on a Red Hat Enterprise Linux 5.4 x86 following LWQ. I have installed vpopmail 5.4.28 with the following compile options ./configure --enable-file-sync --prefix=/buzones/ --enable-maildrop --enable-domainquotas So NO mysql support. I have created a test domain (javierito.com) to test that everything works as desired. I see in /home/vpopmail (a symbolic link to /buzones/vpopmail) that in the folder /buzones/vpopmail/domains exists a folder called javierito.com With qmailadmin I can create users successfully . I also have configured dovecot to auth against vpopmail, everything works great exepct that mail is NOT deliveres where it should. Example: - I create a user pru...@javierito.com - I check that /buzones/vpopmail/domains/javierito.com/prueba has been created, permissions and owner ok. - When I send a mail to pru...@javierito.com I see in /var/log/qmail/current the following: @40004acdd2f818008224 info msg 4485292: bytes 232 from javierdemig...@us.es qp 18966 uid 501 @40004acdd2f81b7da2c4 starting delivery 2: msg 4485292 to local javierito.com-pru...@javierito.com @40004acdd2f81b7da6ac status: local 1/10 remote 0/20 @40004acdd2f822f5af24 delivery 2: success: did_0+0+1/ @40004acdd2f822f5b30c status: local 0/10 remote 0/20 @40004acdd2f822f5b6f4 end msg 4485292 But mail does NOT appear in /buzones/vpopmail/domains/javierito.com/prueba/Maildir/new. Instead, the mail is delivered to /var/spool/mail/vpomail, in mbox format. I am a bit puzzled with this. I provide the following files: /var/qmail/control/locals localhost.localdomain /var/qmail/control/rcpthosts javierito.com localhost.localdomain /var/qmail/control/virtualdomains javierito.com:javierito.com /var/qmail/control/me localhost.localdomain /var/qmail/users/assign/ +javierito.com-:javierito.com:89:89:/home/vpopmail/domains/javierito.com:-:: /buzones/vpopmail/domains/javierito.com/.qmail-default | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox It's also very strange that I want to user Maildir, I put it in /var/qmail/rc launch script but anyway mail gets delivered in mbox... What am I doing wrong? If I create a second user in that domain (ej: prueb...@javierito.com) it also fails, all messages are delivered via mbox to /var/spool/mail/vpopmail I can provide more config files /logs /whatever to solve this problem. Regards Javier de Miguel !DSPAM:4acdd7e532711146439398!
Re: [vchkpw] Problem with vpopmail: deliver all mail to /var/spool/mail/vpopmail
Javier de Miguel Rodríguez wrote: Hello I have netqmail 1.06 on a Red Hat Enterprise Linux 5.4 x86 following LWQ. I have installed vpopmail 5.4.28 with the following compile options ./configure --enable-file-sync --prefix=/buzones/ --enable-maildrop --enable-domainquotas So NO mysql support. I have created a test domain (javierito.com) to test that everything works as desired. I see in /home/vpopmail (a symbolic link to /buzones/vpopmail) that in the folder /buzones/vpopmail/domains exists a folder called javierito.com With qmailadmin I can create users successfully . I also have configured dovecot to auth against vpopmail, everything works great exepct that mail is NOT deliveres where it should. Example: - I create a user pru...@javierito.com - I check that /buzones/vpopmail/domains/javierito.com/prueba has been created, permissions and owner ok. - When I send a mail to pru...@javierito.com I see in /var/log/qmail/current the following: @40004acdd2f818008224 info msg 4485292: bytes 232 from javierdemig...@us.es qp 18966 uid 501 @40004acdd2f81b7da2c4 starting delivery 2: msg 4485292 to local javierito.com-pru...@javierito.com @40004acdd2f81b7da6ac status: local 1/10 remote 0/20 @40004acdd2f822f5af24 delivery 2: success: did_0+0+1/ @40004acdd2f822f5b30c status: local 0/10 remote 0/20 @40004acdd2f822f5b6f4 end msg 4485292 But mail does NOT appear in /buzones/vpopmail/domains/javierito.com/prueba/Maildir/new. Instead, the mail is delivered to /var/spool/mail/vpomail, in mbox format. Hi, What is in /var/qmail/control/defaultdelivery ? Regards, Rick !DSPAM:4acdddec32713580789896!
Re: [vchkpw] Problem with vpopmail: deliver all mail to /var/spool/mail/vpopmail
Hi, What is in /var/qmail/control/defaultdelivery ? cat /var/qmail/control/defaultdelivery ./Maildir/ cat /var/qmail/rc #!/bin/sh # Using stdout for logging # Using control/defaultdelivery from qmail-local to deliver messages by default exec env - PATH=/var/qmail/bin:$PATH \ qmail-start ./Maildir/ Regards, Rick !DSPAM:4acddef432711578814182!
Re: [vchkpw] chkuser and mailbox quotas
Tonix (Antonio Nati) wrote: DAve ha scritto: Good morning, We have, for a long time now, successfully used MailScanner on our gateway servers and then routing clean mail to our pop toasters. The pop toasters are running netqmail, vpopmail 5-4-17, and chkuser 2.0.8. I am having an issue where users are going overquota and not doing anything about it until mail begins to bounce. What limits cause chkuser to switch from rcpt mailbox is overquota to not existing recipient? I am unable to find the answer, though it might be staring me in the face. chkuser will never switch from overquota to no such user. What can happen is limit set in chkuser settings is not reached (for whatever reason), then the e-mail go to the next stage of delivery, but delivery aborts because quota limit is reached for the recipients. But you never have no such user. Cheers, Tonino Yea, it was a long day with many things to keep track of. Once I slept on it I knew it was not a chkuser issue, so I looked at the logs with fresh eyes and found the issue. I sent my poor apology to the list yesterday. DAve -- Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it. John Quincy Adams http://appleseedinfo.org !DSPAM:4acde2f632711636713040!
Re: [vchkpw] Problem with vpopmail: deliver all mail to /var/spool/mail/vpopmail
Do you mind posting the output of pstree and 'netstat -tlpn |grep :25' !DSPAM:4acde3a132712627514502!
Re: [vchkpw] Problem with vpopmail: deliver all mail to /var/spool/mail/vpopmail
Javier de Miguel Rodríguez wrote: Hi, What is in /var/qmail/control/defaultdelivery ? cat /var/qmail/control/defaultdelivery ./Maildir/ Stranger and stranger. Does the last line in /var/qmail/users/assign just have a . in it ? Rick !DSPAM:4acde5c632711508219439!
Re: [vchkpw] Problem with vpopmail: deliver all mail to /var/spool/mail/vpopmail
Does the last line in /var/qmail/users/assign just have a . in it ? Yes Sincerely, - Wouter van der Schagt !DSPAM:4acde8a932711415438123!
Re: [vchkpw] Problem with vpopmail: deliver all mail to /var/spool/mail/vpopmail
Wouter van der Schagt wrote: Does the last line in /var/qmail/users/assign just have a . in it ? Yes Sincerely, - Wouter van der Schagt Hi, Can you get the output of /var/qmail/bin/qmail-showctl and pastebin it somewhere and send the URL to the list please. Regards, Rick !DSPAM:4acdee8b32716031318004!
Re: [vchkpw] Problem with vpopmail: deliver all mail to /var/spool/mail/vpopmail
El 08/10/09 15:05, Christopher Chan escribió: Do you mind posting the output of pstree and 'netstat -tlpn |grep :25' init─┬─acpid ├─atd ├─auditd─┬─audispd───{audispd} │ └─{auditd} ├─automount───4*[{automount}] ├─crond ├─dbus-daemon ├─dovecot─┬─dovecot-auth │ ├─3*[imap-login] │ └─3*[pop3-login] ├─events/0 ├─gpm ├─hald───hald-runner─┬─hald-addon-acpi │ ├─hald-addon-keyb │ └─hald-addon-stor ├─hidd ├─httpd───8*[httpd] ├─khelper ├─klogd ├─krfcommd ├─ksoftirqd/0 ├─kthread─┬─aio/0 │ ├─ata/0 │ ├─ata_aux │ ├─cqueue/0 │ ├─kacpid │ ├─kauditd │ ├─kblockd/0 │ ├─khubd │ ├─2*[kjournald] │ ├─kmpath_handlerd │ ├─kmpathd/0 │ ├─kpsmoused │ ├─kseriod │ ├─ksnapd │ ├─kstriped │ ├─kswapd0 │ ├─mpt_poll_0 │ ├─2*[pdflush] │ ├─rpciod/0 │ └─scsi_eh_0 ├─migration/0 ├─6*[mingetty] ├─nrpe ├─ntpd ├─pcscd───{pcscd} ├─rhnsd ├─rpc.idmapd ├─smartd ├─sshd───sshd───bash───pstree ├─svscanboot─┬─readproctitle │ └─svscan─┬─supervise───tcpserver │ ├─2*[supervise───multilog] │ └─supervise───qmail-send─┬─qmail-clean │ ├─qmail-lspawn │ └─qmail-rspawn ├─syslogd ├─udevd ├─vmmemctl ├─vmware-guestd ├─vusaged───11*[{vusaged}] ├─watchdog/0 ├─xfs └─xinetd netstat -tlpn |grep :25 tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 18866/tcpserver !DSPAM:4ace05de32713754117749!
Re: [vchkpw] Problem with vpopmail: deliver all mail to /var/spool/mail/vpopmail
Stranger and stranger. Does the last line in /var/qmail/users/assign just have a . in it ? Yes cat /var/qmail/users/assign +javierito.com-:javierito.com:89:89:/home/vpopmail/domains/javierito.com:-:: .. Rick !DSPAM:4ace060c32711364414800!
Re: [vchkpw] Problem with vpopmail: deliver all mail to /var/spool/mail/vpopmail
Can you get the output of /var/qmail/bin/qmail-showctl and pastebin it somewhere and send the URL to the list please. /var/qmail/bin/qmail-showctl 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: (Default.) Any MAIL FROM is allowed. bouncefrom: (Default.) Bounce user name is MAILER-DAEMON. bouncehost: (Default.) Bounce host name is localhost.localdomain. 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 localhost.localdomain. defaulthost: (Default.) Default host name is localhost.localdomain. doublebouncehost: (Default.) 2B recipient host: localhost.localdomain. doublebounceto: (Default.) 2B recipient user: postmaster. envnoathost: (Default.) Presumed domain name is localhost.localdomain. helohost: (Default.) SMTP client HELO host name is localhost.localdomain. idhost: (Default.) Message-ID host name is localhost.localdomain. localiphost: (Default.) Local IP address becomes localhost.localdomain. locals: Messages for localhost.localdomain are delivered locally. me: My name is localhost.localdomain. percenthack: (Default.) The percent hack is not allowed. plusdomain: Plus domain name is localhost.localdomain. qmqpservers: (Default.) No QMQP servers. queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds. rcpthosts: SMTP clients may send messages to recipients at javierito.com. SMTP clients may send messages to recipients at localhost.localdomain. morercpthosts: (Default.) No effect. morercpthosts.cdb: (Default.) No effect. smtpgreeting: SMTP greeting: 220 Bienvenido al servidor de correo de buzones externos. smtproutes: (Default.) No artificial SMTP routes. 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: javierito.com:javierito.com concurrencyincoming: I have no idea what this file does. locals.lock: I have no idea what this file does. defaultdelivery: 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. Regards, Rick !DSPAM:4ace063a32711141088977!
Re: [vchkpw] Problem with vpopmail: deliver all mail to /var/spool/mail/vpopmail
El 08/10/09 17:32, Javier de Miguel Rodríguez escribió: Stranger and stranger. Does the last line in /var/qmail/users/assign just have a . in it ? Yes cat /var/qmail/users/assign +javierito.com-:javierito.com:89:89:/home/vpopmail/domains/javierito.com:-:: .. Sorry, I pasted wrong. Only has ONE . cat /var/qmail/users/assign +javierito.com-:javierito.com:89:89:/home/vpopmail/domains/javierito.com:-:: .. Rick !DSPAM:4ace06c232711097049591!
Re: [vchkpw] Problem with vpopmail: deliver all mail to /var/spool/mail/vpopmail
On Thu, Oct 8, 2009 at 9:05 PM, Javier de Miguel Rodríguez javierdemig...@us.es wrote: cat /var/qmail/users/assign +javierito.com-:javierito.com:89:89:/home/vpopmail/domains/javierito.com: -:: .. Just to eliminate that the file /var/qmail/users/cdb is up to date, what is the output of strings /var/qmail/users/cdb Also what is the entry for vpopmail user in /etc/passwd -- Regards Manvendra - http://www.indimail.org !DSPAM:4ace0fc73271896353!
Re: [vchkpw] Problem with vpopmail: deliver all mail to /var/spool/mail/vpopmail
Javier de Miguel Rodríguez wrote: Can you get the output of /var/qmail/bin/qmail-showctl and pastebin it somewhere and send the URL to the list please. Very strange indeed. The only inconsistency that I can see is you compiled vpopmail with --prefix=/buzones but the assign file uses /home/vpopmail/, not sure if that is going to cause any problems since logically it is the same place but that's the only thing I can see at the moment. Regards, Rick !DSPAM:4ace110d32711344485583!
Re: [vchkpw] Problem with vpopmail: deliver all mail to /var/spool/mail/vpopmail
Javier de Miguel Rodríguez wrote: Hi, What is in /var/qmail/control/defaultdelivery ? cat /var/qmail/control/defaultdelivery ./Maildir/ cat /var/qmail/rc #!/bin/sh # Using stdout for logging # Using control/defaultdelivery from qmail-local to deliver messages by default exec env - PATH=/var/qmail/bin:$PATH \ qmail-start ./Maildir/ Don't know if it makes a difference but my /var/qmail/rc has quotes around ./Maildir/ ie qmail-start ./Maildir/ Regards, Rick !DSPAM:4ace139132711571019702!
Re: [vchkpw] Problem with vpopmail: deliver all mail to /var/spool/mail/vpopmail
Javier de Miguel Rodríguez wrote: Can you get the output of /var/qmail/bin/qmail-showctl and pastebin it somewhere and send the URL to the list please. /var/qmail/bin/qmail-showctl Hi, Can you do a ps -ax | grep qmail-lspawn and report the output please. Regards, Rick !DSPAM:4ace13f932712029419206!
Re: [vchkpw] Problem with vpopmail: deliver all mail to /var/spool/mail/vpopmail
Just to eliminate that the file /var/qmail/users/cdb is up to date, what is the output of strings /var/qmail/users/cdb strings /var/qmail/users/cdb !javierito.com-javierito.com /home/vpopmail/domains/javierito.com Also what is the entry for vpopmail user in /etc/passwd grep vpopmail /etc/passwd vpopmail:x:89:89::/home/vpopmail:/bin/bash grep 89 /etc/group vchkpw:x:89: -- Regards Manvendra - http://www.indimail.org !DSPAM:4ace33bf32711726813760!
Re: [vchkpw] Problem with vpopmail: deliver all mail to /var/spool/mail/vpopmail
Hi, Can you do a ps -ax | grep qmail-lspawn ps -ax | grep qmail-lspawn Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ 18860 ?S 0:00 qmail-lspawn ./Maildir/ 30482 pts/0R+ 0:00 grep qmail-lspawn !DSPAM:4ace340d32711464114026!
Re: [vchkpw] Problem with vpopmail: deliver all mail to /var/spool/mail/vpopmail
Very strange indeed. The only inconsistency that I can see is you compiled vpopmail with --prefix=/buzones but the assign file uses /home/vpopmail/, not sure if that is going to cause any problems since logically it is the same place but that's the only thing I can see at the moment. ls -lh /home/ /home/vpopmail - /buzones/vpopmail/ It should not be a problem Regards, Rick !DSPAM:4ace344132711617520382!
Re: [vchkpw] Problem with vpopmail: deliver all mail to /var/spool/mail/vpopmail
Just for the record, a full SMTP transaction: telnet 192.168.5.103 25 Trying 192.168.5.103... Connected to buzones_externos (192.168.5.103). Escape character is '^]'. 220 Bienvenido al servidor de correo de buzones externos ESMTP HELO test.com 250 Bienvenido al servidor de correo de buzones externos MAIL FROM:t...@test.com 250 ok RCPT TO:pru...@javierito.com 250 ok DATA 354 go ahead Subject: Just a test Testing .. .. 250 ok 1255027977 qp 30614 quit 221 Bienvenido al servidor de correo de buzones externos Log in /var/qmail/current 2009-10-08 20:52:57.802952500 new msg 4485292 2009-10-08 20:52:57.802954500 info msg 4485292: bytes 222 from t...@test.com qp 30614 uid 501 2009-10-08 20:52:57.851700500 starting delivery 6: msg 4485292 to local javierito.com-pru...@javierito.com 2009-10-08 20:52:57.851701500 status: local 1/10 remote 0/20 2009-10-08 20:52:57.896962500 delivery 6: success: did_0+0+1/ 2009-10-08 20:52:57.896963500 status: local 0/10 remote 0/20 2009-10-08 20:52:57.896964500 end msg 4485292 Info about that user (pru...@javierito.com) home/vpopmail/bin/vuserinfo pru...@javierito.com name: prueba passwd: $1$drHXhmxJ$CpapulqXSV014Uyjz8qb00 clear passwd: prueba comment/gecos: Hola soy pepe uid:1 gid:0 flags: 0 gecos: Hola soy pepe limits: No user limits set. dir: /home/vpopmail/domains/javierito.com/prueba quota: 157286400S usage: 0% account created: Wed Oct 7 13:14:07 2009 last auth: Never logged in Info about the domain vdominfo javierito.com domain: javierito.com uid:89 gid:89 dir:/home/vpopmail/domains/javierito.com users: 3 Let's see if mail has arrived.. ls -l /home/vpopmail/domains/javierito.com/prueba/Maildir/new/ total 0 Now look to /var/spool/mail/vpopmail tail -12 /var/spool/mail/vpopmail From vpopmail Thu Oct 8 20:52:57 2009 Return-Path: t...@test.com Delivered-To: javierito.com-pru...@javierito.com Received: (qmail 30614 invoked from network); 8 Oct 2009 18:52:47 - Received: from unknown (HELO test.com) (192.168.5.103) by localhost.localdomain with SMTP; 8 Oct 2009 18:52:47 - Subject: Just a test Testing .. This is very strange :( :( :( This is getting me crazy. I have installed several qmail+vpopmail in the past and I never had this problem :( !DSPAM:4ace365832716416720982!
Re: [vchkpw] Problem with vpopmail: deliver all mail to /var/spool/mail/vpopmail
Javier de Miguel Rodríguez wrote: Just for the record, a full SMTP transaction: telnet 192.168.5.103 25 Trying 192.168.5.103... Connected to buzones_externos (192.168.5.103). Escape character is '^]'. 220 Bienvenido al servidor de correo de buzones externos ESMTP HELO test.com 250 Bienvenido al servidor de correo de buzones externos MAIL FROM:t...@test.com 250 ok RCPT TO:pru...@javierito.com 250 ok DATA 354 go ahead Subject: Just a test Testing .. .. 250 ok 1255027977 qp 30614 quit 221 Bienvenido al servidor de correo de buzones externos Log in /var/qmail/current 2009-10-08 20:52:57.802952500 new msg 4485292 2009-10-08 20:52:57.802954500 info msg 4485292: bytes 222 from t...@test.com qp 30614 uid 501 2009-10-08 20:52:57.851700500 starting delivery 6: msg 4485292 to local javierito.com-pru...@javierito.com 2009-10-08 20:52:57.851701500 status: local 1/10 remote 0/20 2009-10-08 20:52:57.896962500 delivery 6: success: did_0+0+1/ 2009-10-08 20:52:57.896963500 status: local 0/10 remote 0/20 2009-10-08 20:52:57.896964500 end msg 4485292 Info about that user (pru...@javierito.com) home/vpopmail/bin/vuserinfo pru...@javierito.com name: prueba passwd: $1$drHXhmxJ$CpapulqXSV014Uyjz8qb00 clear passwd: prueba comment/gecos: Hola soy pepe uid:1 gid:0 flags: 0 gecos: Hola soy pepe limits: No user limits set. dir: /home/vpopmail/domains/javierito.com/prueba quota: 157286400S usage: 0% account created: Wed Oct 7 13:14:07 2009 last auth: Never logged in Info about the domain vdominfo javierito.com domain: javierito.com uid:89 gid:89 dir:/home/vpopmail/domains/javierito.com users: 3 Let's see if mail has arrived.. ls -l /home/vpopmail/domains/javierito.com/prueba/Maildir/new/ total 0 Now look to /var/spool/mail/vpopmail tail -12 /var/spool/mail/vpopmail From vpopmail Thu Oct 8 20:52:57 2009 Return-Path: t...@test.com Delivered-To: javierito.com-pru...@javierito.com Received: (qmail 30614 invoked from network); 8 Oct 2009 18:52:47 - Received: from unknown (HELO test.com) (192.168.5.103) by localhost.localdomain with SMTP; 8 Oct 2009 18:52:47 - Subject: Just a test Testing .. This is very strange :( :( :( This is getting me crazy. I have installed several qmail+vpopmail in the past and I never had this problem :( Yah, I'd still like to see what the ouput of ps -ax | grep qmail-lspawn is. If it's not qmail-lspawn ./Maildir/ then that is the problem. Regards, Rick !DSPAM:4ace38c032711953120205!
Re: [vchkpw] Problem with vpopmail: deliver all mail to /var/spool/mail/vpopmail
2009/10/9 Javier de Miguel Rodríguez javierdemig...@us.es Hi, Can you do a ps -ax | grep qmail-lspawn ps -ax | grep qmail-lspawn Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ 18860 ?S 0:00 qmail-lspawn ./Maildir/ 30482 pts/0R+ 0:00 grep qmail-lspawn Do you have strace ? strace -o /tmp/problem.log -Ff -p 18860 -- Regards Manvendra - http://www.indimail.org Sent from Chennai, TN, India !DSPAM:4ace394632711612410632!
Re: [vchkpw] Problem with vpopmail: deliver all mail to /var/spool/mail/vpopmail
Yah, I'd still like to see what the ouput of ps -ax | grep qmail-lspawn is. If it's not qmail-lspawn ./Maildir/ then that is the problem. ps -ax | grep qmail-lspawn Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ 18860 ?S 0:00 qmail-lspawn ./Maildir/ 31163 pts/0R+ 0:00 grep qmail-lspawn :( Regards, Rick !DSPAM:4ace396332719583252782!
Re: [vchkpw] Problem with vpopmail: deliver all mail to /var/spool/mail/vpopmail
El 08/10/09 21:10, Manvendra Bhangui escribió: strace -o /tmp/problem.log -Ff -p 18860 Yes. First, the SMTP transaction telnet 192.168.5.103 25 Trying 192.168.5.103... Connected to 192.168.5.103. Escape character is '^]'. 220 Bienvenido al servidor de correo de buzones externos ESMTP HELO second_test.com 250 Bienvenido al servidor de correo de buzones externos MAIL FROM:sec...@second_test.com 250 ok RCPT TO:pru...@javierito.com 250 ok DATA 354 go ahead Subject: Another test strace enables .. quit 250 ok 1255029302 qp 31276 221 Bienvenido al servidor de correo de buzones externos Connection closed by foreign host. Now, the strace (screen) output strace -o /tmp/problem.log -Ff -p 18860 Process 18860 attached - interrupt to quit Process 31279 attached Process 31280 attached Process 31279 suspended Process 31281 attached Process 31280 suspended Process 31282 attached Process 31281 suspended Process 31281 resumed Process 31282 detached Process 31280 resumed Process 31281 detached Process 31279 resumed Process 31280 detached Process 31279 detached I attach the straced /tmp/problem.log gzipped Regards and LOT of thanks for the help, you are great guys!!! !DSPAM:4ace3b3632712047916630! problem.log.gz Description: GNU Zip compressed data
Re: [vchkpw] Problem with vpopmail: deliver all mail to /var/spool/mail/vpopmail
Bizarre... Ok, I don't have 5.4.28 but what does the --enable-maildrop config option do ? It's not an option in the vpopmail version I'm running. ./configure --help | grep -i maildrop --enable-maildrop Enable maildrop. See README.maildrop for more info. --enable-maildrop-prog=PATHFull path to maildrop program /usr/{local/}bin/maildrop. I attach README.maildrop gzipped Rick !DSPAM:4ace3eee32711272615057! README.maildrop.gz Description: GNU Zip compressed data
Re: [vchkpw] Problem with vpopmail: deliver all mail to /var/spool/mail/vpopmail
2009/10/9 Javier de Miguel Rodríguez javierdemig...@us.es I attach the straced /tmp/problem.log gzipped Regards and LOT of thanks for the help, you are great guys!!! The strace output shows that vdelivermail executes maildrop 31280 waitpid(31281, unfinished ... 31281 rt_sigaction(SIGPIPE, {SIG_DFL, [PIPE], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0 31281 execve(/bin/sh, [/bin/sh, -c, preline /usr/bin/maildrop], [/* 23 vars */]) = 0 31281 brk(0)= 0x86ab000 Also maildrop opens /var/mail/vpopmail 31282 uname({sys=Linux, node=buzones_externos, ...}) = 0 31282 open(/etc/maildroprc, O_RDONLY) = -1 ENOENT (No such file or directory) 31282 open(.mailfilter, O_RDONLY) = -1 ENOENT (No such file or directory) 31282 stat64(/var/mail/vpopmail/tmp, 0xbfec5dc0) = -1 ENOTDIR (Not a directory) 31282 umask(077)= 07 31282 open(/var/mail/vpopmail, O_WRONLY|O_CREAT, 0666) = 4 -- Regards Manvendra - http://www.indimail.org Sent from Chennai, TN, India !DSPAM:4ace3f4b32717519411279!
Re: [vchkpw] Problem with vpopmail: deliver all mail to /var/spool/mail/vpopmail
El 08/10/09 21:36, Manvendra Bhangui escribió: 2009/10/9 Javier de Miguel Rodríguez javierdemig...@us.es mailto:javierdemig...@us.es I attach the straced /tmp/problem.log gzipped Regards and LOT of thanks for the help, you are great guys!!! The strace output shows that vdelivermail executes maildrop That was the problem I hve disabled maildrop for that domain with the command vmoduser -m javierito.com And now mails are delivered where they should be Million of thanks Regards Javier 31280 waitpid(31281, unfinished ... 31281 rt_sigaction(SIGPIPE, {SIG_DFL, [PIPE], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0 31281 execve(/bin/sh, [/bin/sh, -c, preline /usr/bin/maildrop], [/* 23 vars */]) = 0 31281 brk(0)= 0x86ab000 Also maildrop opens /var/mail/vpopmail 31282 uname({sys=Linux, node=buzones_externos, ...}) = 0 31282 open(/etc/maildroprc, O_RDONLY) = -1 ENOENT (No such file or directory) 31282 open(.mailfilter, O_RDONLY) = -1 ENOENT (No such file or directory) 31282 stat64(/var/mail/vpopmail/tmp, 0xbfec5dc0) = -1 ENOTDIR (Not a directory) 31282 umask(077)= 07 31282 open(/var/mail/vpopmail, O_WRONLY|O_CREAT, 0666) = 4 -- Regards Manvendra - http://www.indimail.org Sent from Chennai, TN, India !DSPAM:4ace40da32714798456117!
Re: [vchkpw] Problem with vpopmail: deliver all mail to /var/spool/mail/vpopmail
- Original Message - From: Manvendra Bhangui To: vchkpw@inter7.com Sent: Thursday, October 08, 2009 12:36 PM Subject: Re: [vchkpw] Problem with vpopmail: deliver all mail to /var/spool/mail/vpopmail 2009/10/9 Javier de Miguel Rodríguez javierdemig...@us.es I attach the straced /tmp/problem.log gzipped Regards and LOT of thanks for the help, you are great guys!!! The strace output shows that vdelivermail executes maildrop 31280 waitpid(31281, unfinished ... 31281 rt_sigaction(SIGPIPE, {SIG_DFL, [PIPE], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0 31281 execve(/bin/sh, [/bin/sh, -c, preline /usr/bin/maildrop], [/* 23 vars */]) = 0 31281 brk(0)= 0x86ab000 Also maildrop opens /var/mail/vpopmail 31282 uname({sys=Linux, node=buzones_externos, ...}) = 0 31282 open(/etc/maildroprc, O_RDONLY) = -1 ENOENT (No such file or directory) 31282 open(.mailfilter, O_RDONLY) = -1 ENOENT (No such file or directory) 31282 stat64(/var/mail/vpopmail/tmp, 0xbfec5dc0) = -1 ENOTDIR (Not a directory) 31282 umask(077)= 07 31282 open(/var/mail/vpopmail, O_WRONLY|O_CREAT, 0666) = 4 -- Regards Manvendra - http://www.indimail.org Sent from Chennai, TN, India If I remember correctly, if there is no other delivery or end in the maildrop script, it will default to delivery to the user who called maildrop, in this case vpopmail. I used to see this when first working with maildrop and not getting my delivery right. There may be a more precise description for what I just said, but as pointed out above, I would check your default maildrop script(/etc/maildroprc I think) or any custom scripts you might have in play. Brian !DSPAM:4ace41fd32718972448187!