Re: [vchkpw] Set external and internal users

2008-08-29 Thread Tonix (Antonio Nati)
You must be sure your smtp server does not allow internals to relay.
Probably you must disable default allowed relay for internals and set up
auth smtp.

Regards,

Tonino

Kenny Lee ha scritto:
 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.







 




-- 

[EMAIL PROTECTED]Interazioni di Antonio Nati 
   http://www.interazioni.it  [EMAIL PROTECTED]   



!DSPAM:48b7bbc432311420514221!



Re: [vchkpw] Set external and internal users

2008-08-29 Thread Kenny Lee

Hi Tonino,

not really understand ... please you tell me where to set the auth smtp or 
disable the default allowed relay ?


thank you

regards,
Kenny


- Original Message - 
From: Tonix (Antonio Nati) [EMAIL PROTECTED]

To: vchkpw@inter7.com
Sent: Friday, August 29, 2008 5:05 PM
Subject: Re: [vchkpw] Set external and internal users



You must be sure your smtp server does not allow internals to relay.
Probably you must disable default allowed relay for internals and set up
auth smtp.

Regards,

Tonino

Kenny Lee ha scritto:

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.














--

   [EMAIL PROTECTED]Interazioni di Antonio Nati
  http://www.interazioni.it  [EMAIL PROTECTED]









!DSPAM:48b7bd4232311308518668!



Re: [vchkpw] Set external and internal users

2008-08-29 Thread Manvendra Bhangui
On Fri, 2008-08-29 at 17:06 +0800, Kenny Lee wrote:
 not really understand ... please you tell me where to set the auth smtp or 
 disable the default allowed relay ?
vpopmail should have been configured with --enable-roaming-users while
building vpopmail. I am assuming that this was done

1. Check your qmail-smtpd run file. It would refer to a cdb file i.e
   -x /var/vpopmail/etc/tcp.smtp.cdb
   
   The above file contains rules for tcpserver. One of the rules could
   be setting the environment variable RELAYCLIENT.
   If this variable is set for an IP address, qmail-smtpd will relay the
   mail through.

   This file should be updated everytime a person  authenticates. When
   you authenticate using IMAP or POP does the timestamp of this file
   change? 

   When you set vmoduser -r, this file should not get updated if you
   login with the user for whom vmoduser -r has been set

   what is the output of
   strings /var/vpopmail/etc/tcp.smtp.cdb




!DSPAM:48b7c3db32311318313575!



Re: [vchkpw] Set external and internal users

2008-08-29 Thread Tonix (Antonio Nati)
Check if you are using any distribution with includes auth code (like
Shupp's toaster).

If you have this code working, you must: enable the auth flag in each
Firefox/Outlook smtp configuration for users enabled to relay.
Set vmoduser -r for each user enabled to relay.

Check you tcp.smtp file and delete any line like
192.168.x.x:allow,RELAYCLIENT=,

This line permit users from 192.168.x.x to relay to anyone in the world.

do not touch
:allow

In this way, users allowed to relay, are authenticated and authorized to
relay. Users without authentication and/or withour relay permission can
only send to local domains.

Tonino

Kenny Lee ha scritto:
 Hi Tonino,

 not really understand ... please you tell me where to set the auth
 smtp or disable the default allowed relay ?

 thank you

 regards,
 Kenny


 - Original Message - From: Tonix (Antonio Nati)
 [EMAIL PROTECTED]
 To: vchkpw@inter7.com
 Sent: Friday, August 29, 2008 5:05 PM
 Subject: Re: [vchkpw] Set external and internal users


 You must be sure your smtp server does not allow internals to relay.
 Probably you must disable default allowed relay for internals and set up
 auth smtp.

 Regards,

 Tonino

 Kenny Lee ha scritto:
 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.












 -- 
 
 [EMAIL PROTECTED] Interazioni di Antonio Nati
 http://www.interazioni.it [EMAIL PROTECTED]
 







 




-- 

[EMAIL PROTECTED]Interazioni di Antonio Nati 
   http://www.interazioni.it  [EMAIL PROTECTED]   



!DSPAM:48b7ccd732311702713401!



[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] 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-


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!