[vchkpw] vpopmail maildrop

2010-03-25 Thread Mohsen Pahlevanzadeh
Dear guys,
I installed netqmail-1.06 , ucspi-tcp-0.88.tar.gz 
daemontools-0.76.tar.gz.
Then i installed vpopmail-5.5.0  spamassassin ,qmail-scanner-2.08 
dovecot-1.2.11.
when i see log qmail's log file, i prevent to delivery 25: success:
client_connect:_connect_failed:_111/did_0+0+1/ I had to
run /home/vopmail/bin/vusaged
When i installed spam guard  qmailscanner i changed .qmail-default same
follow:
1. comment in following line:
| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
2.add following line:
| maildrop ../maildroprc

Notice: 
Already i implemented same system in old vpopmail.even i don't know task
of vusaged.
when i changed .qmail-default, even i don't receive gmail email.I had to
to comment out following line :
| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
i installed vpopmail same:
./configure --prefix=/home/vpopmail/ --enable-roaming-users
--enable-logging=p --enable-clear-passwd --disable-domain-quotas
--disable-passwd

Please help me.


!DSPAM:4bab7ee232713965318257!



[vchkpw] shaye'e

2009-06-18 Thread Mohsen Pahlevanzadeh
baba emrooz s...@e 5 meydooone imam hosseine na toopxoone ya meydoone
imam.be shaye'aat goosh nadid.


!DSPAM:4a3a02e532671341851948!



[vchkpw] shaye'e kezb bood hamoon toopxoone doroste.

2009-06-18 Thread Mohsen Pahlevanzadeh
na, hamooon toopxoone doroste.


!DSPAM:4a3a125632678009215691!



[vchkpw] [Fwd: Fw: مستندات علمی دستکاری در آراء انتخابات دهمین دوره انتخابات]

2009-06-18 Thread Mohsen Pahlevanzadeh



!DSPAM:4a3a15d532672137387213!
---BeginMessage---


--- On Wed, 6/17/09, PYM parsh...@yahoo.com wrote:


From: PYM parsh...@yahoo.com
Subject: مستندات علمی دستکاری در آراء انتخابات دهمین دوره انتخابات
To: a...@b.c
Date: Wednesday, June 17, 2009, 8:05 PM






خبرگزاری انتخاب:
توضیح انتخاب: این مطلب اختصاصا در انتخاب برای آگاهی شورای محترم نگهبان و 
نامزدهای دهمین دوره انتخابات ریاست جمهوری درج می گردد و مستنداتی ارائه می دهد 
که قابل پیگیری در علم آمار است. 
 
طی چند روز گذشته بحثهای فراوانی در خصوص امکان و احتمال تقلب در انتخابات ایران 
بعمل آمده است. با توجه به اینکه بازشماری آراء کاری پرزحمت برای دستگاه اجرایی و 
نظارتی انتخابات خواهد بود باید، کاندیدا های معترض شواهد و مستندات قابل قبولی را 
به این مراجعه اعلام نمایند تا دستکاری در نتایج انتخابات را آشکارا نشان دهد. 
گرچه اشاره به فرایندهای پرمسئله انتخابات مثل عدم استفاده برابر از امکانات ملی ، 
مداخله نیروهای نظامی در انتخابات، دستکاری در آراء شهروندان با روشهای مختلف ، 
همه و همه مستندات خوبی برای نشان دادن میزان تخلفات در انتخابات
 است اما به نظر میرسد راههای علمی زیادی وجود دارد که با استفاده از آمارهای 
اعلام شده توسط وزارت کشور این دستکاری ها در صورت وجود به نمایش گذاشته شود. 
 
