Re: [vchkpw] ANNOUNCE: IndiMail authmodule for courier-imap

2008-08-27 Thread Boris Pavlov

Quey wrote:



[snip bunch of ego boosts]


be gone troll






offtopic: Quey, or whatever your boss calls you, there is troll around 
here but it is not Tom Collins. Go fuck yourself - but somewhere else, 
PLEASE? We are trying to do get some useful info reading this list, not 
some dick size contest features.


edi.



!DSPAM:48b5057a32311248019720!



Re: [vchkpw] no mailbox?!

2008-05-27 Thread Boris Pavlov

do [EMAIL PROTECTED] receives mail?

edi.


!DSPAM:483bbc0e32358322360014!



Re: [vchkpw] After 7 years of neglect Qmail is now ours

2007-12-03 Thread Boris Pavlov

Quey wrote:

Dan J Bernstein has recently put Qmail into the public domain,
 _http://cr.yp.to/qmail/dist.html_





HAH! Is this confirmed in some way?

!DSPAM:475423b232001190216534!



Re: [vchkpw] vpopmaild use 99% of CPU

2007-11-30 Thread Boris Pavlov

imap?

Alessio Cecchi wrote:

Hello all,

i'm using vpopmaild to manage some domains (add_user, add_alias ...) with a 
simply php script run on a remote web service.


Many time vpopmaild after some command remains to use all CPU TIME as long as 
I kill vpopmaild process:


PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
30689 root  20   0  1012 1012  768 R 97.1  0.1   3:20.21 vpopmaild


With recordio i registered tha last command after which vpopmaild go 
into loop:


@4000474fd7970d197e24 tcpserver: status: 1/10
@4000474fd7970d1c7fac tcpserver: pid 30689 from 212.35.215.144
@4000474fd7970d1db05c tcpserver: ok 30689 
0:63.149.200.5:89 :212.35.215.144::47632

@4000474fd7970d4bc924 30689  login [EMAIL PROTECTED] XXX
@4000474fd7970daf1704 30689  +OK M
@4000474fd7970db6102c 30689 
@4000474fd7970db617fc 30689  add_user [EMAIL PROTECTED] XM
@4000474fd7970dc8483c 30689  +OK+M
@4000474fd7970dc8bd6c 30689  vpopmail_dir /home/vpopmailM
@4000474fd7970dc92eb4 30689  
domain_dir /home/vpopmail/domains/circoli.itM

@4000474fd7970dc99444 30689  uid 89M
@4000474fd7970dca0974 30689  gid 89M
@4000474fd7970dcaff8c 30689  name postmasterM
@4000474fd7970dcb075c 30689  comment PostmasterM
@4000474fd7970dcb4dac 30689  quota 52428800SM
@4000474fd7970dcbc2dc 30689  
user_dir /home/vpopmail/domains/circoli.it/postmasterM
@4000474fd7970dcc2c54 30689  encrypted_password 
$1$xfoW4Kfg$..A0M

@4000474fd7970dcc99b4 30689  clear_text_password XXXM
@4000474fd7970dcd032c 30689  no_password_change 0M
@4000474fd7970dcd6ca4 30689  no_pop 0M
@4000474fd7970dcdda04 30689  no_webmail 0M
@4000474fd7970dce3f94 30689  no_imap 0M
@4000474fd7970dcea524 30689  bounce_mail 0M
@4000474fd7970dcf0e9c 30689  no_relay 0M
@4000474fd7970dcf7814 30689  no_dialup 0M
@4000474fd7970dcfe18c 30689  user_flag_0 0M
@4000474fd7970dd0471c 30689  user_flag_1 0M
@4000474fd7970dd0acac 30689  user_flag_2 0M
@4000474fd7970dd11a0c 30689  user_flag_3 0M
@4000474fd7970dd17f9c 30689  no_smtp 0M
@4000474fd7970dd1e914 30689  domain_admin_privileges 1M
@4000474fd7970dd2528c 30689  override_domain_limits 0M
@4000474fd7970dd2bc04 30689  no_spamassassin 0M
@4000474fd7970dd32194 30689  delete_spam 0M
@4000474fd7970dd38724 30689  no_maildrop 0M
@4000474fd7970dd3f09c 30689  system_admin_privileges 0M
@4000474fd7970dd56b84 30689  .M
@4000474fd7970e4b1884 30689  [EOF]
@4000474fd7970f781f04 30689  -ERR 0.305 Username existsM
@4000474fd7f825dfafb4 tcpserver: status: 2/10

