Re: [ilugd] Need two quick solutions

2004-09-02 Thread anil bindal
Dear all,

Pl. let me know if there are any answers to our problem..

rgds

On Thu, 2004-09-02 at 13:27, anil bindal wrote:

 Dear all,
 
 1) Is it possible to restrict a user to send out the external email but
 receive all emails ?? How ??
 2) Is it possible to restrict user to send out the attachments of any
 size  ?
 
 Environment is RH 7.3 / sendmail-8.11.6-27.73
 
 Regards,
 
 Anil Bindal
 DCM Technologies
 ___
 ilugd mailinglist -- [EMAIL PROTECTED]
 http://frodo.hserus.net/mailman/listinfo/ilugd
 Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
 http://www.mail-archive.com/[EMAIL PROTECTED]/

Regards,

Anil Bindal
DCM Technologies
___
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/


Re: [ilugd] Need two quick solutions

2004-09-02 Thread Rajesh Kumar Mallah
anil bindal wrote:
Dear all,
Pl. let me know if there are any answers to our problem..
 

rgds
On Thu, 2004-09-02 at 13:27, anil bindal wrote:
 

Dear all,
1) Is it possible to restrict a user to send out the external email but
receive all emails ?? How ??
   

Sending external emails will require access to an smtp server . you may
consider blocking his access to an smtp server and allowing access to
a pop / imap server.

2) Is it possible to restrict user to send out the attachments of any
size  ?
   

not sure on the sendmail config . On qmail systems there is a file
/var/qmail/databytes where you can put the size in bytes.
Environment is RH 7.3 / sendmail-8.11.6-27.73
Regards,
Anil Bindal
DCM Technologies
___
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[EMAIL PROTECTED]/
   

Regards,
Anil Bindal
DCM Technologies
___
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/
!DSPAM:4136e76959731728316698!
 


--
regds
Mallah.
Rajesh Kumar Mallah
+---+
| Tradeindia.com  (3,11,246) Registered Users 	| 
| Indias' Leading B2B eMarketPlace  |
| http://www.tradeindia.com/			|
+---+

___
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/


Re: [ilugd] Need two quick solutions

2004-09-02 Thread Amit Sharma

--- anil bindal [EMAIL PROTECTED] wrote:

 Dear all,
 
 1) Is it possible to restrict a user to send out the
 external email but
 receive all emails ?? How ??
 2) Is it possible to restrict user to send out the
 attachments of any
 size  ?
 
 Environment is RH 7.3 / sendmail-8.11.6-27.73
 
 Regards,
 
[SNIP]

#1 /etc/mail/access 

ip.address.of.user   DENY   (ip of the user and deny)



#2 yes u can , in sendmail.cf lookout for

# maximum message size
O MaxMessageSize=100

and change accordingly.

amit




__
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail

___
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/


RE: [ilugd] Need two quick solutions

2004-09-02 Thread Dhruv Soi
Amit,
Can outgoing message size be restricted on the basis of User IDs?
For incoming mails i do use Procmail to do so, but for outgoing mails i am
still searching some solution.

Thanks
Dhruv

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
 hi.org]On
 Behalf Of Amit Sharma
 Sent: Thursday, September 02, 2004 3:33 PM
 To: [EMAIL PROTECTED]; The Linux-Delhi mailing list
 Subject: Re: [ilugd] Need two quick solutions



 --- anil bindal [EMAIL PROTECTED] wrote:

  Dear all,
 
  1) Is it possible to restrict a user to send out the
  external email but
  receive all emails ?? How ??
  2) Is it possible to restrict user to send out the
  attachments of any
  size  ?
 
  Environment is RH 7.3 / sendmail-8.11.6-27.73
 
  Regards,
 
 [SNIP]

 #1 /etc/mail/access

 ip.address.of.user   DENY   (ip of the user and deny)



 #2 yes u can , in sendmail.cf lookout for

 # maximum message size
 O MaxMessageSize=100

 and change accordingly.

 amit




 __
 Do you Yahoo!?
 Yahoo! Mail - You care about security. So do we.
 http://promotions.yahoo.com/new_mail

 ___
 ilugd mailinglist -- [EMAIL PROTECTED]
 http://frodo.hserus.net/mailman/listinfo/ilugd
 Archives at:
 http://news.gmane.org/gmane.user-groups.linux.delhi
 http://www.mail-archive.com/[EMAIL PROTECTED]/


___
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/


Re: [ilugd] Need two quick solutions

2004-09-02 Thread anil bindal
I wish i could implement suggestions..

Problem is on the user's PC , there are many profiles ( for different
emails boxes ) open. All profiles use the same SMTP server . So we need
to restrict only one profile from sending the external emails..( even
this profile should be able to send the email to local domain users )

Secondly, we want to restrict attachment size only for a particular
user.

rgds


On Thu, 2004-09-02 at 15:32, Amit Sharma wrote:

 --- anil bindal [EMAIL PROTECTED] wrote:
 
  Dear all,
  
  1) Is it possible to restrict a user to send out the
  external email but
  receive all emails ?? How ??
  2) Is it possible to restrict user to send out the
  attachments of any
  size  ?
  
  Environment is RH 7.3 / sendmail-8.11.6-27.73
  
  Regards,
  
 [SNIP]
 
 #1 /etc/mail/access 
 
 ip.address.of.user   DENY   (ip of the user and deny)
 
 
 
 #2 yes u can , in sendmail.cf lookout for
 
 # maximum message size
 O MaxMessageSize=100
 
 and change accordingly.
 
 amit
 
 
 
   
 __
 Do you Yahoo!?
 Yahoo! Mail - You care about security. So do we.
 http://promotions.yahoo.com/new_mail