صحبت از تقلب در انتخابات تنها یک موضوع مختص به ایران و حتی کشورهای در حال توسعه 
نظیر ونزوئلا، مکزیک، و زیمباوه نیست و در سال 2000 شاهد بودیم که بحث تقلب در 
انتخابات ریاست جمهوری در ایالت فلوریدا به موضوع داغ آنروزها بدل شده بود. به هر 
حال آنچه مسلم است آنکه اهمیت سیاست و موضوع تقلب در انتخابات سبب شده که 
دانشمندان علم آمار با استفاده از کمترین داده های موجود از انتخابات روشهای آماری 
را طراحی کنند که با کمک آن بتوان با صراحت در مورد سلامت انتخابات اظهار نظر 
نمایند. یکی از معمول ترین این روشها روشی است که از قانون بن فورد (Benford’s 
Law) پیروی
 میکند (علاقه مندان به مطالعه بیشتر در این خصوص را به دایره المعارف Wikipedia 
ارجاع میدهم و از دوستان آمار شناس و محققین علوم سیاسی را به مراجع انتهای مقاله 
ارجاع میدهم). بطور خیلی مختصر و قابل درک برای همه عزیزان این قانون به آن اشاره 
دارد که رقمهای مربوط به یک عدد (خواه یک رقمی یا بیش از یک رقمی) حاصل از شمارش 
یک پدیده در جهان خارج (جهان واقعی) از توزیع نرمال (Normal distribution) یا 
توزیع یک فرم (Uniform distribution) پیروی نمیکند بلکه از توزیعی شبیه توزیع Chi 
Square پیروی میکند. آقای بن فورد احتمال این اعداد را برای حوادثی چون انتخابات 
محاسبه کرده است. قابل ذکر
 است که اعداد ذکر شده در قانون بن فورد همانند قوانین نیوتن یک واقعیت علمی است و 
در حال حاضر علاوه بر مسئله انتخابات، برای رسیدگی به احتمال تقلب در سود سهام 
شرکتها و مسائل مالیاتی نیز از همین روش استفاده میشود.
 
اجازه بدهید چند خط از این مقاله را به توضیح ساده این قانون بپرادزم. در این 
قانون احتمال اینکه آخرین عدد سمت راست یک عدد (فرض کنید تعداد آراء اخذ شده به 
نفع یک کاندیدا) که میتواند یکی از اعداد 1 تا 9 باشد با هم برابر نیست. بلکه 
احتمال آنکه رقم سمت راست یک عدد، 1 باشد حدود 30% است در حالی که این احتمال برای 
عدد 9 در حدود 4.5%. همچنین است احتمال وجود عدد 0 تا 9 برای دومین رقم سمت راست 
تعداد آراء اخذ شده به نفع یک کاندیدا. بسیاری از منابع علمی دومین رقم سمت راست 
تعداد آراء اخذ شده به نفع یک کاندیدا در یک شهرستان را بعنوان معیار اندازه گیری 
تقلب در
 انتخابات تعیین میکنند و به آن 2nd digit Benford’s Law  می گویند و دلیل آن این 
است که اگر تقلب بوسیله نرم افزارهای شبیه سازی انجام شده است امکان دارد که رقم 
اول با قانون بن فورد همخوانی داشته باشد اما امکان دستکاری آرا و هماهنگ کردن آن 
با دومین رقم سمت راست فراهم نیست شما در شکل 1 احتمال اعداد را بر اساس قانون بن 
فورد میبینید.
 

 
 
حال که وزارت کشور جمهوری اسلامی ایران آمار تفکیکی شهرستان ها را اعلام نموده است 
کافی است ببینیم که فراوانی اعداد 0 تا 9  موجود (Observed) در  دومین رقم سمت 
راست اعلام شده برای هر کاندیدا(تعداد موجود برای هر عدد 0 تا 9) چقدر است و سپس 
فراوانی اعداد 0 تا 9 را برای حالت مورد انتظار(ٍExpected) که اعداد بر حسب قانون 
بن فورد توزیع میشوند( تعداد مورد انتظار برای هر عدد 0 تا 9) نیز محاسبه کنیم. و 
در آخرین قدم با استفاده از فرمول Calculated Chi Square میزان اختلاف بین تعداد 
موجود و تعداد مورد انتظار را بررسی میکنیم تا ببینیم این اختلاف یک اختلاف معنی 
دار است یا خیر.
 اگر Chi square Calculated  بیش از 1.69 باشد(P value 0.05) یعنی به احتمال 95% 
اعداد دستکاری شده است و در آمار این درصد به معنی قطعیت یک امر شناخته میشود. 
هرچقدر این عدد بزرگتر باشد نشاندهنده آنست که احتمال دستکاری از 95% بیشتر است. 
 
