Re: [vchkpw] spammassassin
depends on how you installed it. if you're calling it from qmail-queue, then it filter all in/out if you're using maildrop or something else - only in is filtered 14.10.2010 15:18, Abd El Aziz Rehan пишет: installed the spam assassin with clamAV .my question is .is spam assassin filtering of inbound / outbound messa !DSPAM:4cb6ecd932711458829840! attachment: dvorkin.vcf
Re: [vchkpw] Re: vpopmail FHS compliance
Itamar Reis Peixoto wrote: that's a great , but qmail is no more maintaned (no new features) no new features in qmail for 10 years... because it rocks! :) I'm sure, community will repack qmail soon to simplify things. !DSPAM:49c281b332685987920984! begin:vcard fn:Dmitry Dvorkin n:Dvorkin;Dmitry org:Take Over The World Inc;Evil Solutions adr:;;;Tver;;170001;Russia email;internet:dvor...@flightmedia.ru title:Dr Evil x-mozilla-html:FALSE url:http://dvorkin.tvernet.ru version:2.1 end:vcard
Re: [vchkpw] vpopmail loadable module support.
it's name have to be rude-vpopmail-5.4.25.patch, ofcouse Dmitry Dvorkin wrote: It's very, very simple On Sun, 28 Dec 2008 01:53:51 -0200, Itamar Reis Peixoto ita...@ispbrasil.com.br wrote: Can you send the patch ? On Sat, Dec 27, 2008 at 10:08 PM, Dvorkin Dmitry dvor...@flightmedia.ru wrote: I did it for my own vpopmail installation and made my own patch. It's pity that developers are waiting for stars to be in a good position at the sky to do it. aledr wrote: I thought about that and sent a mail to Rick Widmer some weeks ago but got no answer, maybe he missed the message. If can forward It if you want. Well, It could looks like dovecot plugins, It's quiet easy to manage. I would like to ask about vpopmail development status. There's no activity on sourceforge cvs and a lot of patches waiting revision, one of them include a question I did in this post: http://sourceforge.net/mailarchive/message.php?msg_name=73e156130809171322y55f9e46bp7082067fee6887cc%40mail.gmail.com Here is the patch sent by Jukka Kurkela: http://sourceforge.net/tracker2/index.php?func=detailaid=2320700group_id=85937atid=577800 There seems to have some other piece of code missing. What should we expect? I sent my openSuSE spec file for vpopmail to Itamar and Robin on Oct/07. On which distribution are you building on? Regards. On Sat, Dec 27, 2008 at 4:19 PM, Itamar Reis Peixoto ita...@ispbrasil.com.br wrote: what you think about changing vpopmail database modules to work as loadable module support ? example. mod_pgsql mod_mysql mod_sqlite mod_cdb mod_sybase mod_oracle this will make easy to create a vpopmail RPM with support for more than one database module. -- Itamar Reis Peixoto e-mail/msn: ita...@ispbrasil.com.br sip: ita...@ispbrasil.com.br skype: itamarjp icq: 81053601 +55 11 4063 5033 +55 34 3221 8599 -- [ ]'s Aledr - Alexandre OpenSource Solutions for SmallBusiness Problems -- Itamar Reis Peixoto e-mail/msn: ita...@ispbrasil.com.br sip: ita...@ispbrasil.com.br skype: itamarjp icq: 81053601 +55 11 4063 5033 +55 34 3221 8599 !DSPAM:49573dba32671770912982! begin:vcard fn:Dmitry Dvorkin n:Dvorkin;Dmitry org:Take Over The World Inc;Evil Solutions adr:;;;Tver;;170001;Russia email;internet:dvor...@flightmedia.ru title:Dr Evil x-mozilla-html:FALSE url:http://dvorkin.tvernet.ru version:2.1 end:vcard
Re: [vchkpw] vpopmail loadable module support.
I did it for my own vpopmail installation and made my own patch. It's pity that developers are waiting for stars to be in a good position at the sky to do it. aledr wrote: I thought about that and sent a mail to Rick Widmer some weeks ago but got no answer, maybe he missed the message. If can forward It if you want. Well, It could looks like dovecot plugins, It's quiet easy to manage. I would like to ask about vpopmail development status. There's no activity on sourceforge cvs and a lot of patches waiting revision, one of them include a question I did in this post: http://sourceforge.net/mailarchive/message.php?msg_name=73e156130809171322y55f9e46bp7082067fee6887cc%40mail.gmail.com Here is the patch sent by Jukka Kurkela: http://sourceforge.net/tracker2/index.php?func=detailaid=2320700group_id=85937atid=577800 There seems to have some other piece of code missing. What should we expect? I sent my openSuSE spec file for vpopmail to Itamar and Robin on Oct/07. On which distribution are you building on? Regards. On Sat, Dec 27, 2008 at 4:19 PM, Itamar Reis Peixoto ita...@ispbrasil.com.br wrote: what you think about changing vpopmail database modules to work as loadable module support ? example. mod_pgsql mod_mysql mod_sqlite mod_cdb mod_sybase mod_oracle this will make easy to create a vpopmail RPM with support for more than one database module. -- Itamar Reis Peixoto e-mail/msn: ita...@ispbrasil.com.br sip: ita...@ispbrasil.com.br skype: itamarjp icq: 81053601 +55 11 4063 5033 +55 34 3221 8599 -- [ ]'s Aledr - Alexandre OpenSource Solutions for SmallBusiness Problems !DSPAM:4956c3cb32672293016558! begin:vcard fn:Dmitry Dvorkin n:Dvorkin;Dmitry org:Take Over The World Inc;Evil Solutions adr:;;;Tver;;170001;Russia email;internet:dvor...@flightmedia.ru title:Dr Evil x-mozilla-html:FALSE url:http://dvorkin.tvernet.ru version:2.1 end:vcard
Re: [vchkpw] delivery problem vpopmail 5.4.7 + mysql
0.0.0.0 is typically is an alias for all interfaces :) used by servers to bind to all interfaces. not valid from the client side if you need to connect using socket - use localhost, using IP - ip addr you can change this in /etc/my.cnf in [mysql] or something like [client] section of the config. Tren Blackburn пишет: 0.0.0.0 is typically an alias for localhost. It's not used very often anymore, but it still works in many cases. Try pinging 0.0.0.0 and see what happens. t. - Original Message - From: Antti Kanes [EMAIL PROTECTED] To: vchkpw@inter7.com vchkpw@inter7.com Sent: Thu Nov 13 00:36:04 2008 Subject: Re: [vchkpw] delivery problem vpopmail 5.4.7 + mysql Hola, As documented in vpopmail.mysql: # # Note: # The value of host may be either a hostname or an IP address. # If host is 'localhost', then sockets (Unix) or named pipes (Windows) # will be used instead of TCP/IP to connect to the server. Thus, this is more related to your MySQL server configuration; If you've set up your mysql server to listen to sockets, then localhost will work as a parameter. And if you've bind your mysql to listen to localhost (127.0.0.1) (and on linux servers, enabled your lo interface), that will work. 0.0.0.0 should never work (or at least I can't see why it should work, not being a valid address at all). In your case, I'd guess you've set your MySQL server to only listen to connections on your servers public ip address Cheers, Antti Kanes Quoting Geri Anggara [EMAIL PROTECTED]: Hi, On Tue, 11 Nov 2008 14:16:46 -0800 Tren Blackburn [EMAIL PROTECTED] wrote: Domain quotas are broken, and have been for years now. Regards, Tren Many-many thanks. My problem was solved now. It relates to the existing mysql. Seems in my case i have to put IP-address in the /home/vpopmail/etc/vpopmail.mysql Somehow 'localhost' not work, 127.0.0.1 not work, 0.0.0.0 not work, but public IP, it worked. Don't really know why. Domain quota seem's like working, but breakable by small-size email. - Original Message - From: Geri Anggara [EMAIL PROTECTED] To: vchkpw@inter7.com vchkpw@inter7.com Sent: Tue Nov 11 14:10:24 2008 Subject: [vchkpw] delivery problem vpopmail 5.4.7 + mysql Hi, I need to use vpopmail 5.4.7 along with domainquotas support together with mysql. I have a very strange problem, that qmail-send log keep saying d z 1226437320.400681500 1226437320.400742500 1226437320.406664500 205 [EMAIL PROTECTED] 18797 502 d z 1226437320.400681500 1226437415.351574500 1226437415.381846500 205 [EMAIL PROTECTED] 18797 502 d z 1226438455.466867500 1226438455.466901500 1226438455.471854500 206 [EMAIL PROTECTED] 29832 502 d z 1226438455.466867500 1226438556.377593500 1226438556.382903500 206 [EMAIL PROTECTED] 29832 502 Mail never gets delivered. With latest vpopmail, i see error vdelivermail: deferred database_down Mail never gets delivered. I cannot see any other relevant error in /var/log/messages or /var/log/maillog. The database is not down since authenticating to vchkpw through port 110 is always successful. I use mysql 4.0.16 compiled. It didn't happen if i use CDB. Best Regards Geri Anggara !DSPAM:491c547332311264916807! begin:vcard fn:Dmitry Dvorkin n:Dvorkin;Dmitry org:Take Over The World Inc;Evil Solutions adr:;;;Tver;;170001;Russia email;internet:[EMAIL PROTECTED] title:Dr Evil x-mozilla-html:FALSE url:http://dvorkin.tvernet.ru version:2.1 end:vcard
Re: [vchkpw] Failed to delete user from auth backend Error: Illegal username
gentoo/debian ? it's a general database backend error. are you using mysql ? Sreedevi пишет: Hi, When I am trying to delete a user I am getting the following error. Failed to delete user from auth backend Error: Illegal username /home/vpopmail/bin/vdeluser [EMAIL PROTECTED] Failed to delete user from auth backend Error: Illegal username The version of vpopmail I user is /home/vpopmail/bin/vdeluser -v version: 5.4.9 Please help in diagnosing the problem.. I am completely lost. Sincerely, Sreedevi. Bring your gang together. Do your thing. Find your favourite Yahoo! Group. http://in.rd.yahoo.com/tagline_groups_9/*http://in.promos.yahoo.com/groups/ !DSPAM:48eb32cd32312117742114! begin:vcard fn:Dmitry Dvorkin n:Dvorkin;Dmitry org:Take Over The World Inc;Evil Solutions adr:;;;Tver;;170001;Russia email;internet:[EMAIL PROTECTED] title:Dr Evil x-mozilla-html:FALSE url:http://dvorkin.tvernet.ru version:2.1 end:vcard
Re: [vchkpw] Failed to delete user from auth backend Error: Illegal username
check for shared libs: ldd /home/vpopmail/lib/so and ldd /home/vpopmail/bin/vdeluser are all of them exist? strace /home/vpopmail/bin/vdeluser [EMAIL PROTECTED] will show the problem also Sreedevi пишет: Yes I am using REDHAT Enterprise linux, with mysql database. - Original Message From: Dvorkin Dmitry [EMAIL PROTECTED] To: vchkpw@inter7.com Sent: Tuesday, 7 October, 2008 3:43:54 PM Subject: Re: [vchkpw] Failed to delete user from auth backend Error: Illegal username gentoo/debian ? it's a general database backend error. are you using mysql ? Sreedevi пишет: Hi, When I am trying to delete a user I am getting the following error. Failed to delete user from auth backend Error: Illegal username /home/vpopmail/bin/vdeluser [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Failed to delete user from auth backend Error: Illegal username The version of vpopmail I user is /home/vpopmail/bin/vdeluser -v version: 5.4.9 Please help in diagnosing the problem.. I am completely lost. Sincerely, Sreedevi. Bring your gang together. Do your thing. Find your favourite Yahoo! Group. http://in.rd.yahoo.com/tagline_groups_9/*http://in.promos.yahoo.com/groups/ -Inline Attachment Follows- begin:vcard fn:Dmitry Dvorkin n:Dvorkin;Dmitry org:Take Over The World Inc;Evil Solutions adr:;;;Tver;;170001;Russia email;internet:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] title:Dr Evil x-mozilla-html:FALSE url:http://dvorkin.tvernet.ru http://dvorkin.tvernet.ru version:2.1 end:vcard Be the first one to try the new Messenger 9 Beta! Click here. http://in.rd.yahoo.com/tagline_messenger_7/*http://in.messenger.yahoo.com/win/ !DSPAM:48eb3e0132311840711185! begin:vcard fn:Dmitry Dvorkin n:Dvorkin;Dmitry org:Take Over The World Inc;Evil Solutions adr:;;;Tver;;170001;Russia email;internet:[EMAIL PROTECTED] title:Dr Evil x-mozilla-html:FALSE url:http://dvorkin.tvernet.ru version:2.1 end:vcard
Re: [vchkpw] vhostadmin problem
as I see, this peace of software wrote using old-style PHP passing variables as reference behavior. I can't make it work too even after some patching and making changes in php.ini, i've got an empty accounts list. :( write your own php code or rewrite this using php-sockets interface to vpopmaild hareram пишет: Hi I hav downloaded Vhostadmin and installed in my webserver as per the INSTALL i have modified the global.inc then http://myip/vhostadmin i get username and password when i enter with [EMAIL PROTECTED] password i am able to login, but later i get above right hand side mail and logout links when i click mail, its again going back to login page how can i use this Vhostadmin to modify the user informaton or create users Hare -- С уважением, Дмитрий Солдатов (Dvorkin) !DSPAM:4853d83a32351795932007!
Re: [vchkpw] no mailbox?!
check permissions and contents: # ls -l итого 20 -rw-r--r-- 1 root root 6964 2008-04-04 19:55 assign -rw--- 1 root root 0 2007-06-11 19:19 assign.lock -rw-r--r-- 1 root root 10904 2008-04-04 19:55 cdb # pwd /var/qmail/users # head -n 1 ./assign +comain.ru-:domain.ru:508:503:/home/vpopmail/domains/domain.ru:-:: it's my running system. look at the + before domain name kalin m пишет: no: May 27 09:05:25 machine qmail: 1211893525.434591 info msg 353625: bytes 714 from [EMAIL PROTECTED] qp 6000 uid 1010 May 27 09:05:25 machine qmail: 1211893525.436006 starting delivery 7: msg 353625 to local [EMAIL PROTECTED] May 27 09:05:25 machine qmail: 1211893525.436045 status: local 1/50 remote 0/20 May 27 09:05:25 machine qmail: 1211893525.438273 delivery 7: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ May 27 09:05:25 machine qmail: 1211893525.438400 status: local 0/50 remote 0/20 May 27 09:05:25 machine qmail: 1211893525.441724 bounce msg 353625 qp 6003 Boris Pavlov wrote: do [EMAIL PROTECTED] receives mail? edi. -- С уважением, Дмитрий Солдатов (Dvorkin) !DSPAM:483c5e8a32359341315960!
Re: [vchkpw] OT: Which RBLsmtpd lookups are you using?
my own localhost, mysql-driven Quey пишет: ISP Lists wrote: Which RBLsmtpd references are you using in your smtpd listeners and why? (example sbl-xbl.spamhaus.org in /var/qmail/supervise/qmail-smtp/run) dnsbl.sorbs.net bl.spamcop.net But if you're using spamhaus, you are better off just using zen.spamhause -- С уважением, Дмитрий Солдатов (Dvorkin) !DSPAM:47a2528e310545517320280!
Re: [vchkpw] Help with java using vpopmail database
using simple POP, IMAP or SMTP session commands. for example, telnet myserv.ee 110 user [EMAIL PROTECTED] OK pass mypass OK Luciano Bolonheis wrote: Hi, i installed vpopmail on a server and now other person wants to authenticate a software he is developing in the vpopmail database. He is coding in Java. Can anyone tell me how can he do it ? The function to use, or the method used by vpopmail... Thanks a lot in advance... Luciano Bolonheis -- С уважением, Дмитрий Солдатов (Dvorkin) !DSPAM:4762462032001443814050!
Re: [vchkpw] Imap Access Disabled
make and strace on courier-authlib. you'll see when it get glibc error [EMAIL PROTECTED] wrote: i check my /var/log/maillog nothing reports?! just like this Jun 12 05:48:43 Refatec-BWM authdaemond: stopping authdaemond children Jun 12 05:48:45 Refatec-BWM authdaemond: modules=authvchkpw, daemons=5 Jun 12 05:48:45 Refatec-BWM authdaemond: Installing libauthvchkpw Jun 12 05:48:45 Refatec-BWM authdaemond: Installation complete: authvchkpw Jun 12 05:49:19 Refatec-BWM imapd: Connection, ip=[:::127.0.0.1] Sounds like authlib restarts itself because of some internal problems. Got the same problem with libauthvchkpw. I use authmysql now and a hack in the authlib to bend permissions to vpopmail. I can't help you with libauthvchkpw... -- С уважением, Дмитрий Солдатов. __ Служба техничекой поддержки. Компания Взлет Медиа, Тверь Тел. +7 (0822) 69-11-55 E-mail: [EMAIL PROTECTED] http://www.flightmedia.ru
Re: [vchkpw] Imap Access Disabled
simple! in 1st window: telnet yourhost 143 in 2'd window we have: [EMAIL PROTECTED] .mc]# ps auxw | grep imapl root 11702 0.0 0.0 1476 392 ? S Jun12 0:00 /usr/local/courier-authlib/sbin/courierlogger -pid=/var/run/imapd.pid -start -name=imapd /usr/local/courier-imap//libexec/couriertcpd -address=0 -maxprocs=40 -maxperip=40 -nodnslookup -noidentlookup 143 /usr/local/courier-imap//sbin/imaplogin /usr/local/courier-imap//bin/imapd Maildir root 11703 0.0 0.0 1572 520 ? S Jun12 0:00 /usr/local/courier-imap//libexec/couriertcpd -address=0 -maxprocs=40 -maxperip=40 -nodnslookup -noidentlookup 143 /usr/local/courier-imap//sbin/imaplogin /usr/local/courier-imap//bin/imapd Maildir root 19659 0.0 0.0 1564 448 ? S 00:54 0:00 /usr/local/courier-imap//sbin/imaplogin /usr/local/courier-imap//bin/imapd Maildir root 19667 0.0 0.0 1664 628 pts/3 S+ 00:54 0:00 grep --color imapl , so we have to call: strace -ff -o ./mydebug /usr/local/courier-imap//libexec/couriertcpd -address=0 -maxprocs=40 -maxperip=40 -nodnslookup -noidentlookup 143 /usr/local/courier-imap//sbin/imaplogin /usr/local/courier-imap//bin/imapd Maildir then try telnet yourhost 143 in the other window make a login then see the files ./mydebug.* Navid rasi wrote: did u run the --redhat switch during the installation of courier imap? Remo yes i compile with --with-redhat make and strace on courier-authlib. you'll see when it get glibc error sorry but how ? -- С уважением, Дмитрий Солдатов. __ Служба техничекой поддержки. Компания Взлет Медиа, Тверь Тел. +7 (0822) 69-11-55 E-mail: [EMAIL PROTECTED] http://www.flightmedia.ru
[vchkpw] vchkpw smtp-after-imap patch
Hello, all! I found two problems in courier-imap-authlib: 1) it want not to be build with GCC-4.1.1 (when --with-authvchkpw): Compiling authvchkpw.c authvchkpw.c: In function 'auth_vchkpw': authvchkpw.c:86: warning: implicit declaration of function 'auth_vchkpw_login' authvchkpw.c: At top level: authvchkpw.c:103: error: static declaration of 'auth_vchkpw_login' follows non-static declaration authvchkpw.c:86: error: previous implicit declaration of 'auth_vchkpw_login' was here authvchkpw.c: In function 'auth_vchkpw_changepass': authvchkpw.c:198: warning: passing argument 1 of 'parse_email' discards qualifiers from pointer target type make[2]: *** [authvchkpw.lo] Error 1 2) it have no vpopmail roaming users support. I created a little patch to fix this problems: --- ./courier-authlib-0.59.3/authdaemon.c 2006-05-03 05:29:42.0 +0400 +++ ./courier-authlib-0.59.3/authdaemon.c 2007-06-07 17:22:06.0 +0400 @@ -55,6 +55,9 @@ strcat(strcat(buf, authtype), \n); strcat(buf, authdata); +// by Dv ([EMAIL PROTECTED]) patch0 : for SMTP-after-IMAP with vchkpw + if ( getenv( TCPREMOTEIP)) strcat( strcat( buf, getenv( TCPREMOTEIP)), \n); +// by Dv ([EMAIL PROTECTED]) patch0 : for SMTP-after-IMAP with vchkpw rc=authdaemondo(buf, callback_func, callback_arg); free(buf); diff -ru ./courier-authlib-0.59.3/authvchkpw.c ./courier-authlib-0.59.3/authvchkpw.c --- ./courier-authlib-0.59.3/authvchkpw.c 2007-04-22 22:53:30.0 +0400 +++ ./courier-authlib-0.59.3/authvchkpw.c 2007-06-07 17:43:58.0 +0400 @@ -78,32 +78,15 @@ } #endif -int auth_vchkpw(const char *service, const char *authtype, char *authdata, - int (*callback_func)(struct authinfo *, void *), - void *callback_arg) -{ - if (strcmp(authtype, AUTHTYPE_LOGIN) == 0) - return (auth_vchkpw_login(service, authdata, - callback_func, callback_arg)); - -#if HAVE_HMACLIB - return (auth_vchkpw_cram(service, authtype, authdata, - callback_func, callback_arg)); -#else - errno=EPERM; - return (-1); -#endif - -} - - - static int auth_vchkpw_login(const char *service, char *authdata, int (*callback_func)(struct authinfo *, void *), void *callback_arg) { char *user, *pass; struct callback_info ci; int rc; +// by Dv ([EMAIL PROTECTED]) patch0: SMTP-after-IMAP with vchkpw + char *ip; +// by Dv ([EMAIL PROTECTED]) patch0: SMTP-after-IMAP with vchkpw /* Make sure that we have been supplied with the correct * AUTHDATA format which is : useridNEWLINEpasswordNEWLINE */ @@ -114,6 +97,9 @@ return (-1); } +// by Dv ([EMAIL PROTECTED]) patch0: SMTP-after-IMAP with vchkpw + ip = strtok( 0, \n); +// by Dv ([EMAIL PROTECTED]) patch0: SMTP-after-IMAP with vchkpw ci.pass=pass; ci.callback_func=callback_func; ci.callback_arg=callback_arg; @@ -135,7 +121,13 @@ /* user has been successfully auth'ed at this point */ -#if 0 +// by Dv ([EMAIL PROTECTED]) patch0: SMTP-after-IMAP with vchkpw +//#if 0 + if ( ip) { + DPRINTF( courier-imap client IP:%s, ip); + setenv( TCPREMOTEIP, ip, 1); + } +// by Dv ([EMAIL PROTECTED]) patch0: SMTP-after-IMAP with vchkpw /* ** sam - new courier-authlib never receives TCPREMOTEIP, at this ** time. @@ -158,11 +150,32 @@ open_smtp_relay(); } #endif -#endif +// by Dv ([EMAIL PROTECTED]) patch0: SMTP-after-IMAP with vchkpw +//#endif +// by Dv ([EMAIL PROTECTED]) patch0: SMTP-after-IMAP with vchkpw return 0; } +int auth_vchkpw(const char *service, const char *authtype, char *authdata, + int (*callback_func)(struct authinfo *, void *), + void *callback_arg) +{ + if (strcmp(authtype, AUTHTYPE_LOGIN) == 0) + return (auth_vchkpw_login(service, authdata, + callback_func, callback_arg)); + +#if HAVE_HMACLIB + return (auth_vchkpw_cram(service, authtype, authdata, + callback_func, callback_arg)); +#else + errno=EPERM; + return (-1); +#endif + +} + + static void authvchkpwclose() { } -- Дворкин Дмитрий E-mail: [EMAIL PROTECTED]