Regards,

Anil Bindal
DCM Technologies
___
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/


RE: [ilugd] Need two quick solutions

2004-09-02 Thread anil bindal
Dhruv,

Is it same as implementing quota on /home and then using procmail to
keep all emails in /home dirs instead of /var/spool/mail ?

Anyone used  MIMEDefang to implement attachment size restrictions for
outgoing emails ??

rgds

An Thu, 2004-09-02 at 16:09, Dhruv Soi wrote:

 Amit,
 Can outgoing message size be restricted on the basis of User IDs?
 For incoming mails i do use Procmail to do so, but for outgoing mails i am
 still searching some solution.
 
 Thanks
 Dhruv
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]
  hi.org]On
  Behalf Of Amit Sharma
  Sent: Thursday, September 02, 2004 3:33 PM
  To: [EMAIL PROTECTED]; The Linux-Delhi mailing list
  Subject: Re: [ilugd] Need two quick solutions
 
 
 
  --- anil bindal [EMAIL PROTECTED] wrote:
 
   Dear all,
  
   1) Is it possible to restrict a user to send out the
   external email but
   receive all emails ?? How ??
   2) Is it possible to restrict user to send out the
   attachments of any
   size  ?
  
   Environment is RH 7.3 / sendmail-8.11.6-27.73
  
   Regards,
  
  [SNIP]
 
  #1 /etc/mail/access
 
  ip.address.of.user   DENY   (ip of the user and deny)
 
 
 
  #2 yes u can , in sendmail.cf lookout for
 
  # maximum message size
  O MaxMessageSize=100
 
  and change accordingly.
 
  amit
 
 
 
 
  __
  Do you Yahoo!?
  Yahoo! Mail - You care about security. So do we.
  http://promotions.yahoo.com/new_mail
 
  ___
  ilugd mailinglist -- [EMAIL PROTECTED]
  http://frodo.hserus.net/mailman/listinfo/ilugd
  Archives at:
  http://news.gmane.org/gmane.user-groups.linux.delhi
  http://www.mail-archive.com/[EMAIL PROTECTED]/

Regards,

Anil Bindal
DCM Technologies
___
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/


Re: [ilugd] Need two quick solutions

2004-09-02 Thread Sandip Bhattacharya
On Thursday 02 Sep 2004 4:18 pm, anil bindal wrote:
 I wish i could implement suggestions..

 Problem is on the user's PC , there are many profiles ( for different
 emails boxes ) open. All profiles use the same SMTP server . So we need
 to restrict only one profile from sending the external emails..( even
 this profile should be able to send the email to local domain users )

 Secondly, we want to restrict attachment size only for a particular
 user.

Dhruv, Anil,

There is only one sure answer to all your questions.

Use exim (http://www.exim.org)

:)

- Sandip

-- 
Sandip Bhattacharya*Puroga Technologies   * [EMAIL PROTECTED]
Work: http://www.puroga.com* Home: http://www.sandipb.net

PGP/GPG Signature: 51A4 6C57 4BC6 8C82 6A65 AE78 B1A1 2280 A129 0FF3

And furthermore, my bowling average is unimpeachable!!!

___
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/


Re: [ilugd] Need two quick solutions

2004-09-02 Thread Amit Sharma

--- Sandip Bhattacharya [EMAIL PROTECTED] wrote:

 On Thursday 02 Sep 2004 4:18 pm, anil bindal wrote:
  I wish i could implement suggestions..
 
  Problem is on the user's PC , there are many
 profiles ( for different
  emails boxes ) open. All profiles use the same
 SMTP server . So we need
  to restrict only one profile from sending the
 external emails..( even
  this profile should be able to send the email to
 local domain users )
 
  Secondly, we want to restrict attachment size only
 for a particular
  user.
 
 Dhruv, Anil,
 
 There is only one sure answer to all your questions.
 
 Use exim (http://www.exim.org)
 
[SNIP]

Sandeep,

exim or postfix or qmail , which one is good and
flexible for such typical requirements?

amit



___
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush

___
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/


Re: [ilugd] Need two quick solutions

2004-09-02 Thread Sandip Bhattacharya
On Thursday 02 Sep 2004 5:06 pm, Amit Sharma wrote:

 exim or postfix or qmail , which one is good and
 flexible for such typical requirements?

Every mail server fan will say that they can get it done someway or the other 
using their software.

exim way
For your particular requirement, you can use exim +smtp auth for all users 
sending out mail. In the exim config, you can then check the username who is 
trying to send mails, and allow only usernames whose name is in a particular 
text-file.

In fact, you can allow all your users to send mails to domains which are 
local(intranet), but allow only a few to send mails outside the office.
/exim way

You can do this with an exim out of the box installation. No patches etc. 
required.

- Sandip

-- 
Sandip Bhattacharya*Puroga Technologies   * [EMAIL PROTECTED]
Work: http://www.puroga.com* Home: http://www.sandipb.net

PGP/GPG Signature: 51A4 6C57 4BC6 8C82 6A65 AE78 B1A1 2280 A129 0FF3

If you want to make God laugh, tell him about your plans.
-- Woody Allen

___
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/