برای روشن شدن منظور از دومین عدد سمت راست آرای اخذ شده به نفع هر یک از کاندیدا 
ها یک مثال آورده میشود.  در داده های وزارت کشور  بعنوان مثال تعداد آرا اخذ شده 
به نفع آقای احمدی نژاد، رضایی، کروبی، و موسوی در شهر تهران  به ترتیب 1809855، 
95211، 43073، و 2166245 بوده است و دومین رقم سمت راست این اعداد به ترتیب 8، 5، 
3 و 1 خواهد بود.
حال اجازه دهید تا مراحلی را که مورد بحث قرار گرفت را  یک به یک اجرا کنیم:
 
1.    قدم اول فراوانی اعداد 0 تا 9  موجود (Observed)  در دومین رقم سمت راست  
آرا اخذ شده به نفع هر یک از کاندیدا ها برای 366 شهر اعلام شده توسط وزارت 
کشور. تصویر کامل جدول شماره یک

 
1.    محاسبه تعداد اعداد0 تا 9  مورد انتظار(ٍExpected)برای دومین رقم سمت راست  
آرا اخذ شده به نفع هر یک از کاندیدا ها برای 366 شهر اعلام شده توسط وزارت 
کشور. تصویر کامل جدول شماره دو

 

Re: [vchkpw] shaye'e kezb bood hamoon toopxoone doroste.

2009-06-18 Thread Mohsen Pahlevanzadeh
Sorry.i didn't send it.my friend used my laptop.
On Thu, 2009-06-18 at 02:27 +0430, Mohsen Pahlevanzadeh wrote:
 na, hamooon toopxoone doroste.
 
 
 
 


!DSPAM:4a3a20c432671793126858!



[vchkpw] procmail formail

2009-05-18 Thread Mohsen Pahlevanzadeh
Dear all,
i have a mail server  vpopmail.
Now, i want to copy from each message to a directory.i find a way to do
it.
i put following line in .qmail-default : 
|formail -X   ~/text.txt
Of course above line is test.Given line doesn't retrieves Return* header
field.
My question:
How i retrieve entire email same itslef?
Yours,
Mohsen




!DSPAM:4a11065b32681777415522!



[vchkpw] domains with 2 letter

2009-05-12 Thread Mohsen Pahlevanzadeh
Dear all,
I can't add domains with 2 letter.
What's its philosophy?
Yours,
Mohsen


!DSPAM:4a09248532682079718683!



[vchkpw] horde passwd

2009-05-11 Thread Mohsen Pahlevanzadeh
Dear all,
i installed passwd module on horde.But i can't change password via
horde.Please guide me
Yours,
Mohsen


!DSPAM:4a08f1fb32684120340312!



Re: [vchkpw] disabling user[solved]

2009-05-05 Thread Mohsen Pahlevanzadeh
I used vmoduser  solved my problem.
On Mon, 2009-05-04 at 21:05 +0430, Mohsen Pahlevanzadeh wrote:
 Dear all,
 I need to disable domain  user  when user wants to login, i show
 him/her You are disabled.
 How i do?
 i use qmail.
 Yours,
 Mohsen
 
 
 
 
 


!DSPAM:49ffeae132681336519520!



[vchkpw] disabling user

2009-05-04 Thread Mohsen Pahlevanzadeh
Dear all,
I need to disable domain  user  when user wants to login, i show
him/her You are disabled.
How i do?
i use qmail.
Yours,
Mohsen



!DSPAM:49ffc1f432687259216796!



[vchkpw] convert to vpopmail

2009-04-20 Thread Mohsen Pahlevanzadeh
Dear all,
Our customer has a mail server on Windows.i must to convert its database
to vpopmail  its mta to qmail.
Now, i have a question:
What's file name format for each mail in maildir storage?
Yours,
Mohsen


!DSPAM:49ec1e6f32681018017804!



Re: [vchkpw] setuid vuserinfo

2009-04-19 Thread Mohsen Pahlevanzadeh
chmod a+s /home/vpopmail/bin/vuserinfo
On Sun, 2009-04-19 at 20:34 +0200, Harm van Tilborg wrote:
 Hi Mohsen,
 
 Probably because vuserinfo needs /var/qmail/users/assign. What's the 
 chmod of that file?
 