After this vpopmaild stay in an infinite loop using all CPU Time :(

Thanks



!DSPAM:474fe39632002125924037!



Re: [vchkpw] vpopmaild use 99% of CPU

2007-11-30 Thread Boris Pavlov

Alessio Cecchi wrote:

Il Friday 30 November 2007 11:18:48 Boris Pavlov ha scritto:

imap?


what you mean?



skip it, sorry, my mistake.

!DSPAM:474ff8c932001749358807!



Re: [vchkpw] Re: Segfaulting in vadddomain

2006-06-15 Thread Boris Pavlov

Bill Gradwohl wrote:


I had this problem a few weeks ago on a Fedora Core 4 system, and it
turned out to be a problem somewhere in the kernel or support libraries.
I reported it and it was resolved when a new kernel build came out.
 

can you post here some more info - it will not be fedora, but if this is 
a kernel problem it can catch all of the distros.


edi
PS debian with stock kernel


Re: [vchkpw] [Fwd: qmail comparison]

2006-03-28 Thread Boris Pavlov

yes, sir, right away, SIR!
PS try

http://www.google.com/search?num=30hl=ensafe=offq=comparison+of+qmail+with+other+MTA+client+like+Exchangespell=1

yes, googling.

[EMAIL PROTECTED] wrote:


Hi,
what is this no one replyed to my mail





 Original Message 
Subject: qmail comparison
From:[EMAIL PROTECTED]
Date:Wed, March 29, 2006 8:29 am
To:  vchkpw@inter7.com
--

hi ,
iam new to qmail instllation server.before starting the qmail instllation
i like to know few details,
please tell me
1 The advantages and disadvantages qmail,
2  comparison of qmail with other MTA cleint like Exchabge
serve,postfix,lotus notes,sendmail.etc
3.wich is stable MTA

Best regards,
Balaji




 





Re: [vchkpw] validate from

2005-12-06 Thread Boris Pavlov

Hi,

And how the name/account under which the user gained access to send mail 
will appear in the Received headers?


Tom Collins wrote:


On Oct 25, 2005, at 8:35 AM, Ingo Claro wrote:

How can I do that with smtp auth qmail validates that the from must 
be the

same that the auth user?

the idea is to avoid some user  [EMAIL PROTECTED]  can impersonate 
another

user and send mails with another from:  [EMAIL PROTECTED], I only want to
admit him to send emails with from: [EMAIL PROTECTED], being 
domain.com  a

local domain.



No current way to do it.

Note though, that if smith pretends to be jones, his name will appear 
in the Received: headers of the message.


If you try to force the SMTP AUTH username to be the same as the MAIL 
FROM, then smith can just send his forged e-mail from another server.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: sniffter.com





Re: [vchkpw] REQUEST FOR NEW FEATURE: INTERNAL-ONLY ACCOUNTS

2005-06-14 Thread Boris Pavlov
just run another mail server. on a different machine or port. better on 
a different machine - if you want to have really internal mail, you 
must have internal server - meaning security.


wwell edi


Bruno Negrão wrote:


Hi guys,

As managers and directors of the companies are getting more acquainted 
about the Internet use (and abuse) inside their companies, they want 
to have more and more control over what employees can and cannot do on 
the Internet.


Now, the director of one of the companies I give support asked me to 
set a bunch of e-mail accounts as internal-only, i.e., they can send 
e-mail internally but cannot send or receive external e-mails.


As I reconized that his need probably will also be desired for a lot 
of other companies, I think it's worth to discuss here which would be 
the most appropriate manner to achieve this feature with Qmail and 
Vpopmail.



THE IDEAL SCENE:

The ideal scene for me would be if vpopmail could provide a means for 
doing this. To set the internal-only account I'd like to end up going 
to Qmailadmin, editing the properties of some user account, and just 
checking the new check-box: ( ) Internal-only account;


I have no idea of how this could be implemented by vpopmail. Can 
someone out there imagine something?



IDEAS:

Until now, the only thing that occurs to me in order to accomplish 
this, is to edit (manually) the famous /var/vpopmail/tcp.smtp file and 
laboriously add a bunch of IP addresses, of each internal-only user, 
unsetting the RELAYCLIENT variable for each one of them. This would 
prevent the users from sending e-mails to external domains. But they 
could receive external e-mails (althouth they would not be able answer 
the e-mails).


Or, suddenly, I could set the IPs of all internal-only user's machines 
inside a specified IP range, and I would disable RELAYCLIENT just for 
this range. I should explain this change to my customer, and they 
should follow the IP range specification. Still, I would be relying on 
tcp.smtp file to accomplish this.


Further ideas?


Regards,
-
Bruno Negrao - Support Analyst
Engepel Teleinformática. 55-31-34812311
Belo Horizonte, MG, Brazil





Re: [vchkpw] REQUEST FOR NEW FEATURE: INTERNAL-ONLY ACCOUNTS

2005-06-14 Thread Boris Pavlov

Bruno Negrão wrote:


Thanks Tom, but this is not what I'm looking for.
I want that, in the same domain and network, some users can 
send-receive external emails and some user are interal-only.


regards,
bruno


place a second, relay-only server, and block there. the main server will 
be used from the clients, then the mail will be relayed to the second 
server if needed.


anyway, it would be a nice feature. but, imho, will be too complicated 
to implement, in qmail+vpopmail.


wwell edi


Re: [vchkpw] what webmail

2005-05-05 Thread Boris Pavlov

Rizwan Iqbal Malik wrote:
HOW ABOUT HORDE IMP WEBMAIL IT SEEMS GOOD IF RUNNING ON A DEDICATED SERVER.
-Original Message-
From: Rakotomandimby (R12y) Mihamina
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 04, 2005 9:15 PM
To: vchkpw@inter7.com
Subject: Re: [vchkpw] what webmail

On Wed, 2005-05-04 at 14:04 +0300, Boris Pavlov wrote:
 

so, humble advice
   

I asked for advices. Yours is welcome to me. Thanks again! :-)
 

