Re: [vchkpw] create a bunch of ezmlm lists from a webpage.

2005-06-13 Thread Tom Collins

On Jun 12, 2005, at 6:35 PM, Jason wrote:
I can create a list using qmailadmin, but I noticed that it puts all 
of the

list files and .qmail files in /home/vpopmail/domains/(domainName)/

So here are my series of questions:
1.) how do I create a list that vpopmail can recognize ?
2.) how can I get that list's directory in the web users web space
directory
3.) any other help with my situation is appreciated, after 3 days I 
have yet

to create a list via the command-line that has worked.


Read up on how qmail and qmail-local work, and you'll learn why your 
requirements won't work.  You need to have the .qmail-alias files 
somewhere that qmail-local can find them.


If you're only creating lists, you could set up the users/assign file 
to point domains into the web space directory, but then you're going to 
run into permissions problems.


Your best bet might be to come up with a way to modify qmailadmin to 
suit your needs (like disabling everything but mailing list support in 
it).


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




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

2005-06-13 Thread =?iso-8859-1?Q?Bruno_Negr=E3o?=

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-13 Thread Nick Harring
 
 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;

Look at how vpopmail implements things like disabling inbound mail and
disabling smtp auth functionality. What you're looking for would require
qmail integration, or integration with the chkuser patches. Then you
could add flags for disable external relay, and disable external inbound
mail. 

 
 I have no idea of how this could be implemented by vpopmail. Can
someone
 out there imagine something?
 
 
Sounds not terribly difficult, and does actually sound pretty useful.
Similar functionality exists in commercial servers like Exchange and
Domino, so obviously other folks find it useful.

Hope that helps,
Nick


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

2005-06-13 Thread Bruno Negrão

Hi Nick,


Sounds not terribly difficult, and does actually sound pretty useful.
Similar functionality exists in commercial servers like Exchange and
Domino, so obviously other folks find it useful.


Good to know that other mailservers already implement this feature. Maybe 
this helps to motivate the developers to run for a solution. Also, now I 
know what servers I can install if that director crazily wants this feature 
NOW!!


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



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

2005-06-13 Thread Peter Palmreuther
Hello Bruno,

On Monday, June 13, 2005 at 9:22:50 PM Bruno wrote:

 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.

vmoduser -r $ADDRESS

At least 5.4.5 has this possibility. If you further enforce SMTP-AUTH
for all SMTP-connections that need to relay (i.e.: don't set
RELAYCLIENT for anything other than 127.0.0.1) and disable roaming
users you should have gained what you're looking for.
-- 
Best regards
Peter Palmreuther

hselF ruoY eM roF...luoS ruoY doG roF



[vchkpw] Vpopmail aliases - messages getting stuck in Qmail

2005-06-13 Thread Andrew Hodgson
Hi,

I have a Vpopmail with aliases set up with more than one user in the
alias:

sales   joe.blow, john.smith

Now sometimes when a user sends messages to one of these aliases the
message will get stuck in the queue, and they will receive multiple
copies, until I can find the message and remove it using find
/var/qmail/queue -name message -exec rm {} \; after first stopping
qmail.

Any ideas?

At first I thought it was the size of the alias, but it is happening
on aliases with 2-3 people in them also.

Thanks.
Andrew.




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

2005-06-13 Thread Tom Collins

On Jun 13, 2005, at 12:22 PM, Bruno Negrão wrote:
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.


It would have to take place entirely in qmail-smtpd, I would think.

If it's a singled, dedicated server, it should be a simple patch to 
qmail-smtpd to make sure that both the sender's domain and the 
recipient's domain are in /var/qmail/control/locals.


You could probably accomplish this if you don't publish an MX record 
for the domain -- only mail submitted directly to the server will be 
delivered, and that would only be messages sent by these clients.  
Disable qmail-remote on the server and it will be impossible for it to 
send mail to remote servers.


Keep in mind that you will need to have the users' email clients use 
your smtp server for outbound email.  If they point to their ISP's 
server, you can't prevent them from sending to external addresses.


--
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] Vpopmail aliases - messages getting stuck in Qmail

2005-06-13 Thread Tom Collins

On Jun 13, 2005, at 1:48 PM, Andrew Hodgson wrote:

I have a Vpopmail with aliases set up with more than one user in the
alias:

sales   joe.blow, john.smith

Now sometimes when a user sends messages to one of these aliases the
message will get stuck in the queue, and they will receive multiple
copies,


If there's a problem delivering to john.smith that causes a deferral, 
the message will go to joe.blow again on the next attempt (and get a 
deferral delivering to john.smith and thus loop up).


--
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] vdominfo showing wrong user counts

2005-06-13 Thread Casey Allen Shobe
On Monday 23 May 2005 21:51, Casey Allen Shobe wrote:
 Why does vpopmail show users for a domain as 1 or 0, when there are
 actually 10 users?

 vdominfo showed 1, then I removed .dir-control, and now it shows 0:

No ideas on this???

Another question, why does vuserinfo show a last auth time for some accounts, 
but not for others even though I know the account is being logged into on a 
regular basis?

Cheers,
-- 
Casey Allen Shobe | http://casey.shobe.info
[EMAIL PROTECTED] | cell 425-443-4653
AIM  Yahoo:  SomeLinuxGuy | ICQ:  1494523
SeattleServer.com, Inc. | http://www.seattleserver.com