!DSPAM:49ebeee132681145019364!



RE: [vchkpw] big picture

2009-04-06 Thread Mohsen Pahlevanzadeh
I see those given big pictures is internal of qmail.I wanna draw
external of qmail.qmail is black box in my big picture.
On Mon, 2009-04-06 at 09:23 -0400, Ron Miller wrote:
 See:
 
 http://qmail.jms1.net/qmail-1-incoming.pdf
 
 and
 
 http://qmail.jms1.net/qmail-2-delivery.pdf
 
 -Ron Miller
 
 -Original Message-
 From: Mohsen Pahlevanzadeh [mailto:moh...@pahlevanzadeh.org] 
 Sent: Monday, April 06, 2009 8:39 AM
 To: vchkpw@inter7.com
 Subject: [vchkpw] big picture
 
 Dear all,
 You  every mail-man saw Big Picture of qmail.
 I assumed qmail is black box.I want to extend big picture, i use qmail admin
 ,Devocot  vpopmail.
 I draw a few relation.Can you tell me whether i draw correct?Also i need to
 if i didn't draw relation tell me that i will draw that.
 Yours,
 Mohsen
 
 
 
 
 
 
 


!DSPAM:49da101732681063124876!



Re: [vchkpw] Courier support

2009-03-11 Thread Mohsen Pahlevanzadeh
You can use mysql module of courier,But its config is difficult.
On Tue, 2009-03-10 at 10:06 -0500, Matt Brookings wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 It's a sad tale, but a true one.  We're all probably aware that Courier-MTA 
 has dropped support for vpopmail.
 This has forced many of us to move to the speedier, and in my opinion, 
 overall better, Dovecot package --An easy
 move indeed.
 
 While working on implementation of the updated quota code, which involved 
 wading through hundreds of lines
 of code hacked and slashed out of Courier-MTA's libraries to provide support 
 for Courier-IMAP, I realized
 what a good thing this could be.
 
 Dovecot's quota system does not require Maildir++ support inherently.  The 
 vpopmail library, now compiled in
 with vusage support, can provide a quick plugin to Dovecot that totally 
 removes the requirement of writing
 and reading the maildirsize files.
 
 My question is this: Courier-IMAP has dropped us, should we drop Courier-IMAP?
 - --
 /*
 Matt Brookings m...@inter7.com   GnuPG Key D9414F70
 Software developer Systems technician
 Inter7 Internet Technologies, Inc. (815)776-9465
 */
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iEYEARECAAYFAkm2gg0ACgkQ6QgvSNlBT3BcGQCgltzL1FHw/LJp9UYxzYOpzprq
 v6QAoI7wbajsyCLsJoDXv1Ra2OYP+Bmq
 =7GK2
 -END PGP SIGNATURE-


!DSPAM:49b7e4fe32681625015452!



[vchkpw] vqadmin cgi

2009-03-10 Thread Mohsen Pahlevanzadeh
Dear all,
I made following VortualHost for vqadmin:
--
VirtualHost 127.0.0.2 
DocumentRoot /usr/lib/cgi-bin/vqadmin
ServerName vqadmin
#   ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/vqadmin
AddHandler cgi-script .cgi .pl
ErrorLog /usr/lib/cgi-bin/vqadmin/http-error.log
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
Directory /usr/lib/cgi-bin/vqadmin
allow from all
Options ExecCGI
AllowOverride AuthConfig
Order deny,allow
/Directory

/VirtualHost
--
I have apache 2.Also i wrote two following lines in /etc/hosts:
127.0.0.1   debian 
127.0.0.2   vqadmin
==
When i use vqadmin in my firefox, a dialog is opened  i user my pass 
my use.But i see following error:
0
Forbidden
You don't have permission to access / on this server.
000
Please help me
Yours,
Mohsen


!DSPAM:49b603e732683910014669!



Re: [vchkpw] vqadmin cgi

2009-03-10 Thread Mohsen Pahlevanzadeh
My problem was .htaccess permission.Thank you.
But i have new problem.I can authenticate.But i see Error Syntax erorr
in access lists in browser.My acl file is :
###
mohsen  VIMUDCAX mohsen
##
Yours,
Mohsen