if you (can) have the webmail on the same server, use sqwebmail
   

Well. The mail server is on the same machine. Let's see how does it
(sqwebmail) behave for multiple virtual domains. 'cause the mail server
hosts many domains.
 


should not matter ;) you log in with the complete email address as 
username. there is an option to use dropdown for (some) of the domains, 
but what domain will be in the list you choose (manually).

wwell edi


Re: [vchkpw] what webmail

2005-05-04 Thread Boris Pavlov
mihamina,
others, pop3 based, use their own databases. btw, they (can) keep the 
inbound mail in the pop3 server. anyway, if you can live with sqwebmail, 
do it. it is awesome, and, really, no imap/no pop. so, humble advice - 
if you (can) have the webmail on the same server, use sqwebmail. if you 
can not (not using your own mail server or other reason) - check if you 
can use imap. if you don't - use pop3.

wwell edi
Charles J. Boening wrote:
Sqwebmail reads a user maildir directory.  No IMAP and no POP.
Charlie
 

-Original Message-
From: Rakotomandimby (R12y) Mihamina 
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 03, 2005 11:14 PM
To: vchkpw@inter7.com
Subject: Re: [vchkpw] what webmail

On Tue, 2005-05-03 at 21:15 -0500, Juan Enciso wrote:
   

If you need performance you should use sqwebmail,
 

