[vchkpw] Set external and internal users

2008-08-28 Thread Kenny Lee

hi all,

i have added a domain and can i set my users into 2 group as below ...

Example:
My email domain is example.com

then i wish to set two groups for my domain ...

External group: which mean that those user set in this group can send mail 
to all.


Internal group: which mean that those user set in this group can send mail 
to example.com's users only.


Please advise.

Thank you

Regards,
Kenny 



!DSPAM:48b6477632311714914475!



Re: [vchkpw] Set external and internal users

2008-08-28 Thread Manvendra Bhangui

On Thu, 2008-08-28 at 14:31 +0800, Kenny Lee wrote:
 Internal group: which mean that those user set in this group can send mail 
 to example.com's users only.

vmoduser -r [EMAIL PROTECTED]

sets no external relay  flag - which means the user should not be able to
send mails to external domains. However this needs to be done for each
user. I am not sure if there is a concept of groups in vpopmail.


!DSPAM:48b6842d32311014182908!



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

2008-08-28 Thread Quey

On 27/08/08 17:42:44, Boris Pavlov wrote:

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.




I'll fuck myself where ever I want, the opinions of one like you ,who  
post here once a year, means SFA to me, just like the newbie posters



!DSPAM:48b68b3932312039093937!



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

2008-08-28 Thread Quey

On 27/08/08 19:00:29, Charlie Garrison wrote:

Good evening,

On 27/8/08 at 10:42 AM +0300, Boris Pavlov [EMAIL PROTECTED]  
wrote:


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.


I read a few lists with some really bad-tempered and bad-mannered  
people, but I'd have to say Quey is about the worst I've seen. Has


you must have a horribly sheltered life


!DSPAM:48b68b6f32318480156214!



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

2008-08-28 Thread Quey

On 27/08/08 23:48:54, DAve wrote:

Top posting, as in firing for effect.

Holy Smokes people, did this become the qmail list overnight? Tom  
Collins is one of the nicest most helpful people on this list and  
he has contributed immensely to vpopmail. I for one deeply value  
his opinion.


So because Collins thinks anyone who speaks badly of PAM must be a  
slashdot reading wanker, you agree? thats nice, I bet a few REAL I.T  
security people and Linux developers wont lose any sleep that you  
favour Mr Collins opinion higher than theirs, I also dont see Mr  
Collins running any real network with 100's of thousands of users, so  
I should still take his word that PAM is good? LOL not fucking likely !





I do not see inter7 asking for the topic to go away, and I have  
never seen an approval procedure with inter7 for any topic.




nor have I in over 6 or 7 or so years here, but then again, we dont  
get many spammers on here.



!DSPAM:48b68cae32314110221320!



Re: [vchkpw] Set external and internal users

2008-08-28 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kenny Lee wrote:
 then i wish to set two groups for my domain ...
 
 External group: which mean that those user set in this group can send
 mail to all.
 
 Internal group: which mean that those user set in this group can send
 mail to example.com's users only.