On Tue, 2009-03-10 at 00:21 -0600, Remo Mattei wrote:
 Look at the apace logs it will tell you and it already says it  
 permission what is the user of apache? Is it running as vpopmail?
 Ciao
 
 Inviato da iPhone
 
 Il giorno 10/mar/09, alle ore 00:07, Mohsen Pahlevanzadeh 
 moh...@pahlevanzadeh.org 
   ha scritto:
 
  Dear all,
  I made following VortualHost for vqadmin:
  --
  VirtualHost 127.0.0.2 
 DocumentRoot /usr/lib/cgi-bin/vqadmin
 ServerName vqadmin
  #   ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/vqadmin
 AddHandler cgi-script .cgi .pl
 ErrorLog /usr/lib/cgi-bin/vqadmin/http-error.log
 ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  Directory /usr/lib/cgi-bin/vqadmin
 allow from all
 Options ExecCGI
 AllowOverride AuthConfig
 Order deny,allow
  /Directory
 
  /VirtualHost
  --
  I have apache 2.Also i wrote two following lines in /etc/hosts:
  127.0.0.1debian
  127.0.0.2vqadmin
  ==
  When i use vqadmin in my firefox, a dialog is opened  i user my  
  pass 
  my use.But i see following error:
  0
  Forbidden
  You don't have permission to access / on this server.
  000
  Please help me
  Yours,
  Mohsen
 
 
 
 
 
  
 
 
 
 


!DSPAM:49b6113432689875153030!



Re: [vchkpw] vqadmin cgi [solved]

2009-03-10 Thread Mohsen Pahlevanzadeh
I have found a space between mohsen  restricted.vqadmin doesn't accept
one more space between fields.

On Tue, 2009-03-10 at 10:34 +0330, Mohsen Pahlevanzadeh wrote:
 My problem was .htaccess permission.Thank you.
 But i have new problem.I can authenticate.But i see Error Syntax erorr
 in access lists in browser.My acl file is :
 ###
 mohsen  VIMUDCAX mohsen
 ##
 Yours,
 Mohsen
 
 On Tue, 2009-03-10 at 00:21 -0600, Remo Mattei wrote:
  Look at the apace logs it will tell you and it already says it  
  permission what is the user of apache? Is it running as vpopmail?
  Ciao
  
  Inviato da iPhone
  
  Il giorno 10/mar/09, alle ore 00:07, Mohsen Pahlevanzadeh 
  moh...@pahlevanzadeh.org 
ha scritto:
  
   Dear all,
   I made following VortualHost for vqadmin:
   --
   VirtualHost 127.0.0.2 
  DocumentRoot /usr/lib/cgi-bin/vqadmin
  ServerName vqadmin
   #   ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/vqadmin
  AddHandler cgi-script .cgi .pl
  ErrorLog /usr/lib/cgi-bin/vqadmin/http-error.log
  ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
   Directory /usr/lib/cgi-bin/vqadmin
  allow from all
  Options ExecCGI
  AllowOverride AuthConfig
  Order deny,allow
   /Directory
  
   /VirtualHost
   --
   I have apache 2.Also i wrote two following lines in /etc/hosts:
   127.0.0.1debian
   127.0.0.2vqadmin
   ==
   When i use vqadmin in my firefox, a dialog is opened  i user my  
   pass 
   my use.But i see following error:
   0
   Forbidden
   You don't have permission to access / on this server.
   000
   Please help me
   Yours,
   Mohsen
  
  
  
  
  
   
  
  
  
  
 
 
 
 


!DSPAM:49b619b732681658710955!



[vchkpw] images

2009-03-10 Thread Mohsen Pahlevanzadeh
Dear all,
I installed vqadmin  enjoy.
I see apache log  see following lines:
===
[Tue Mar 10 11:07:49 2009] [error] [client 127.0.0.2] File does not
exist: /usr/lib/cgi-bin/vqadmin/images, referer:
http://vqadmin/cgi-bin/vqadmin/vqadmin.cgi/show/add_user.html
=
I understood i don't have images dir.Can you mail me images
directory?(not to list, just to moh...@pahlevanzadeh.org)

Yours,
Mohsen



!DSPAM:49b61b7532681862412684!



