Re: [courier-users] How do I limit one domain so emails can only be sent to/from a single address?

2003-01-08 Thread Brian Candler
On Tue, Jan 07, 2003 at 11:57:21PM -0500, Tobias Eigen wrote:
 Hi all,
 
 I have an unusual circumstance and would be grateful for help. I've
 checked the FAQ and other docs and haven't found the answer. I need to
 configure a domain on my qmail/courier system so that all mailboxes on
 that domain can only send/receive mail to/from a single email address.
 Other domains should remain the same. Is this possible? 

A POP3/IMAP server doesn't send or receive mail.[*]

If you are using qmail as your MTA, and courier-imap for POP3/IMAP access to
a mailbox, then this is a qmail question and belongs on a different list.

Regards,

Brian.

[*] OK, excluding some strange and rare extensions/hacks.

 
 Many thanks, 
 
 Tobias
 
 Tobias Eigen
 [EMAIL PROTECTED]
 
 Kabissa - space for change in Africa
 http://www.kabissa.org
 
 


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



RE: [courier-users] How do I limit one domain so emails can only be sent to/from a single address?

2003-01-08 Thread Tobias Eigen
Hi Brian, 

Thanks for the response. I'm having trouble seeing how this can be done
on a domain basis in qmail - and was hoping there would be a
solution/hack based on courier. Meanwhile, I haven't gotten a response
from the qmail list yet. I'd like to get to the bottom of this, so if
anyone has any suggestions please let me know. 

In case you're curious, the purpose of this unusual setup is to enable
third world scientists and researchers to gain access to electronic
journal websites via email. It works well for people that have their own
email client, but not for those that use Hotmail or Yahoo.. Which, as it
turns out, is a significant proportion of our users. Both of these
services mangle the pages delivered through our service. The hope is to
help these people by providing them with a simple webmail interface only
for accessing the journals. More info here:
http://www.ictp.trieste.it/ejournals/

Best wishes, 

Tobias

Tobias Eigen
[EMAIL PROTECTED]

Kabissa - space for change in Africa
http://www.kabissa.org



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Brian
Candler
Sent: Wednesday, January 08, 2003 7:41 AM
To: Tobias Eigen
Cc: [EMAIL PROTECTED]
Subject: Re: [courier-users] How do I limit one domain so emails can
only be sent to/from a single address?


On Tue, Jan 07, 2003 at 11:57:21PM -0500, Tobias Eigen wrote:
 Hi all,
 
 I have an unusual circumstance and would be grateful for help. I've 
 checked the FAQ and other docs and haven't found the answer. I need to

 configure a domain on my qmail/courier system so that all mailboxes on

 that domain can only send/receive mail to/from a single email address.

 Other domains should remain the same. Is this possible?

A POP3/IMAP server doesn't send or receive mail.[*]

If you are using qmail as your MTA, and courier-imap for POP3/IMAP
access to a mailbox, then this is a qmail question and belongs on a
different list.

Regards,

Brian.

[*] OK, excluding some strange and rare extensions/hacks.

 
 Many thanks,
 
 Tobias
 
 Tobias Eigen
 [EMAIL PROTECTED]
 
 Kabissa - space for change in Africa
 http://www.kabissa.org
 
 


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] How do I limit one domain so emails can only be sent to/from a single address?

2003-01-08 Thread Brian Candler
On Wed, Jan 08, 2003 at 08:50:51AM -0500, Tobias Eigen wrote:
 Thanks for the response. I'm having trouble seeing how this can be done
 on a domain basis in qmail - and was hoping there would be a
 solution/hack based on courier.

Courier (IMAP) doesn't have any way to affect mail delivery: the message
simply appears in the Maildir, delivered by the MTA.

There is another component of the Courier system, 'maildrop', which does
filtering of mail before dropping it into the Maildir. You could try
installing this, and configuring qmail to use maildrop for delivery instead
of dropping messages straight into the Maildir.