Check out http://www.inter7.com/?page=empf
- --
/*
Matt Brookings [EMAIL PROTECTED]   GnuPG Key D9414F70
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFItp0U6QgvSNlBT3ARAlQwAJ9v4XVGs6gc5ri9yNtE2DBUjdnp0gCfWRWi
2seqEgUhooPfLr9zQA6VtBI=
=DpmA
-END PGP SIGNATURE-


[vchkpw] brand new courier-imap authmodule for vpopmail-5.4.26d

2008-08-28 Thread Manvendra Bhangui
I think this might be useful for few.

so I did a strace to hack the courier-imap authentication protocol.

I have tweaked a bit the module which i wrote for IndiMail to make it
work for vpopmail. The module is totally independent of courier-imap
(i.e. it will get installed in the vpopmail bin directory without the
presence of courier-imap). And you need not depend on courier-imap
mailing list for help. However, you need to copy the executable
'authvchkpw' manually to the courier-imap libexec/authlib directory.

To install it you need to apply patch to vpopmail-5.4.26d. It modifies
Makefile.am, configure.in, vpopmail.c,vpopmail.h and creates a new file
authvchkpw.c. I have tested it on my laptop and found it to work.

You need to set AUTHMODULES in courier-imap needs to have authvchkpw as
one of the authentication modules

The module does the following

reads 5 lines from imaplogin or pop3login. Authenticates the user and if
successful executes imapd or pop3d executable. If the authentication is
not successful, the data is passed to the next authmodule in chain.
On successful authentication the module adds entry to lastauth and a
entry in relay table.

Instructions are in INSTALL section below. If you need more help let me
know. If more modifications are needed let me know.

/*
 * Courier-IMAP authmodules Protocol
 * imap\n
 * login\n
 * [EMAIL PROTECTED]
 * pass\n
 * newpass\n
 * argv[0]=/var/indimail/libexec/authlib/authvchkpw
 * argv[1]=/var/indimail/libexec/authlib/authpam
 * argv[2]=/var/indimail/bin/imapd
 * argv[3]=Maildir
*/

INSTALLATION

1. Extract vpopmail Development tar.gz file vpopmail-5.4.26d.tar.gz
  wget http://downloads.sourceforge.net/vpopmail/vpopmail-5.4.26d.tar.gz
   cd /home/local/src
   gunzip -c vpopmail-5.4.26d.tar.gz |tar xf -

2. Apply patch (see the link at bottom)
   patch -p0  authvchkpw-vpopmail-5.4.26d.patch

3. cd vpopmail-5.4.26
   su
   make
   make install-strip

I have submitted the patch here

https://sourceforge.net/tracker/download.php?group_id=85937atid=577800file_id=291128aid=2080688

Thank you for your patience

-- Manvendra
The coast was clear. -- Lope de Vega



!DSPAM:48b6c16b32312378210272!



Re: [vchkpw] CentOS 5 64 bit vchkpw segfault - vpopmail 5.4.9 - softlimit related

2008-08-28 Thread Tom Collins

On Aug 27, 2008, at 8:35 AM, Paul Oehler wrote:

In the ChangeLog for 5.4.10 I see this:

Stephan Tesch
- md5.h: fix related to segfaults in vchkpw on Sparc64. [1144851]

What's the likelyhood that is related?



Very high.  I think 5.4.13 contained a more important fix for 64-bit  
when compiling Courier-IMAP against libvpopmail:


Compile libvpopmail with -fPIC option so amd64 users can compile  
courier-authlib against libvpopmail.a.


I recommend upgrading.

--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/



!DSPAM:48b6c3e632311686415078!



Re: [vchkpw] Set external and internal users

2008-08-28 Thread Kenny Lee

Hi

after i set vmoduser -r [EMAIL PROTECTED] ... i tried to use that email 
address to send out the mail to external like yahoo.com ... and i able to 
receive the mail from [EMAIL PROTECTED] ...


below is the user info ...

name:   user
passwd: $1$UgK2UGPp$QVYOCBRM5zrY4iHRHI/ZD0
clear passwd:
comment/gecos: user
uid:1
gid:32
flags:  32
gecos: user
limits:
   user not allowed to relay mail
dir:   /home/vpopmail/domains/example.com/user
quota: NOQUOTA
usage: NOQUOTA
last auth: Fri Aug 29 09:03:46 2008
last auth ip: imap


- Original Message - 
From: Manvendra Bhangui [EMAIL PROTECTED]

To: vchkpw@inter7.com
Sent: Thursday, August 28, 2008 6:55 PM
Subject: Re: [vchkpw] Set external and internal users




On Thu, 2008-08-28 at 14:31 +0800, Kenny Lee wrote:
Internal group: which mean that those user set in this group can send 
mail

to example.com's users only.


vmoduser -r [EMAIL PROTECTED]

sets no external relay flag - which means the user should not be able to
send mails to external domains. However this needs to be done for each
user. I am not sure if there is a concept of groups in vpopmail.








!DSPAM:48b74c3c32314847534629!