[vchkpw] logout

2009-03-10 Thread Mohsen Pahlevanzadeh
Dear all,
I installed vqadmin  working it.(with superuser), but i don't know to
how to log out.
guide me if possible...
Yours,
Mohsen


!DSPAM:49b665b632681660376791!



[vchkpw] vqadmin

2009-03-07 Thread Mohsen Pahlevanzadeh
Dear all,
If you setup vqadmin on your server, can i see .htaccess ?
Also i wanna see its permission  vqadmin.passwd permission.
Yours,
Mohsen


!DSPAM:49b2670732686935767297!



Re: [vchkpw] courier this community

2009-03-03 Thread Mohsen Pahlevanzadeh
Dear all,

Also i have installed dovecot.dovecot support every feature same
pgsql,ldap  etc.

Yours,
Mohsen
On Tue, 2009-03-03 at 11:34 +0100, Alessio Cecchi wrote:
 Tonix (Antonio Nati) ha scritto:
  Mohsen Pahlevanzadeh ha scritto:
  Dear all,
  Courier has removed vpopmail module from authentication module list.
  According to courier's action, i think vpopmail has security
  problem.Correct this?
  Yours,
  Mohsen
 
 
 
 
 

  Courier author had always something against vpopmail.
  We should all switch to dovecot or others soon.
  
  Tonino
  
 
 Moreover, Dovecot is too simple to configure and many, many fast than
 courier-imap.
 
 Bye


!DSPAM:49ad18e332685300221412!



[vchkpw] mysql auth

2009-02-25 Thread Mohsen Pahlevanzadeh
Dear all,
At first i installed qmail from LWQ on Debian.Then i installed
courier-imap  courier-pop  their core.
Then i installed vpopmail with  mysql auth module.Even i tested it  it
read  write to mysql.
Now, When i use following command,i give error:
--
localhost:/home/mohsen# telnet 0 110
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
+OK Hello there.
user postmas...@mohsenjan
+OK Password required.
pass 123456
-ERR Login failed.
Connection closed by foreign host.
localhost:/home/mohsen# cd vpopmail-5.4.27
--
mohsenjan is my domain that i inserted to my db.
When i saw my /var/log/mail.log, i see follow line:

Feb 25 19:17:20 localhost authdaemond: SQL query: SELECT pw_name,
pw_passwd, pw_clear_passwd, pw_uid, pw_gid, pw_dir , , , ,  FROM
vpopmail WHERE pw_name = 'postmas...@mohsenjan' 
Feb 25 19:17:20 localhost authdaemond: zero rows returned
Feb 25 19:17:20 localhost authdaemond: no password available to compare
Feb 25 19:17:20 localhost authdaemond: authmysql: REJECT - try next
module
Feb 25 19:17:20 localhost authdaemond: FAIL, all modules rejected
Feb 25 19:18:01 localhost pop3d: LOGOUT, ip=[:::127.0.0.1]
Feb 25 19:18:01 localhost pop3d: Disconnected, ip=[:::127.0.0.1]
---
My question: 
How i tell to courier to pw_name is just is my username from email?.It
doesn't contain domain name
I have attached my /etc/courier/authmysqlrc file.
Yours,
Mohsen


!DSPAM:49a575d132681124118433!
##VERSION: $Id: authmysqlrc,v 1.20 2007/10/07 02:50:45 mrsam Exp $
#
# Copyright 2000-2007 Double Precision, Inc.  See COPYING for
# distribution information.
#
# Do not alter lines that begin with ##, they are used when upgrading
# this configuration.
#
# authmysqlrc created from authmysqlrc.dist by sysconftool
#
# DO NOT INSTALL THIS FILE with world read permissions.  This file
# might contain the MySQL admin password!
#
# Each line in this file must follow the following format:
#
# field[spaces|tabs]value
#
# That is, the name of the field, followed by spaces or tabs, followed by
# field value.  Trailing spaces are prohibited.


##NAME: LOCATION:0
#
# The server name, userid, and password used to log in.

MYSQL_SERVERlocalhost
MYSQL_USERNAME  vpopmailuser
MYSQL_PASSWORD  vpoppasswd