My own preferred MTA is Exim and it's possible to configure just about any
access policy or restriction you like, if you're prepared to play with its
string expansion language.

 In case you're curious, the purpose of this unusual setup is to enable
 third world scientists and researchers to gain access to electronic
 journal websites via email. It works well for people that have their own
 email client, but not for those that use Hotmail or Yahoo.. Which, as it
 turns out, is a significant proportion of our users. Both of these
 services mangle the pages delivered through our service. The hope is to
 help these people by providing them with a simple webmail interface only
 for accessing the journals. More info here:
 http://www.ictp.trieste.it/ejournals/

I have some experience in doing that sort of thing (via UUCP links).

What I don't understand is, the above link seems to describe a service which
lets you retrieve web pages via E-mail. Anyone who is a hotmail/yahoo/
sqwebmail user clearly has direct web access anyway, so what is the benefit
to them of using this gateway?

Regards,

Brian.


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



RE: [courier-users] How do I limit one domain so emails can only be sent to/from a single address?

2003-01-08 Thread Tobias Eigen
Hi Brian, 

It does seem a bit wonky but these are journals that usually require an
expensive subscription that third world researchers can't afford. The
university of Trieste has negotiated a special deal which essentially
extends their own site license to registered users of their specially
configured www4mail web-to-email service. There may be other technical
solutions, but this one works with the existing arrangement with the
publishers of these thousands of online journals.

I'd really like to find a simple solution that allows me to leave the
rest of my server configuration untouched (we have 500 domains hosted
here and several very large mailing lists) but limit the capability of
one domain's users to send email to addresses other than the www4mail
address. 

Another thought is that we've been planning for some time to install
some type of spam protection on our server. Would it be feasible/useful
to think of doing this at the same time? 

Thanks again for your advice. 

Cheers,

Tobias

Tobias Eigen
[EMAIL PROTECTED]

Kabissa - space for change in Africa
http://www.kabissa.org



-Original Message-
From: Brian Candler [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 08, 2003 9:45 AM
To: Tobias Eigen
Cc: [EMAIL PROTECTED]
Subject: Re: [courier-users] How do I limit one domain so emails can
only be sent to/from a single address?


On Wed, Jan 08, 2003 at 08:50:51AM -0500, Tobias Eigen wrote:
 Thanks for the response. I'm having trouble seeing how this can be 
 done on a domain basis in qmail - and was hoping there would be a 
 solution/hack based on courier.

Courier (IMAP) doesn't have any way to affect mail delivery: the message
simply appears in the Maildir, delivered by the MTA.

There is another component of the Courier system, 'maildrop', which does
filtering of mail before dropping it into the Maildir. You could try
installing this, and configuring qmail to use maildrop for delivery
instead of dropping messages straight into the Maildir.

My own preferred MTA is Exim and it's possible to configure just about
any access policy or restriction you like, if you're prepared to play
with its string expansion language.

 In case you're curious, the purpose of this unusual setup is to enable

 third world scientists and researchers to gain access to electronic 
 journal websites via email. It works well for people that have their 
 own email client, but not for those that use Hotmail or Yahoo.. Which,

 as it turns out, is a significant proportion of our users. Both of 
 these services mangle the pages delivered through our service. The 
 hope is to help these people by providing them with a simple webmail 
 interface only for accessing the journals. More info here: 
 http://www.ictp.trieste.it/ejournals/

I have some experience in doing that sort of thing (via UUCP links).

What I don't understand is, the above link seems to describe a service
which lets you retrieve web pages via E-mail. Anyone who is a
hotmail/yahoo/ sqwebmail user clearly has direct web access anyway, so
what is the benefit to them of using this gateway?

Regards,

Brian.



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] How do I limit one domain so emails can only be sent to/from a single address?

2003-01-08 Thread Brian Candler
On Wed, Jan 08, 2003 at 11:56:05AM -0500, Tobias Eigen wrote:
 It does seem a bit wonky but these are journals that usually require an
 expensive subscription that third world researchers can't afford. The
 university of Trieste has negotiated a special deal which essentially
 extends their own site license to registered users of their specially
 configured www4mail web-to-email service.

Ah, a layer 9 problem - I should have thought of that :-)

 I'd really like to find a simple solution that allows me to leave the
 rest of my server configuration untouched (we have 500 domains hosted
 here and several very large mailing lists) but limit the capability of
 one domain's users to send email to addresses other than the www4mail
 address. 