But..
Doesn't webmailing require IMAP? (Because of mail storage) If 
my mind is right I read IMAP was a good deal for webmailing 
and POP was good if people fetch their messages somewhere...

And as far as I read vpopmail does not do IMAP. is not it?
--
ASPO Infogérance   http://aspo.rktmb.org/activites/infogerance
Unofficial FAQ fcolc   http://faq.fcolc.eu.org/
LUG sur Orléans et alentours (France).
Tél : 02 34 08 26 04 / 06 33 26 13 14
   

 




Re: [vchkpw] How I can deny smtp request from a known IP address

2005-04-13 Thread Boris Pavlov
if it is a massive spam, better filter it out with packet filter - 
iptables, ipchains pf etc, it depends from the OS you're using.

the fastest possible (the command is under linux) way to effective block 
is with route

route add -host 1.1.1.1 gw 127.0.0.1
the line in tcp.smtp (and rebuild with qmailctl cdb) also works, but is 
not as effective as packet filtering - if your server is having a 
considerable load just to deny the conenctions.

i've been in such trouble - there are guys which are trying to send to 
womehting like a wordlist of names, one connection per [EMAIL PROTECTED], 
and the server was about 3 times heavier load than usual - the guy(gal? 
gay?) was quite fast.

wwell edi
Bernd wrote:
Ok, this might be even faster ;-)
Greets, Bernd

On Wed, 2005-04-13 at 15:13 +0300, Stoyan Marinov wrote:
 

Add a line like ip:deny in your tcp.smtp file and rebuild it.
Stoyan
On Wed, 2005-04-13 at 15:08, Manish Jain wrote: 
   

I am facing aproblem that from an IP address SPAM is coming to my
qmail server. How I can deny smtp request from a known IP address.
Please HELP!!!
Manish Jain
(Network Administrator)
C-DAC Anusandhan Bhawan
C-56/1, Sector-62, Noida- 210307
Ph: 91 120 2402551-60 (Extn.- 718)
 91 120 2402563 (Direct)

 

 




Re: [vchkpw] How I can deny smtp request from a known IP address

2005-04-13 Thread Boris Pavlov
yep, the best is to drop silently the packets from the offending host, 
causing timeouts to the attacker, with a packet filter.
still, iptables or pf are not an option sometimes.

Stoyan Marinov wrote:
OK, you're right. It really doesn't start a qmail-smtpd process. 
Anyway I don't like it and I won't use it.

Stoyan
On Wed, 2005-04-13 at 16:18, Boris Pavlov wrote:
/do not be so sure - it will not permit a tcp conversation;).and it is 
easier to use, and, besides, (almost) all of the unixes have route or 
similar, which is not the case with packet filters. quickdirty, but 
works fine, works with anything (even with water) - for me. tested.

wwell edi
Stoyan Marinov wrote:
/
[cut]


Re: [vchkpw] vdelivermail

2005-04-07 Thread Boris Pavlov
mario,
you did changed the location of vpopmail but copied the old domains/ 
directory, right?
if so, you must change many things,
firstly, check if the vpopmail user and vchkpw group have same id's in 
/etc/passwd. if so, you can go on w/o reinstall
secondly, you must check out the qmail's assing file
and, then, change every single vpasswd file and every file in domains/ 
that begins with .qmail*