##NAME: SSLINFO:0
#
# The SSL information.
#
# To use SSL-encrypted connections, define the following variables (available
# in MySQL 4.0, or higher):
#
#
# MYSQL_SSL_KEY/path/to/file
# MYSQL_SSL_CERT   /path/to/file
# MYSQL_SSL_CACERT /path/to/file
# MYSQL_SSL_CAPATH /path/to/file
# MYSQL_SSL_CIPHERSALL:!DES

##NAME: MYSQL_SOCKET:0
#
# MYSQL_SOCKET can be used with MySQL version 3.22 or later, it specifies the
# filesystem pipe used for the connection
#
 MYSQL_SOCKET   /var/run/mysqld/mysqld.sock

##NAME: MYSQL_PORT:0
#
# MYSQL_PORT can be used with MySQL version 3.22 or later to specify a port to
# connect to.

MYSQL_PORT  3306

##NAME: MYSQL_OPT:0
#
# Leave MYSQL_OPT as 0, unless you know what you're doing.

MYSQL_OPT   0

##NAME: MYSQL_DATABASE:0
#
# The name of the MySQL database we will open:

MYSQL_DATABASE  vpopmail

#NAME: MYSQL_CHARACTER_SET:0
#
# This is optional. MYSQL_CHARACTER_SET installs a character set. This option
# can be used with  MySQL version 4.1 or later. MySQL supports 70+ collations
# for 30+ character sets. See MySQL documentations for more detalis.
#
# MYSQL_CHARACTER_SET latin1

##NAME: MYSQL_USER_TABLE:0
#
# The name of the table containing your user data.  See README.authmysqlrc
# for the required fields in this table. 

MYSQL_USER_TABLEvpopmail

##NAME: MYSQL_CRYPT_PWFIELD:0
#
# Either MYSQL_CRYPT_PWFIELD or MYSQL_CLEAR_PWFIELD must be defined.  Both
# are OK too. crypted passwords go into MYSQL_CRYPT_PWFIELD, cleartext
# passwords go into MYSQL_CLEAR_PWFIELD.  Cleartext passwords allow
# CRAM-MD5 authentication to be implemented.

MYSQL_CRYPT_PWFIELD pw_passwd

##NAME: MYSQL_CLEAR_PWFIELD:0
#
#
MYSQL_CLEAR_PWFIELD pw_clear_passwd
##NAME: MYSQL_DEFAULT_DOMAIN:0
#
# If DEFAULT_DOMAIN is defined, and someone tries to log in as 'user',
# we will look up 'u...@default_domain' instead.
#
#
# DEFAULT_DOMAINexample.com

##NAME: MYSQL_UID_FIELD:0
#
# Other fields in the mysql table:
#
# MYSQL_UID_FIELD - contains the numerical userid of the account
#
MYSQL_UID_FIELD pw_uid

##NAME: MYSQL_GID_FIELD:0
#
# Numerical groupid of the account

MYSQL_GID_FIELD pw_gid

##NAME: MYSQL_LOGIN_FIELD:0
#
# The login id, default is id.  Basically the query is:
#
#  SELECT MYSQL_UID_FIELD, MYSQL_GID_FIELD, ... WHERE id='loginid'
#

MYSQL_LOGIN_FIELD   pw_name

##NAME: MYSQL_HOME_FIELD:0
#

MYSQL_HOME_FIELD pw_dir 

##NAME: MYSQL_NAME_FIELD:0
#
# The user's name (optional)

#MYSQL_NAME_FIELD   pw_gecos


[vchkpw] merging ldap mysql

2009-02-23 Thread Mohsen Pahlevanzadeh
Dear all,
I wanna know can i install ldap+mysql+qmail+vpopmail ? Or no , Or with
mysql or with ldap?
Yours,
Mohsen


!DSPAM:49a2a76e32681337035543!



[vchkpw] vpopmail qmail-scanner

2008-10-08 Thread Mohsen Pahlevanzadeh
Dear all,

I use FreeBSD  qmail  vpopmail.
Now i have installed qmail-scanner.But when i change /etc/tcp.smtpd ,i
have no incoming message.
But i use normal rules, i have incoming message.
Please help me...

Yours,
Mohsen


!DSPAM:48ec715d32311913719379!