You say 'courier' but presumably it's sqwebmail that you are using? If so
there is another partial solution: sqwebmail calls a shell script
'sendit.sh' when it wants to send a mail, so you could modify that script to
enforce your policy. That would give you control of outbound, but not
inbound.

Otherwise, if you don't want to replace qmail as your MTA, then you will
have to work out how to alter qmail (not courier) to do what you want.

 Another thought is that we've been planning for some time to install
 some type of spam protection on our server. Would it be feasible/useful
 to think of doing this at the same time? 

Another qmail issue. You could see if you can integrate it with spamassassin
(www.spamassassin.org).

Regards,

Brian.


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



RE: [courier-users] How do I limit one domain so emails can only be sent to/from a single address?

2003-01-08 Thread Tobias Eigen
Hi Brian, 

Layer 9? I'm not familiar with that phrase. Please educate me! :-) 

I'm currently using squirrelmail (http://www.squirrelmail.org) as the
webmail interface, courier imap and qmail. Glad to discuss the
possibilities for using other webmail clients if it makes sense. I've
never managed to test and use sqwebmail on this system.

I'll check out SpamAssassin more closely - perhaps that's where the
answer lies. 

Cheers,

Tobias

Tobias Eigen
[EMAIL PROTECTED]

Kabissa - space for change in Africa
http://www.kabissa.org



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Brian
Candler
Sent: Wednesday, January 08, 2003 12:43 PM
To: Tobias Eigen
Cc: [EMAIL PROTECTED]
Subject: Re: [courier-users] How do I limit one domain so emails can
only be sent to/from a single address?


On Wed, Jan 08, 2003 at 11:56:05AM -0500, Tobias Eigen wrote:
 It does seem a bit wonky but these are journals that usually require 
 an expensive subscription that third world researchers can't afford. 
 The university of Trieste has negotiated a special deal which 
 essentially extends their own site license to registered users of 
 their specially configured www4mail web-to-email service.

Ah, a layer 9 problem - I should have thought of that :-)

 I'd really like to find a simple solution that allows me to leave the 
 rest of my server configuration untouched (we have 500 domains hosted 
 here and several very large mailing lists) but limit the capability of

 one domain's users to send email to addresses other than the www4mail 
 address.

You say 'courier' but presumably it's sqwebmail that you are using? If
so there is another partial solution: sqwebmail calls a shell script
'sendit.sh' when it wants to send a mail, so you could modify that
script to enforce your policy. That would give you control of outbound,
but not inbound.

Otherwise, if you don't want to replace qmail as your MTA, then you will
have to work out how to alter qmail (not courier) to do what you want.

 Another thought is that we've been planning for some time to install 
 some type of spam protection on our server. Would it be 
 feasible/useful to think of doing this at the same time?

Another qmail issue. You could see if you can integrate it with
spamassassin (www.spamassassin.org).

Regards,

Brian.


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] How do I limit one domain so emails can only be sent to/from a single address?

2003-01-08 Thread Brian Candler
On Wed, Jan 08, 2003 at 01:19:59PM -0500, Tobias Eigen wrote:
 Hi Brian, 
 
 Layer 9? I'm not familiar with that phrase. Please educate me! :-) 

See: http://ftp.cs.indiana.edu/pub/oracle/08/0883

(actually I was wrong, it's really a layer 8 issue :-)

 I'm currently using squirrelmail (http://www.squirrelmail.org) as the
 webmail interface, courier imap and qmail. 

Ah right. Then squirrelmail will either be sending mail using SMTP, or by
invoking the local MTA directly. Either apply your policy at the MTA, or
modify squirrelmail itself. The outgoing mails won't even touch your
Courier-IMAP installation.

Regards,

Brian.


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] How do I limit one domain so emails can only be sent to/from a single address?

2003-01-07 Thread Tobias Eigen
Hi all,

I have an unusual circumstance and would be grateful for help. I've
checked the FAQ and other docs and haven't found the answer. I need to
configure a domain on my qmail/courier system so that all mailboxes on
that domain can only send/receive mail to/from a single email address.
Other domains should remain the same. Is this possible? 

Many thanks, 

Tobias

Tobias Eigen
[EMAIL PROTECTED]

Kabissa - space for change in Africa
http://www.kabissa.org



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users