you can do it with a simple shell script.
Mario Cardia wrote:
Hi!
I need a help here.
i am makeing a new mailserver. i installed qmail, vpopmail, maildrop, 
etc...
the mail server works fine.
the problem is that i have many .qmail-user files that redirect mail with
vdeliver mail, exemple:
| /opt/vpopmail/bin/vdelivermail '' /opt/vpopmail/domains/test.com/user
It works fine in old mail server but in the new one it fails.
in qmail-send log i got the folowing message:
deferral: Unable_to_run_/bin/sh:_
i traced back and i know that it happens when vdelivermail execute the
execv command.
i change de vdelivermail to print errno message and the message was
too many open files.
it happens because vdelivermail was not supose to return in execv 
command, but it does and happens to execute too many vdelivermail process
i did check /bin/sh and /bin/bash permissions and it's ok (755).
just to make shure i've changed to 777 and the error persist.
i checked out qmail and vpopmail permissions and it was what
it supose to be
The diferences between de old server and the new server are:
- vpopmail version(5.4.5 in the old one, 5.4.10 in the new one)
- qmail location (/var/qmail in the old one, /opt/qmail in the new one)
i tried to downgrade vpopmail to 5.4.5 and the same error happens.
i compiled all software informing then where qmail is installed and
i don't think this could be the problem... (am i right?)
the vdelivermail in .qmail-default (bounce) works fine, only in
.qmail-user or .qmail-user-default the error hapens.
please, help me. I don't know what to do anymore.
thanks
Mario Cardia
[EMAIL PROTECTED]
(i'm brazilian, so sorry by my poor english)



Re: [vchkpw] moving maildirs to a new home

2005-03-22 Thread Boris Pavlov
Bob Ababurko wrote:
- Original Message -
From: Tom Collins [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Tuesday, March 22, 2005 12:23 AM
Subject: Re: [vchkpw] moving maildirs to a new home
 

On Mar 21, 2005, at 8:38 PM, Rick Widmer wrote:
   

i feel that all that I have to do is remedy the uid:gid and it should
work,
but I am also thinking that changing the uid:gid in the
/var/qmail/users/assign should have done the trick.  Can someone
comment on
that?
   

UID/GID values are compiled into vpopmail.  You have to re-compile
everything that depends on them when they change.  By everything I
mean after you compile vpopmail you have to do qmailadmin and anything
else that uses it.
 

You also have to change the uid/gid in /var/qmail/users/assign.
Do whatever you can to ensure that the uid/gid for vpopmail:vchkpw does
not change when moving to a new server.  It will make your life a lot
easier.
--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet:
sniffter.com
   

I have to ask againshould changing the uid:gid in the assign file to
reflect the system, work? It seems like that would be the other way around
the mess instead of changing the systema(vopomail:vchkpw ID's)
You say to ensure that the uid:gid be the same, but what besides the assign
file is dependant on the uid:gid? in terms of the files that I have
copird over to the new machine.
Sorry to beat a dead horse, but I dont quite understand this and if I have
to deal with this matter unill it is fixed then I may as well try to
understand what is going on.
-Bob
 

Bob,
In your OLD install you used to have UX and GX for uid and gid.
For your NEW install you have UY and GY for uid and gid, right?
i've been in this trouble, so:
so,the best way: you must change the file ownerships to UY and GY, the 
assing file
if you copied the files from OLD to NEW, they still have the uid and 
gids from the original, check if on the NEW when you ls -la you see the 
proper uid/gid

to change the ownership: if on NEW you don't have a user with UX and/or 
GX (the uids from the old) you can execute someting like

find / -uid UX -exec chown UY \{\} \;
for the uid
and
find / -gid GX -exec chown GY \{\} \;
you can substitute / with some directory to limit che change, but, if 
you do not use UX and GX on your NEW machine, it is better to sit and 
wait for find to change everything starting from /

these commands will find any file with the old uid and old gid and 
change them to the new values.

if you use sqwebmail, and have troubles logging in only in sqwebmail, 
check for sqwebmail cache files, and if needed, remove them.

wwell edi



Re: [vchkpw] program to give reports opn mailboxes and users

2004-11-12 Thread Boris Pavlov
in addition, one can use:
/home/vpopmail/bin# ./vuserinfo
vuserinfo: usage: [options] email_address
options: -v (print version number)
-a (display all fields, this is the default)
-n (display name field)
-p (display crypted password)
-u (display uid field)
-g (display gid field)
-c (display comment field)
-d (display directory)
-q (display quota field)
-Q (display quota usage)
-C (display clear text password)
-l (display last authentication time)
-D domainname (show all users on this domain)
!!! the cleartext will be shown ONLY is shown only if exists - it is a 
compile time option

for vdominfo try -h:
/home/vpopmail/bin# ./vdominfo  -h
./vdominfo: invalid option -- h
vdominfo: usage: [options] [domain]
options: -v (print version number)
-a (display all fields, this is the default)
-n (display domain name)
-u (display uid field)
-g (display gid field)
-d (display domain directory)
-t (display total users)
wwell edi
-
Rick Widmer wrote:

Joe wrote:
 

I need to get some info about mailboxes users for my qmail 
installation. I need info like:

For an easy web based method look at qmailadmin.
http://sourceforge.net/projects/qmailadmin/
Assuming you are using the cdb back end, the data is stored in a file,
by domain in the directory structure maintained by vpopmail.  If you are
using a database back end, the data is stored there.
List of users by domain

cat ~vpopmail/domains/$DomainName/vpasswd
replace $DomainName with the name of the domain.

Ideally, a way to retrieve their pws, too.

Unless you have the clear passwords option set, this is not possible.
If it is possible it will appear near the end of the line when you do
the previous command.  (I think it is the last field...)

Way to check how full peoples mailboxes are.

qmailadmin provides this, if you are using user quotas.  If not all you
can do is du on the user's Maildir directory.
Administrative things like that.
 

If I am not posting to the right place, pls let me know of a better 
place.






Re: [vchkpw] [OT?] Courier-imap compile without pop3d

2004-06-18 Thread Boris Pavlov
courier-imap is w/o pop3, the whole courier is 
smtp+(s)pop3/imap(s)/sqwebmail package.

wwell edi
PS anyway, you can simply not start any courier's service you don't use 
(ssl imap in your case)
Jean Wainer wrote:

I dont know if this is the right list to ask..
But is it possible to compile courier-imap without support for tls, ssl and pop3? I 
just need it to interface with Squirrelmail on the local machine..
thanks in advance,
--Jw.



Re: [vchkpw] lets stop the fight!

2003-09-10 Thread Boris Pavlov
100% right.

it will be really a pain to have two separate sources.

and if they don't agree between, i think that ken should keep the name 
vpopmail for this product. the manner and style for the comments does 
not apply there. futuremore, the public can not what happened between 
tom and ken, making ken so angry.

and to be more specific, i think it is really enemy inside tactic to 
use sourceforge's popularity to forcibly change the head of the project 
- and i can somehow understand ken.

but your solution, evren, is really the best - for an commerical 
support/soluton provider it will be good to have/manage the stable versions.

if they can not make agreement, it will be fair if tom steps back or at 
least _rename_ the project - yes, change the name, tpopmail for example, 
and start his _own_ clone.

i think that this is becoming quite quickly a fight for the vpopmail's 
name. if tom cares so much for the source and the users, it is up to him 
to start a new product tree based on current vpopmail - and maybe inter7 
can put a link to his clone on their web site even...

..but to be a god-like judge who decides who can and who can not manage 
the project (own it) ... placing himsef on a first place... nah, i can 
not agree with such a way to make good and care for something. anything.

wwell edi
Evren Yurtesen wrote:
I dont see why you fight over this. There should be two cvs sources anyhow
one for current development branch and one for stable releases branch.
The new features shouldnt be added to stable branch until they are
relatively bug free.
Since Tom seems to handle cutting edge stuff in the code, we need an admin
for stable releases. Ken can be stable releases admin. (I dont know how
this can be arranged in sourceforge though) Everybody can be happy this
way.
Listen to the users, they want stable releases. Stop fighting over
vpopmail and share the responsibility. The need for stable releases is
obvious. Yet Tom seems to do excellent job in refining the code and
adding new features he seems to come short on creating stable releases.
I see a job vacancy there for Ken :) and inter7.
I think it is REALLY bad idea to have two vpopmail development going on
with different names. That would cause the development force to divide in
two also. Why not use all our force to create one properly working
vpopmail distribution instead of doing two which doesnt satisfy anyone
because of bugs or lack of features?
Evren