[vchkpw] Re: vhostadmin vpopmaild connect failed
Hi list. Found mistake which cause momentary connection closing. vpopmaild.c line 202 ... if ( (write_size = fputs(WriteBuf,stdout) = 0) ) exit(-1); .. have to be if ( (write_size = fputs(WriteBuf,stdout) 0) ) exit(-1); follow man fputs: ... The fputs() function returns 0 on success and EOF on error;.. Best regards, Butsyk A. Butsyk A. wrote: Hi list. I'd like to try vhostadmin but have a problem to login with vhostadmin. Vhostadmin uses vpopmaild to co-operate with vpopmail. Here is vpopmaild/run script: #!/bin/sh exec /usr/local/bin/tcpserver -v -HRDP -l 0 -X 0 89 \ /usr/local/vpopmail/bin/vpopmaild 21 For test purpose it uses root permissions and 89 port. When i try to connect to localhost:89 after +OK connection instantaneously closed. #telnet 127.0.0.1 89 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. +OK Connection closed by foreign host. Vhostadmin includes/global.inc : ... /* vpopmaild configuration */ $vd_host = 127.0.0.1; $vd_port = 89; $vd_sock = 0; $vd_conn = 0; $vd_auth = array(); ... Vhostadmin can't login user with this errors: vpopmaild_read: socket_read failed: 54 vpopmaild_auth_flags: vpopmaild_read failed vpopmaild_connect: vpopmaild_auth_flags failed vpopmaild_connect failed Am I miss something? Best regards, Butsyk.
[vchkpw] vhostadmin vpopmaild connect failed
Hi list. I'd like to try vhostadmin but have a problem to login. Vhostadmin uses vpopmaild to co-operate with vpopmail. Here is vpopmaild/run script: #!/bin/sh exec /usr/local/bin/tcpserver -v -HRDP -l 0 -X 0 89 \ /usr/local/vpopmail/bin/vpopmaild 21 For test purpose it uses root permissions and 89 port. When i try to connect to localhost:89 after +OK connection instantaneously closed. #telnet 127.0.0.1 89 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. +OK Connection closed by foreign host. Vhostadmin includes/global.inc : ... /* vpopmaild configuration */ $vd_host = 127.0.0.1; $vd_port = 89; $vd_sock = 0; $vd_conn = 0; $vd_auth = array(); ... Vhostadmin can't login user with this errors: vpopmaild_read: socket_read failed: 54 vpopmaild_auth_flags: vpopmaild_read failed vpopmaild_connect: vpopmaild_auth_flags failed vpopmaild_connect failed Am I miss something? Best regards, Butsyk.
[vchkpw] summer of code
Hi list. Why doesn't inter7 participate in Summer of code? Google summer of code address http://code.google.com/summerofcode.html. Regards, Anton
[vchkpw] qmail control/locals #5.4.6
Hi list. Please help. During mail delivery i've error: Sorry. Although I'm listed as a best-preference MX or A for that host, it isn't in my control/locals file, so I don't treat it as local. (#5.4.6) Find this error in qmail-remote.c source: - ... prefme = 10; for (i = 0;i ip.len;++i) if (ipme_is(ip.ix[i].ip)) if (ip.ix[i].pref prefme) prefme = ip.ix[i].pref; if (relayhost) prefme = 30; if (flagallaliases) prefme = 50; for (i = 0;i ip.len;++i) if (ip.ix[i].pref prefme) break; if (i = ip.len) perm_ambigmx(); /* The message */ ... #tcpdump -i lo0 -tn IP 10.0.0.6.63485 10.0.0.6.53: 64505+ ANY? host. (34) IP 10.0.0.6.53 10.0.0.6.63485: 64505 1/0/0 NS ns.host. (51) IP 10.0.0.6.53226 10.0.0.6.53: 64506+ MX? host. (34) IP 10.0.0.6.53 10.0.0.6.53226: 64506 2/0/0 MX[|domain] IP 10.0.0.6.50322 10.0.0.6.53: 64507+ A? relay. (34) IP 10.0.0.6.53 10.0.0.6.50322: 64507 1/0/0 A ip (50) IP 10.0.0.6.53182 10.0.0.6.53: 64508+ A? relay2. (35) IP 10.0.0.6.53 10.0.0.6.53182: 64508 1/0/0 A ip2 (51) So (i = ip.len) = (2 = 2) - true and exit from perm_ambigmx() with message above, but control/locals is empty all domains handle with vpopmail control/virtualdomains. I can't find my error, please help. Regards, Anton
[vchkpw] vqregister control/locals
Hi list. Sorry if this post is offtopic but can't find vqregister list and google didn't get answer. When new client trying to register new email account and enter exist email to receive password the answer from vqregister is: Sorry. Although I'm listed as a best-preference MX or A for that host, it isn't in my control/locals file, so I don't treat it as local. (#5.4.6) (qmail-remote.c, void perm_nomx()). The exist email address handled by the same email server as virtual domain with vpopmail (control/rcpthosts). The error looks like not MX record in DNS but all MX exist. Please tell, how to allow register? Regards, Anton.
Re: [vchkpw] hi CPU usage
Shane Chrisp wrote: On Fri, 2005-07-01 at 19:49 +0300, Anton Butsyk wrote: For now only 11 connections to qmail: 97 processes: 11 running, 86 sleeping CPU states: 95.7% user, 0.0% nice, 2.0% system, 2.3% interrupt, 0.0% idle Mem: 53M Active, 53M Inact, 46M Wired, 59M Buf, 329M Free Swap: 1024M Total, 1024M Free PID USERNAME PRI NICE SIZERES STATETIME WCPUCPU COMMAND 818 root 1240 3244K 2332K RUN 0:44 9.08% 9.08% qmail-smtpd 827 root 1230 3244K 2332K RUN 0:19 9.08% 9.08% qmail-smtpd 820 root 1240 3244K 2332K RUN 0:29 9.03% 9.03% qmail-smtpd 825 root 1230 3244K 2332K RUN 0:24 9.03% 9.03% qmail-smtpd 831 root 1230 3244K 2332K RUN 0:17 9.04% 9.03% qmail-smtpd 833 root 1230 3244K 2332K RUN 0:16 9.04% 9.03% qmail-smtpd 828 root 1230 3244K 2332K RUN 0:18 8.99% 8.98% qmail-smtpd 849 root 1230 3244K 2332K RUN 0:09 8.88% 8.64% qmail-smtpd 851 root 1230 3244K 2332K RUN 0:06 9.46% 8.64% qmail-smtpd I definately agree that there is something wrong here. You seem to have heaps of memory free, but what speed is the cpu in the system? What happens if you stop and restart the qmail-smtpd service? Does it help if you only allow 5 concurrent connections at a time? Shane Thanks you all very match. It was just rewrite qmail-smtpd script: #!/bin/sh QMAIL=/var/qmail ME=$(head -1 $QMAIL/control/me) PATH=$QMAIL/bin:$PATH USER=${USER:=qmaild} exec /usr/local/bin/softlimit -m 500 \ /usr/local/bin/tcpserver -v -DURl $ME -x $QMAIL/control/qmail-smtpd.cdb -u qmaild 0 smtp \ /usr/local/bin/rblsmtpd -t 10 -b \ -r bl.spamcop.net \ -r list.dsbl.org \ -r cbl.abuseat.org \ $QMAIL/bin/qmail-smtpd 21 and everything begin works fine. Also add -b option to rblsmtpd to use a 553 error code for IP addresses listed in the RBL because early they just standed in the queue. Regards, Anton
Re: [vchkpw] hi CPU usage
Rick Macdougall wrote: Anton Butsyk wrote: Shane Chrisp wrote: On Fri, 2005-07-01 at 19:49 +0300, Anton Butsyk wrote: For now only 11 connections to qmail: 97 processes: 11 running, 86 sleeping CPU states: 95.7% user, 0.0% nice, 2.0% system, 2.3% interrupt, 0.0% idle Mem: 53M Active, 53M Inact, 46M Wired, 59M Buf, 329M Free Swap: 1024M Total, 1024M Free PID USERNAME PRI NICE SIZERES STATETIME WCPUCPU COMMAND 818 root 1240 3244K 2332K RUN 0:44 9.08% 9.08% qmail-smtpd 827 root 1230 3244K 2332K RUN 0:19 9.08% 9.08% qmail-smtpd 820 root 1240 3244K 2332K RUN 0:29 9.03% 9.03% qmail-smtpd 825 root 1230 3244K 2332K RUN 0:24 9.03% 9.03% qmail-smtpd 831 root 1230 3244K 2332K RUN 0:17 9.04% 9.03% qmail-smtpd 833 root 1230 3244K 2332K RUN 0:16 9.04% 9.03% qmail-smtpd 828 root 1230 3244K 2332K RUN 0:18 8.99% 8.98% qmail-smtpd 849 root 1230 3244K 2332K RUN 0:09 8.88% 8.64% qmail-smtpd 851 root 1230 3244K 2332K RUN 0:06 9.46% 8.64% qmail-smtpd Hi, As Tom stated earlier, you don't appear to have run the make tmprsadh as a lot of .pem files didn't show up in the ls of /var/qmail/control that you posted earlier. Make sure you run the make tmprsadh in the netqmail directory and make sure you add the /var/qmail/bin/update_tmprsadh to your crontab to run once a day. Regards, Rick Hi, Thank you for advice. Script update_tmprsadh adds rsa512.pem, dh512.pem, dh1024.pem into /var/qmail/control dir. ( update_tmprsadh: lines: 12, 18, 24 chown vpopmail.qmail - incorrect for *BSD man: chown [-fhv] [-R [-H | -L | -P]] owner[:group] file ...)
Re: [vchkpw] hi CPU usage
Rick Macdougall wrote: Anton Butsyk wrote: Shane Chrisp wrote: On Fri, 2005-07-01 at 19:49 +0300, Anton Butsyk wrote: For now only 11 connections to qmail: 97 processes: 11 running, 86 sleeping CPU states: 95.7% user, 0.0% nice, 2.0% system, 2.3% interrupt, 0.0% idle Mem: 53M Active, 53M Inact, 46M Wired, 59M Buf, 329M Free Swap: 1024M Total, 1024M Free PID USERNAME PRI NICE SIZERES STATETIME WCPUCPU COMMAND 818 root 1240 3244K 2332K RUN 0:44 9.08% 9.08% qmail-smtpd 827 root 1230 3244K 2332K RUN 0:19 9.08% 9.08% qmail-smtpd 820 root 1240 3244K 2332K RUN 0:29 9.03% 9.03% qmail-smtpd 825 root 1230 3244K 2332K RUN 0:24 9.03% 9.03% qmail-smtpd 831 root 1230 3244K 2332K RUN 0:17 9.04% 9.03% qmail-smtpd 833 root 1230 3244K 2332K RUN 0:16 9.04% 9.03% qmail-smtpd 828 root 1230 3244K 2332K RUN 0:18 8.99% 8.98% qmail-smtpd 849 root 1230 3244K 2332K RUN 0:09 8.88% 8.64% qmail-smtpd 851 root 1230 3244K 2332K RUN 0:06 9.46% 8.64% qmail-smtpd Hi, As Tom stated earlier, you don't appear to have run the make tmprsadh as a lot of .pem files didn't show up in the ls of /var/qmail/control that you posted earlier. Make sure you run the make tmprsadh in the netqmail directory and make sure you add the /var/qmail/bin/update_tmprsadh to your crontab to run once a day. Regards, Rick Thanks, Rick. I have great confidence that files rsa512.pem, dh512.pem, dh1024.pem was the main point of hi CPU usage of qmail-smtpd process (do the stress test now and watch the top). Even after I've remade qmail-smtpd/run script follow advises, qmail-smtpd proccess proceed with full (up to 100% during one connection) CPU usage, but now with this files qmail-smptd process never up to 0.05% CPU usage. The disadvantage is lack of docs and log messages about missed files in qmail-toaster with smtp auth patch. Regards, Anton
[vchkpw] hi CPU usage
Hi list! I've setup netqmail (http://qmail.org/netqmail/) with toaster patch (http://shupp.com/patches/qmail-toaster-0.7.2.patch.bz2) on FreeBSD 5.4 with vpopmail (check user patch), courier-imap, sqwebmail (full toaster but without virus scanner at all) for network about 3k users. This is qmail-smtpd/run script: #!/bin/sh exec 21 QMAIL=/var/qmail ME=$(head -1 $QMAIL/control/me) PATH=$QMAIL/bin:$PATH USER=${USER:=qmaild} exec /usr/local/bin/softlimit -m 500 \ /usr/local/bin/tcpserver -v -DURl $ME -x$QMAIL/control/qmail-smtpd.cdb -u qmaild 0 smtp \ /usr/local/bin/rblsmtpd \ /usr/local/bin/rblsmtpd -rbl.spamcop.net \ /usr/local/bin/rblsmtpd -rlist.dsbl.org \ /usr/local/bin/rblsmtpd -rcbl.abuseat.org \ $QMAIL/bin/qmail-smtpd everything work but 40 qmail-smtpd processes (or less nevermind) eat my CPU time up to 100 % (CPU states: 94.5% user, 0.0% nice, 3.1% system, 2.3% interrupt, 0.0% idle) Please tell me is it normal? Or it's time to switch to exim? Please help. Regards, Anton Butsyk
[vchkpw] hi CPU usage
Hi list! I've setup netqmail (http://qmail.org/netqmail/) with toaster patch (http://shupp.com/patches/qmail-toaster-0.7.2.patch.bz2) on FreeBSD 5.4 with vpopmail (check user patch), courier-imap, sqwebmail (full toaster but without virus scanner at all) for network about 3k users. This is qmail-smtpd/run script: #!/bin/sh exec 21 QMAIL=/var/qmail ME=$(head -1 $QMAIL/control/me) PATH=$QMAIL/bin:$PATH USER=${USER:=qmaild} exec /usr/local/bin/softlimit -m 500 \ /usr/local/bin/tcpserver -v -DURl $ME -x$QMAIL/control/qmail-smtpd.cdb -u qmaild 0 smtp \ /usr/local/bin/rblsmtpd \ /usr/local/bin/rblsmtpd -rbl.spamcop.net \ /usr/local/bin/rblsmtpd -rlist.dsbl.org \ /usr/local/bin/rblsmtpd -rcbl.abuseat.org \ $QMAIL/bin/qmail-smtpd everything work but 40 qmail-smtpd processes (or less nevermind) eat my CPU time up to 100 % (CPU states: 94.5% user, 0.0% nice, 3.1% system, 2.3% interrupt, 0.0% idle) Please tell me is it normal? Or it's time to switch to exim? Please help. Regards, Anton Butsyk
Re: [vchkpw] hi CPU usage
Shane Chrisp wrote: On Fri, 2005-07-01 at 19:02 +0300, Anton Butsyk wrote: Hi list! everything work but 40 qmail-smtpd processes (or less nevermind) eat my CPU time up to 100 % (CPU states: 94.5% user, 0.0% nice, 3.1% system, 2.3% interrupt, 0.0% idle) Is it actually the Qmail processes that are using the CPU or is it something else. Whats showing up in top or iostat/vmstat etc. That will at least give you a clue where to start looking. Shane For now only 11 connections to qmail: 97 processes: 11 running, 86 sleeping CPU states: 95.7% user, 0.0% nice, 2.0% system, 2.3% interrupt, 0.0% idle Mem: 53M Active, 53M Inact, 46M Wired, 59M Buf, 329M Free Swap: 1024M Total, 1024M Free PID USERNAME PRI NICE SIZERES STATETIME WCPUCPU COMMAND 818 root 1240 3244K 2332K RUN 0:44 9.08% 9.08% qmail-smtpd 827 root 1230 3244K 2332K RUN 0:19 9.08% 9.08% qmail-smtpd 820 root 1240 3244K 2332K RUN 0:29 9.03% 9.03% qmail-smtpd 825 root 1230 3244K 2332K RUN 0:24 9.03% 9.03% qmail-smtpd 831 root 1230 3244K 2332K RUN 0:17 9.04% 9.03% qmail-smtpd 833 root 1230 3244K 2332K RUN 0:16 9.04% 9.03% qmail-smtpd 828 root 1230 3244K 2332K RUN 0:18 8.99% 8.98% qmail-smtpd 849 root 1230 3244K 2332K RUN 0:09 8.88% 8.64% qmail-smtpd 851 root 1230 3244K 2332K RUN 0:06 9.46% 8.64% qmail-smtpd ... #vmstat 1 procs memory page disk faults cpu r b w avmfre flt re pi po fr sr ad0 in sy cs us sy id 12 15 0 188100 331912 324 0 1 0 262 0 0 30957 2829 2426 65 6 29 11 15 0 188100 331900 2484 0 0 0 2129 0 12 31317 7885 2675 84 16 0 11 15 0 188024 332044 3367 0 0 0 2924 0 3 31269 10750 2816 83 17 0 11 15 0 188104 331848 3385 0 0 0 2854 0 0 31270 10704 2797 83 17 0 11 15 0 188056 331904 3568 0 0 0 3064 0 1 31215 11168 2825 79 21 0 11 15 0 188032 331952 3286 0 0 0 2809 0 0 31240 10427 2784 84 16 0 11 15 0 188028 331948 3185 0 0 0 2714 0 1 31238 10107 2765 84 16 0 11 15 0 188104 331828 3493 0 0 0 2965 0 0 31224 11039 2820 83 17 0 11 15 0 189200 331684 3496 0 0 0 2985 0 1 31233 11203 2921 86 14 0 11 15 0 189344 331612 3482 0 0 0 3000 0 0 31231 10870 2795 84 16 0 11 15 0 189524 331548 2775 0 0 0 2358 0 0 31207 8849 2667 84 16 0 11 15 0 190512 331336 2251 0 0 0 1916 0 0 31234 7053 2579 87 13 0 11 15 0 190524 331316 2622 0 0 0 2236 0 0 31207 8397 2643 80 20 0 11 15 0 190520 331316 2354 0 0 0 2003 0 0 31210 7531 2587 83 17 0 11 15 0 190476 331368 2602 0 0 0 2237 0 0 31121 8244 2620 87 13 0 11 15 0 190540 331296 2225 0 0 0 1883 0 0 31211 7416 2590 83 17 0 11 -- procs wating CPU 15 - disk (vpopmail i guess) #iostat 1 tty ad0 cpu tin tout KB/t tps MB/s us ni sy in id 1 96 4.48 38 0.17 67 0 4 2 27 0 129 0.00 0 0.00 82 0 16 2 0 0 43 0.00 0 0.00 88 0 9 2 0 0 43 0.00 0 0.00 87 0 10 3 0 0 43 16.00 5 0.08 85 0 14 1 0 0 43 0.00 0 0.00 84 0 12 3 0 0 43 27.20 10 0.27 87 0 10 3 0 0 43 0.00 0 0.00 86 0 12 2 0 0 43 2.00 1 0.00 90 0 8 2 0 0 43 3.20 5 0.02 88 0 11 2 0 #netstat -LSa Current listen queue sizes (qlen/incqlen/maxqlen) Proto Listen Local Address ... tcp4 16/0/20*.smtp 16 - connections wait for Regards, Anton Butsyk
Re: [vchkpw] hi CPU usage
Shane Chrisp wrote: On Sat, 2005-07-02 at 00:19 +0800, Shane Chrisp wrote: On Fri, 2005-07-01 at 19:02 +0300, Anton Butsyk wrote: Hi list! Is it actually the Qmail processes that are using the CPU or is it something else. Whats showing up in top or iostat/vmstat etc. That will at least give you a clue where to start looking. I should also add things like are you using qmail-scanner and/or other plugin Perl prog's that could be taking all your system resources? Shane 1.NO perl plugins. 2. Do reverse dns checking. =:allow :allow,RBLSMTPD=-bad reverse dns 127.0.:allow,RELAYCLIENT=,RBLSMTPD= 10.0.:allow,RELAYCLIENT=,RBLSMTPD= 3. 4 domains in the rcpthosts all virtual handled by vpopmail. 4. Added TLS and SMTP-AUTH support to netqmail 1.05 5. # ll /var/qmail/control -rw-r--r-- 1 root qmail15 24 08:41 badmailfrom lrwxr-xr-x 1 root qmail14 7 15:21 clientcert.pem - servercert.pem -rw-r--r-- 1 root qmail 4 27 23:19 concurrencylocal -rw-r--r-- 1 root qmail 4 27 23:19 concurrencyremote -r-xr-xr-x 1 root wheel 8 29 17:39 databytes -r-xr-xr-x 1 root wheel17 27 23:19 defaultdomain -rw-r--r-- 1 root qmail 0 1 07:01 locals -rw--- 1 root qmail 0 30 12:24 locals.lock -r-xr-xr-x 1 root wheel17 19 09:32 me -rw-r--r-- 1 root qmail 2611 23 15:23 qmail-smtpd.cdb -r--r--r-- 1 root wheel 412 23 15:23 qmail-smtpd.rules -rw-r--r-- 1 root qmail 6 5 16:26 queuelifetime -rw-r--r-- 1 root qmail55 1 09:54 rcpthosts -rw--- 1 root qmail 0 30 12:24 rcpthosts.lock -rw-r--r-- 1 root 5003214 7 15:22 req.pem -rw-r- 1 vpopmail qmail 4101 7 15:23 servercert.pem -rw-r--r-- 1 root qmail 110 1 09:54 virtualdomains Anything else which can help? Regards, Anton Butsyk
[vchkpw] vchkpw foreign auth
Hi list. We have email server base on qmail+vpopmail+mysql. Clients receive mail via POP3. This is qmail-pop3d run script: # #!/bin/sh exec 21 QMAIL=/var/qmail ME=$(head -1 $QMAIL/control/me) PATH=$QMAIL/bin:$PATH exec tcpserver -v -DpHRl $ME -X 0 pop3 \ $QMAIL/bin/qmail-popup $ME \ /usr/local/vpopmail/bin/vchkpw \ $QMAIL/bin/qmail-pop3d Maildir # ~vpopmail/bin/vchkpw - checks for user and password by default in colums: vpopmail.vpopmail.pw_namechar(32) vpopmail.vpopmail.pw_domain char(64) vpopmail.vpopmail.pw_passwd char(40) Everything for mysql is in the vmysql.c? But we already had one big database with client's data with replication servers. It will be nice to use this database. The database alrealy had colums: email: [EMAIL PROTECTED] pass: MD5-hash It's enough for authentication. Is it possible to do authentication via foreign database? Thanks, butsyk
[vchkpw] user auth without domain
Hi all. We have qmail + vpopmail-mysql + courier-imap installation on FreeBSD. Have domain farm with large number of users per one. Users can receive mail via imap, pop3 and user name during login looks like [EMAIL PROTECTED] and password than. Please tell is it possible to auth users for one domain in the farm only via username without domain. Thanks. Anton
Re: [vchkpw] user auth without domain
I've added ~vpopmail/etc/defaultdomain # echo domain.com ~vpopmail/etc/defaultdomain restart qmail, courier-imap... nothing happends #telnet 127.0.0.1 110 Escape character is '^]'. +OK Hello there. user user +OK Password required. pass -ERR Login failed. user [EMAIL PROTECTED] +OK Password required. pass (the same) +OK logged in. quit +OK Bye-bye. We are using: qmail-1.03_3A secure, reliable, efficient, simple, and fast MTA vpopmail-5.4.10 Easy virtual domain and authentication package for use with mysql support courier-imap-4.0.3,1 IMAP (and POP3) server that provides access to Maildir mail ianfp wrote: you must set the domain that you want to be default to vpopmailhome/etc/defaultdomain Anton Butsyk wrote: Hi all. We have qmail + vpopmail-mysql + courier-imap installation on FreeBSD. Have domain farm with large number of users per one. Users can receive mail via imap, pop3 and user name during login looks like [EMAIL PROTECTED] and password than. Please tell is it possible to auth users for one domain in the farm only via username without domain. Thanks. Anton
Re: [vchkpw] user auth without domain
Thank you. i found an error, just replace courier-imap-pop3 with qmail-pop3d and ~vpopmail/etc/defaultdomain begin to work fine. like this: exec tcpserver -v -DpHRl $ME -X 0 pop3 \ $QMAIL/bin/qmail-popup $ME \ /usr/local/vpopmail/bin/vchkpw \ $QMAIL/bin/qmail-pop3d Maildir regards ianfp wrote: you must set the domain that you want to be default to vpopmailhome/etc/defaultdomain Anton Butsyk wrote: Hi all. We have qmail + vpopmail-mysql + courier-imap installation on FreeBSD. Have domain farm with large number of users per one. Users can receive mail via imap, pop3 and user name during login looks like [EMAIL PROTECTED] and password than. Please tell is it possible to auth users for one domain in the farm only via username without domain. Thanks. Anton
Re: [vchkpw] user auth without domain
Hi, Felix This is permissions : #ls | grep defaultdomain -rw-r--r-- 1 vpopmail vchkpw defaultdomain but courier-imap-pop3d doesn't use that file i guess. Felix wrote: Does the vpopmail user has the permission to read that ~vpopmail/etc/defaultdomain file? Mr Felix Lim IT Manager CREAION SINGAPORE mobile: 9844 4195 fax: 6363 2093 email: [EMAIL PROTECTED] website: http://www.creaion.com Central mailing: CREAION SINGAPORE, Woodlands Post Office PO BOX 299 Singapore 917313 - Creaion Business Solution: 1] Info-Technology Department -- Corporate Server System Management -- Website Management and Web-Hosting -- Customised Software Development -- Games Development 2] Creative Design Department -- Events/Promotional Design -- Products Packaging Design -- Websites/Web Media Design -- Software Interface Design -- Corporate Image Design 3] Additional Developments -- Mobile Games Development -- Mobile Payment System Management -- E-learning Platform Development -- CYBERLEAGUE Event Management *** IMPORTANT NOTICE: This message and any attachment hereto may contain privileged and/or confidential information. If you are not the intended recipient, please delete it immediately and kindly notify us by reply email. We do not assure the security of information electronically transmitted, and your communication with us through such means shall signify your acceptance of any risk attaching thereto. Conclusions and other information in this message that do not relate to the official business of Creaion Singapore shall be understood as neither given nor endorsed by it. *** On 02-Jun-05, at PM 06:54, Anton Butsyk wrote: I've added ~vpopmail/etc/defaultdomain # echo domain.com ~vpopmail/etc/defaultdomain restart qmail, courier-imap... nothing happends #telnet 127.0.0.1 110 Escape character is '^]'. +OK Hello there. user user +OK Password required. pass -ERR Login failed. user [EMAIL PROTECTED] +OK Password required. pass (the same) +OK logged in. quit +OK Bye-bye. We are using: qmail-1.03_3A secure, reliable, efficient, simple, and fast MTA vpopmail-5.4.10 Easy virtual domain and authentication package for use with mysql support courier-imap-4.0.3,1 IMAP (and POP3) server that provides access to Maildir mail ianfp wrote: you must set the domain that you want to be default to vpopmailhome/etc/defaultdomain Anton Butsyk wrote: Hi all. We have qmail + vpopmail-mysql + courier-imap installation on FreeBSD. Have domain farm with large number of users per one. Users can receive mail via imap, pop3 and user name during login looks like [EMAIL PROTECTED] and password than. Please tell is it possible to auth users for one domain in the farm only via username without domain. Thanks. Anton