Re: [vchkpw] SMTP AUTH USING QMAIL + VCHKPW
Hello, Just wondering, did you read this FAQ for smtp-auth? http://members.elysium.pl/brush/qmail-smtpd-auth/faq.html Mainly, about changing the permissions for vchkpw like so: # chmod 4755 ~vpopmail/bin/vchkpw # chown root.root ~vpopmail/bin/vchkpw Also, why is your qmail-smtpd running as user vpopmail? (Maybe because you changed the user so that it could run vchkpw without changing the vchkpw permissions. ;) In all the qmail+vpopmail setup guides I have seen, the qmail-smtpd process runs as the qmaild user. Here is one of my servers: nitro:~# more /service/qmail-smtpd/run #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" ]; then echo QMAILDUID, NOFILESGID, or MAXSMTPD is unset in echo /var/qmail/supervise/qmail-smtpd/run exit 1 fi exec /usr/local/bin/softlimit -m 400 \ /usr/local/bin/tcpserver -H -v -R -l \ nitro.something.com -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \ -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \ /var/qmail/bin/qmail-smtpd nitro.something.com \ /home/vpopmail/bin/vchkpw /bin/true 2>&1 #EOF I think this may solve your problem, Alex Martin http://www.rettc.com - Original Message - From: "Hélio Rubens Kamogawa" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 02, 2003 12:46 PM Subject: [vchkpw] SMTP AUTH USING QMAIL + VCHKPW Hi all! I am implementing smtp authentication. I've alredy applied the patch on qmail, and configured my supervise with the following: #!/bin/sh QMAILDUID=`id -u vpopmail` NOFILESGID=`id -g vpopmail` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` QMAILQUEUE=`cat /var/qmail/control/defaultqmailqueue` exec /usr/local/bin/softlimit -m 1000 \ /usr/local/bin/tcpserver -v -R -H -l 0 -x /var/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \ -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \ /var/qmail/bin/qmail-smtpd my.domain /var/vpopmail/bin/vchkpw /bin/true 2>&1 As you can see, the qmailduid and nofilesgid are both set to vpopmail uid and gid. That is what allows me to authenticate users using vchkpw. But at the same time, my qmail-smtpd run as vpopmail. That's a problem, once vpopmail can't write log (qmaill:nofiles) neither on the queue (qmailq:qmail), generating log entries like: @40003fcce6c2292c90c4 warning: unable to stat mess/19/19 Does anyone have alredy done something like this? Can you tell me if there is a way to call vchkpw with the qmaild user? Regards, Hélio Rubens Kamogawa Central Server http://www.centralserver.com.br [EMAIL PROTECTED] +55 41 324-1993
Re: [vchkpw] vget_assign returns only real domain
Tom Collins wrote: It would be better to change qmailadmin to keep and use the domain name entered, and pass a copy to vget_assign. The tricky part is ezmlm (and always has been). If you create a mailing list, it will typically only work for the domain you created it in, and none of the aliases. I guess this would be an option as well. X
Re: [vchkpw] vget_assign returns only real domain
On Tuesday, December 2, 2003, at 07:34 PM, X-Istence wrote: We should add another flag of some sort to vget_assign which is 0 by default, but in programs like qmailadmin can be set to 1, to make it return the domain the user logged in with, and not the "real" domain. This would then no break anything, and only qmailadmin would he to be rewritten. It would be better to change qmailadmin to keep and use the domain name entered, and pass a copy to vget_assign. The tricky part is ezmlm (and always has been). If you create a mailing list, it will typically only work for the domain you created it in, and none of the aliases. -- 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] vget_assign returns only real domain
Hi there, > We should add another flag of some sort to vget_assign which is 0 by > default, but in programs like qmailadmin can be set to 1, to make it > return the domain the user logged in with, and not the "real" domain. > This would then no break anything, and only qmailadmin would he to be > rewritten. This is an interesting idea. For now, as I don't use the SQL functionality, this simple patch seems to work: --- vpopmail-5.2.2.original/vpopmail.c 2003-12-03 03:36:57.0 +0100 +++ vpopmail-5.2.2/vpopmail.c 2003-12-03 02:56:24.0 +0100 @@ -1933,7 +1933,7 @@ i = fread(tmpbuf,sizeof(char),dlen,fs); /* get the domain line */ -strcpy(domain, tmpbuf); +/* strcpy(domain, tmpbuf); */ /* get the uid */ ptr = tmpbuf; Again, I don't have a complete overview if this may break other things. It will break SQL support for alias domains, thanks Michael for your insightful comment. Anyway, it did quite some tests this night and found no problems. After recompiling qmailadmin to link against the patched vpopmail lib, qmailadmin works as expected, showing the domain name the user used while logging in instead of the "real" domain. Jonas
Re: [vchkpw] SMTP AUTH USING QMAIL + VCHKPW
Hélio Rubens Kamogawa wrote: Hi all! I am implementing smtp authentication. I've alredy applied the patch on qmail, and configured my supervise with the following: As you can see, the qmailduid and nofilesgid are both set to vpopmail uid and gid. That is what allows me to authenticate users using vchkpw. But at the same time, my qmail-smtpd run as vpopmail. That's a problem, once vpopmail can't write log (qmaill:nofiles) neither on the queue (qmailq:qmail), generating log entries like: Regards, Hélio Rubens Kamogawa Central Server http://www.centralserver.com.br [EMAIL PROTECTED] +55 41 324-1993 Since qmail-pop3d runs as root to be able to use vchkpw i just run qmail-smtpd as root as well. Not a whole lot that can be done, other than possibly running the entire vpopmail setup under the qmail gid and uid. X
Re: [vchkpw] vget_assign returns only real domain
Michael Bowe wrote: Jonas Pasche said: Is there any possibility to remove that functionality and let vget_assign return the same domain name it got from the user's input? Will other things break without this functionality? >From what I remember, it does need to be this way. A particular example I can think of is when using the MySQL backend, SQL queries are built using the domain name returned by vget_assign, and unless the real domain is used, the SQL is going to fail. Michael. We should add another flag of some sort to vget_assign which is 0 by default, but in programs like qmailadmin can be set to 1, to make it return the domain the user logged in with, and not the "real" domain. This would then no break anything, and only qmailadmin would he to be rewritten. X Note: This is just an idea.
Re: [vchkpw] vget_assign returns only real domain
Jonas Pasche said: > Is there any possibility to remove that functionality and let > vget_assign return the same domain name it got from the user's input? > > Will other things break without this functionality? >From what I remember, it does need to be this way. A particular example I can think of is when using the MySQL backend, SQL queries are built using the domain name returned by vget_assign, and unless the real domain is used, the SQL is going to fail. Michael.
[vchkpw] SMTP AUTH USING QMAIL + VCHKPW
Hi all! I am implementing smtp authentication. I've alredy applied the patch on qmail, and configured my supervise with the following: #!/bin/sh QMAILDUID=`id -u vpopmail` NOFILESGID=`id -g vpopmail` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` QMAILQUEUE=`cat /var/qmail/control/defaultqmailqueue` exec /usr/local/bin/softlimit -m 1000 \ /usr/local/bin/tcpserver -v -R -H -l 0 -x /var/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \ -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \ /var/qmail/bin/qmail-smtpd my.domain /var/vpopmail/bin/vchkpw /bin/true 2>&1 As you can see, the qmailduid and nofilesgid are both set to vpopmail uid and gid. That is what allows me to authenticate users using vchkpw. But at the same time, my qmail-smtpd run as vpopmail. That's a problem, once vpopmail can't write log (qmaill:nofiles) neither on the queue (qmailq:qmail), generating log entries like: @40003fcce6c2292c90c4 warning: unable to stat mess/19/19 Does anyone have alredy done something like this? Can you tell me if there is a way to call vchkpw with the qmaild user? Regards, Hélio Rubens Kamogawa Central Server http://www.centralserver.com.br [EMAIL PROTECTED] +55 41 324-1993
Re: AW: [vchkpw] POP gives strange RETR answers
tisdagen den 2 december 2003 19.46 skrev Marc Schneider: > > It has to be debian specific because the patch I have has these changes, > > get the current one here: > > > > http://www.shupp.org/ > > > > Or rather the fixed one in the latest vpopmail tarball. > > I got the patch from shupp.org. It fixes all the puts() ==> substdio_puts() > apart from the two in the pop_top() function. I just wander if the > pop_top() function is different in the debian release... This is what this (note: "pop3_top") function looks like in the "qmail-pop3d.c" source using vanilla qmail and the maildir++ patch: void pop3_top(arg) char *arg; { int i; unsigned long limit; int fd; i = msgno(arg); if (i == -1) return; arg += scan_ulong(arg,&limit); while (*arg == ' ') ++arg; if (scan_ulong(arg,&limit)) ++limit; else limit = 0; fd = open_read(m[i].fn); if (fd == -1) { err_nosuch(); return; } okay(); substdio_fdbuf(&ssmsg,read,fd,ssmsgbuf,sizeof(ssmsgbuf)); blast(&ssmsg,limit); close(fd); } Maybe I'm just tired..., I don't see any put() here...
[vchkpw] Qmailadmin installation problems with LDAP support
Hi I hope that someone is able to help me. I want to use LDAP with vpopmail and qmailadmin. The Vpopmail seems to work OK and I can create domains and users to the LDAP database. When I’m compiling the qmailadmin (ver qmailadmin-1.0.6 ), I get following errors. I don’t know what to define and where to get the qmailadmin compiled. gcc -g -O2 -o qmailadmin qmailadmin.o alias.o autorespond.o forward.o mailinglist.o user.o util.o auth.o template.o command.o show.o cgi.o limits.o dotqmail.o -lnsl -lm -lcrypt qmailadmin.o(.text+0xcf): In function `main': /usr/local/src/qmailadmin-1.0.6/qmailadmin.c:240: undefined reference to `vclose' qmailadmin.o(.text+0x14d):/usr/local/src/qmailadmin-1.0.6/qmailadmin.c:199: undefined reference to `vget_assign' qmailadmin.o(.text+0x195):/usr/local/src/qmailadmin-1.0.6/qmailadmin.c:210: undefined reference to `vauth_user' qmailadmin.o(.text+0x234):/usr/local/src/qmailadmin-1.0.6/qmailadmin.c:231: undefined reference to `vget_assign' qmailadmin.o(.text+0x257):/usr/local/src/qmailadmin-1.0.6/qmailadmin.c:234: undefined reference to `vclose' qmailadmin.o(.text+0x3ff):/usr/local/src/qmailadmin-1.0.6/qmailadmin.c:175: undefined reference to `vget_assign' qmailadmin.o(.text+0x45a):/usr/local/src/qmailadmin-1.0.6/qmailadmin.c:180: undefined reference to `vclose' qmailadmin.o(.text+0x578):/usr/local/src/qmailadmin-1.0.6/qmailadmin.c:133: undefined reference to `vauth_getpw' qmailadmin.o(.text+0x59a):/usr/local/src/qmailadmin-1.0.6/qmailadmin.c:136: undefined reference to `vget_assign' I have compiled the qmailadmin-1.0.6 with following options ./configure \ --enable-htmldir=/var/www/qmailadmin/html \ --enable-cgibindir=/var/www/qmailadmin/html/cgi \ --enable-cgipath=/cgi/qmailadmin.cgi \ --enable-no-cache=y I have compiled the vpopmail-5.2.2 with following options vpopmail-5.2.2 ./configure \ --enable-roaming-users=y \ --enable-default-domain=pp.netsol.fi \ [EMAIL PROTECTED] \ --enable-relay-clear-minutes=360 \ --enable-logging=p \ --enable-defaultquota=2000S \ --enable-ip-alias-domains=n \ --enable-passwd=n \ --enable-clear-passwd=y \ --enable-ldap=y Best Regards Timo Virtaneva
[vchkpw] vget_assign returns only real domain
Hi there, I'm facing a small problem regarding the fact the vget_assign function in vpopmail.c always returns the real domain instead of the domain that the user used for authentication. At least this is what I get from the ChangeLog: 5.1.10 01/26/02 - [...] - vget_assign now will over write the incoming domain name with the real domain name. So from the example above, if you call strcpy( domain, "ken.com"); vget_assign(domain, dir, uid, gid); The domain variable will contain "test.com". On my servers, users can have more than one domain; in fact they're able to add/delete domains on the fly. Because a "main domain" (created with vadddomain) cannot be easily renamed, I decided to create a static hostname for each user in the form ".user.jonaspasche.com" and add all domains that a user wishes as aliasdomains to this internal hostname. That way, there's no hassle when a user wants to add further domain and one day decides to delete his first domain (which would have caused lots of trouble if this first domain would have been created with vadddomain). For POP/IMAP and SMTP relay access, everything works fine. The problem is with qmailadmin, which shows only the internal hostname, even if the user logged in with one of his "real" domains. Furthermore, creating ezmlm mailing lists causes the internal hostname to be written into the config file and into the text/* files, which in turn looks ugly when ezmlm sends out confirmations and so on. Is there any possibility to remove that functionality and let vget_assign return the same domain name it got from the user's input? Will other things break without this functionality? Thanks for your time, Jonas.
Re: [vchkpw] Converting existing qmail installation to use vpopmail
Roger Lipscombe wrote: I've got an existing qmail installation (installed according to LWQ). I've got the SMTP AUTH patch from http://members.elysium.pl/brush/qmail-smtpd-auth/. Currently, I'm processing the mail for several domains on the box, using system accounts for all users (of which there are 7 -- it's a personal box). This means that all users have email addresses on all of the domains that this box serves (of which there are 5). They generally only give one of them out, though. I'd like to start handling email for yet another domain, but I'd like to start separating the user accounts. The machine handles SMTP (using SMTP AUTH for roaming users) and POP3. It also hosts several top-level (/var/qmail/alias) mailing lists (using ezmlm-idx). I'd like to add IMAP. So, I'm thinking of installing vpopmail to do this. I have some questions: 1. Can I install it incrementally? I'd like to break as little as possible. Can I install it solely for the new domain, and then gradually migrate the other domains across? Compile vpopmail with the configure line to allow for authenticating system users, that way current users will not be affected. I forget which option it is, just a ./configure --help should tell you. Then users can keep logging in normally, and it should be no problem. This way users with a Maildir in their homedir can still get mail. Note: Have not tested this myself 2. Can I use the vchkpw program with the SMTP AUTH patch? Currently I'm using cmd5checkpw from http://members.elysium.pl/brush/cmd5checkpw/. I am not sure if vchkpw can do md5 checking, but yes it can do smtp auth, you will have to run qmail-smtpd as root to do so, but that should not be a problem 3. Can I use the vchkpw program with BincIMAP? This is the IMAP server that I'm currently investigating. I would not know, but another good imapd is courier-imapd. This is from inter7 as well, so it is easy to use with vpopmail. 4. Is it easy to use the CDB authentication? With only 7 or so users, it seems like overkill to use mysql. You should not notice the difference, personally i use cdb as i do not trust MySQL, if MySQL goes down, and my mail server is still up, i am still screwed as i can not fetch my mail, so i do it hd based, rather than MySQL, as i have had MySQL crash quite a few times. So yes CDB is standard for vpopmail, so it should be no problem at all. Cheers, Roger. Hope that helps. X
AW: [vchkpw] POP gives strange RETR answers
> It has to be debian specific because the patch I have has these changes, get > the current one here: > > http://www.shupp.org/ > > Or rather the fixed one in the latest vpopmail tarball. I got the patch from shupp.org. It fixes all the puts() ==> substdio_puts() apart from the two in the pop_top() function. I just wander if the pop_top() function is different in the debian release...
[vchkpw] Converting existing qmail installation to use vpopmail
I've got an existing qmail installation (installed according to LWQ). I've got the SMTP AUTH patch from http://members.elysium.pl/brush/qmail-smtpd-auth/. Currently, I'm processing the mail for several domains on the box, using system accounts for all users (of which there are 7 -- it's a personal box). This means that all users have email addresses on all of the domains that this box serves (of which there are 5). They generally only give one of them out, though. I'd like to start handling email for yet another domain, but I'd like to start separating the user accounts. The machine handles SMTP (using SMTP AUTH for roaming users) and POP3. It also hosts several top-level (/var/qmail/alias) mailing lists (using ezmlm-idx). I'd like to add IMAP. So, I'm thinking of installing vpopmail to do this. I have some questions: 1. Can I install it incrementally? I'd like to break as little as possible. Can I install it solely for the new domain, and then gradually migrate the other domains across? 2. Can I use the vchkpw program with the SMTP AUTH patch? Currently I'm using cmd5checkpw from http://members.elysium.pl/brush/cmd5checkpw/. 3. Can I use the vchkpw program with BincIMAP? This is the IMAP server that I'm currently investigating. 4. Is it easy to use the CDB authentication? With only 7 or so users, it seems like overkill to use mysql. Cheers, Roger.
Re: [vchkpw] POP gives strange RETR answers
tisdagen den 2 december 2003 18.59 skrev Marc Schneider: [...] > Anyway, just in case somebody is interested, the lines 309:314 of > qmail-pop3d.c have to be changed from > > /* okay(); */ > - puts("+OK "); > put(strnum,fmt_ulong(strnum,m[i].size)); > - puts(" octets\r\n"); > flush(); > > to > > /* okay(); */ > + substdio_puts(&ssout,"+OK "); > put(strnum,fmt_ulong(strnum,m[i].size)); > + substdio_puts(&ssout," octets\r\n"); > flush(); > > after applying the qmail-maildir++.patch . If anybody knows whether this is > debian specific please tell me - I'd really like to know. Actually I might > try and find out after I set up the rest of the server - still have to > debug the SMTP-Auth :( It has to be debian specific because the patch I have has these changes, get the current one here: http://www.shupp.org/ Or rather the fixed one in the latest vpopmail tarball.
RE: [vchkpw] POP gives strange RETR answers
I actually found the problem - it was the qmail pop3d I was using, not the courier-imap one. The qmail-maildir++.patch killed the pop3d.c - it forgot to change two puts(). Although it works now, I'm slightly confused: The qmail-maildir++.patch is quite old - I'm surely not the first one to use it. Maybe it's only the debian qmail-src it breaks, although i wouldn't know why and I'm surely not the only one to use it. Anyway, just in case somebody is interested, the lines 309:314 of qmail-pop3d.c have to be changed from /* okay(); */ - puts("+OK "); put(strnum,fmt_ulong(strnum,m[i].size)); - puts(" octets\r\n"); flush(); to /* okay(); */ + substdio_puts(&ssout,"+OK "); put(strnum,fmt_ulong(strnum,m[i].size)); + substdio_puts(&ssout," octets\r\n"); flush(); after applying the qmail-maildir++.patch . If anybody knows whether this is debian specific please tell me - I'd really like to know. Actually I might try and find out after I set up the rest of the server - still have to debug the SMTP-Auth :( Thanks Tom for setting me on the right track. Marc >> What I'm getting is a wrong answer the RETR queries (authentication >> works fine). When I Telnet the >> pop3 port I get: >> >> Trying 127.0.0.1... >> Connected to localhost. >> Escape character is '^]'. >> +OK <[EMAIL PROTECTED]> >> USER >> +OK >> PASS >> +OK >> LIST >> +OK >> 1 1862 >> . >> RETR 1 >> 1862Return-Path: <[EMAIL PROTECTED]> >> Delivered-To: [...] >> Received: [...] > > It sounds like a problem with your POP3 server. Perhaps try a > different version of courier-imap? Look into the source for > courier-imap to find the spot where it sends the response to RETR and > see if there are any obvious problems? > > -- > Tom Collins - [EMAIL PROTECTED]
[vchkpw] Migratinhg Vpopmail account to Vpopmail with Mysql
Hi There, I´ve to recreate my mail server on a OpenBSD and create a new instalation of vpopmail with mysql. My Answer is: How i can import mail accouts of vpopmail normal to vpopmail + Mysql? Exists some shell script for it? Fernando Dias Projetos Wireless para Provedores e Empresas [EMAIL PROTECTED] [EMAIL PROTECTED] ICQ: 1484973
Re: [vchkpw] Removing the "CatchAll Account" column from "Email Accounts" Page
On Tuesday, December 2, 2003, at 02:40 AM, Devendra Singh wrote: Is it possible to remove the "CatchAll Account" column from "Email Accounts" Page of qmailadmin v5.3.30? This is a question for the qmailadmin list at [EMAIL PROTECTED], but here's your answer. Edit show_users.html to remove that column. You'll probably want to leave it in place, but without a header. Edit user.c and go to about line 202. Comment everything in this section: if (bounced==0 && strncmp(pw->pw_name,TmpBuf3,sizeof(TmpBuf3)) == 0) { ... } else if (AdminType==DOMAIN_ADMIN) { ... } else { ... } Replace it with: fprintf(actout, " \n"); Re-compile and re-install qmailadmin and you (should be) all set. -- 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] disable_external_relay
Devendra, 1) did you set this flag up? 2) Are you sure you are not an open relay? Tonino At 02/12/2003 02/12/2003 +0530, you wrote: At 24/11/03 21:46 (), Tom Collins wrote: On Monday, November 24, 2003, at 03:37 AM, tonix (Antonio Nati) wrote: No,it works only for pop-before-SMTP. I suggested to use it also for SMTP relay, but it wqas preferred to add a dedicated bit for SMTP relaying. Use disable_smtp in the .qmailadmin-limits file to disable SMTP access for the domain. The current version of vpopmail (5.3.30) supports this flag. I upgraded to vpopmail-5.3.30, qmailadmin-1.0.29. Recompiled Courier-Imap-1.7.3. But, I am still not able to disable the SMTP. What might be wrong? Devendra Singh --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/03 [EMAIL PROTECTED]Interazioni di Antonio Nati http://www.interazioni.it [EMAIL PROTECTED]
Re: [vchkpw] POP gives strange RETR answers
On Tuesday, December 2, 2003, at 06:34 AM, Marc Schneider wrote: What I'm getting is a wrong answer the RETR queries (authentication works fine). When I Telnet the pop3 port I get: Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. +OK <[EMAIL PROTECTED]> USER +OK PASS +OK LIST +OK 1 1862 . RETR 1 1862Return-Path: <[EMAIL PROTECTED]> Delivered-To: [...] Received: [...] It sounds like a problem with your POP3 server. Perhaps try a different version of courier-imap? Look into the source for courier-imap to find the spot where it sends the response to RETR and see if there are any obvious problems? -- 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] disable_external_relay
On Tuesday, December 2, 2003, at 07:12 AM, Devendra Singh wrote: Use disable_smtp in the .qmailadmin-limits file to disable SMTP access for the domain. The current version of vpopmail (5.3.30) supports this flag. I upgraded to vpopmail-5.3.30, qmailadmin-1.0.29. Recompiled Courier-Imap-1.7.3. But, I am still not able to disable the SMTP. What might be wrong? Are you using SMTP AUTH or roaming users (aka POP before SMTP)? -- 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] disable_external_relay
At 24/11/03 21:46 (), Tom Collins wrote: On Monday, November 24, 2003, at 03:37 AM, tonix (Antonio Nati) wrote: No,it works only for pop-before-SMTP. I suggested to use it also for SMTP relay, but it wqas preferred to add a dedicated bit for SMTP relaying. Use disable_smtp in the .qmailadmin-limits file to disable SMTP access for the domain. The current version of vpopmail (5.3.30) supports this flag. I upgraded to vpopmail-5.3.30, qmailadmin-1.0.29. Recompiled Courier-Imap-1.7.3. But, I am still not able to disable the SMTP. What might be wrong? Devendra Singh --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/03
[vchkpw] POP gives strange RETR answers
Hi, I have a problem with my QMail - Vpopmail - QMail Scanner installation. I don't know whether it's VPopmail related, so hopefully I'm in the right mailing list :) My System is running debian 3.0 and is installed along the instructions of Michael Bowe with some changes as I'm installing the debian qmail package to fix the mail-transport dependencies and using SMTP-Auth. What I'm getting is a wrong answer the RETR queries (authentication works fine). When I Telnet the pop3 port I get: Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. +OK <[EMAIL PROTECTED]> USER +OK PASS +OK LIST +OK 1 1862 . RETR 1 1862Return-Path: <[EMAIL PROTECTED]> Delivered-To: [...] Received: [...] The answer should be something like +OK 825 octets [newline] Return-Path:... but it's [bytes]Return-Path:... , which breaks my client (and probably any client, as it's interpreted as an error message). Logs show nothing special: Message: vchkpw-pop3: (PLAIN) login success ... Error:2 If it's not VPopmail related, please tell me where to look. The messages that are stored in the VPopmail folder look fine. I ran the qmail scanner spam and virus tests and the mail end up, properly marked and as they should in the right maildir. I just can't access them, that's all. My exact configuration: Debian 3.0r1 woody openssl-0.9.7c shorewall firewall mysql 4.0.16 ucspi-tcp 0.88 (debian package with ucspi-rss.diff already applied) daemontools 0.76_8 debian source package qmail 1.03_24 (debian package, includes QMail queue patch, bad mail to patch, big dns patch. I applied patches: Tarpit, SMTP-Auth, TLS) vpopmail 5.3.30 (also tested with 5.3.29 - same thing) courier-imap 2.1.1 QMail Scanner 1.20 with spamassasin 2.60, razor sdk 2.03, agents 2.36, tnef 1.2.1, maildrop 1.6.3, clamav 0.65 VPopmail configure: --enable-roaming-users=n \ --enable-logging=v \ --enable-defaultquota=104857600S \ --enable-ip-alias-domains=n \ --enable-passwd=n \ --enable-clear-passwd=y \ --enable-domainquotas=y \ --enable-mysql=y \ --enable-many-domains=y \ --enable-auth-logging=y \ --enable-mysql-logging=y \ --enable-valias=y \ --enable-mysql-limits=n
[vchkpw] Removing the "CatchAll Account" column from "Email Accounts" Page
Hi List Members, Is it possible to remove the "CatchAll Account" column from "Email Accounts" Page of qmailadmin v5.3.30? How to do it? Thanks for the pointer in advance. __ Devendra Singh IndiaMART InterMESH Limited (Global Gateway to Indian Market Place) B-1, Sector 8, Noida, UP - 201301, India Voice : +91-120-2543945, 2543946, 2543947 Fax: +91-120-2543943 http://www.indiamart.com http://www.indiangiftsportal.com http://www.indiantravelportal.com __ --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/03