[courier-users] Account to access all mailboxes

2008-09-05 Thread Thomas
Hi,

Is it somehow possible to use administrator credentials to access all 
mailboxes? I'm using courier-imap-4.0.2 with courier-authlib-0.55.

Best regards,
Thomas

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Account to access all mailboxes

2008-09-05 Thread Enda
Thomas
> Is it somehow possible to use administrator credentials to access all
> mailboxes? I'm using courier-imap-4.0.2 with courier-authlib-0.55.

I do exactly this for a customer. Everyone accesses their mailbox by IMAP, 
and the administrator maps all the imap accounts to his mail UA.

 -Enda. 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Passes SPF but still being classified as spam

2008-09-05 Thread Tim Lyth
Hi all,

My wife has complained that a number of genuine (advertising) email have 
been classified as spam by SA, yet they have SPF_PASS in the list of 
tests run against the email.  Unfortunately, SPF_PASS is given 0.0 
weighting by SA and therefore the emails are being classified as spam.

I'm tempted to dig through the SA config file to edit the weighting for 
the SPF_PASS test, but I'm concerned that this may lead to 
false-negatives for genuine spam.

What do people recommend I do?

Cheers,
Tim Lyth

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Passes SPF but still being classified as spam

2008-09-05 Thread Jérôme Blion
Tim Lyth a écrit :
> Hi all,
>
> My wife has complained that a number of genuine (advertising) email have 
> been classified as spam by SA, yet they have SPF_PASS in the list of 
> tests run against the email.  Unfortunately, SPF_PASS is given 0.0 
> weighting by SA and therefore the emails are being classified as spam.
>
> I'm tempted to dig through the SA config file to edit the weighting for 
> the SPF_PASS test, but I'm concerned that this may lead to 
> false-negatives for genuine spam.
>
> What do people recommend I do?
>
> Cheers,
> Tim Lyth
>   
Hello,

If you behave like a spammer, don't be surprised to be treated like a 
spammer.

HTH.
Jerome Blion.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Passes SPF but still being classified as spam

2008-09-05 Thread Art Sackett
On Sat, Sep 06, 2008 at 01:45:13AM +1000, Tim Lyth wrote:

> I'm tempted to dig through the SA config file to edit the weighting for 
> the SPF_PASS test, but I'm concerned that this may lead to 
> false-negatives for genuine spam.

Myself, if I were using SA instead of DSPAM: I'd use Courier's built-in
SPF tests to reject those messages that outright fail the SPF tests,
then go ahead and reconfigure SA to give credence to the SPF test
results.

-- 
Art Sackett
http://www.artsackett.com/

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Account to access all mailboxes

2008-09-05 Thread mouss
Thomas wrote:
> Hi,
> 
> Is it somehow possible to use administrator credentials to access all 
> mailboxes? I'm using courier-imap-4.0.2 with courier-authlib-0.55.
> 

you can make your query so that admin-$user uses the password of admin 
but has $user mailbox. so admin can simply login as admin-foobar to 
access foobar mail.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Passes SPF but still being classified as spam

2008-09-05 Thread Esa
On 5.9.2008 17:45, Tim Lyth wrote:
> I'm tempted to dig through the SA config file to edit the weighting for 
> the SPF_PASS test, but I'm concerned that this may lead to 
> false-negatives for genuine spam.
>
> What do people recommend I do?
>   
Well, considering that SPF is not a anti-spam technique, I don't think 
you should give any more leeway for the messages that pass SPF test.

To rephrase: passing or not passing SPF test doesn't say anything about 
the spammyness of the message. It only tells if the message is coming 
where it is supposed to come from.

esa


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Account to access all mailboxes

2008-09-05 Thread Sam Varshavchik

Thomas writes:


Hi,

Is it somehow possible to use administrator credentials to access all 
mailboxes? I'm using courier-imap-4.0.2 with courier-authlib-0.55.


Not in this prehistoric version. Can be done in the current version, with 
virtual accounts, by setting up and configuring virtual shared folders, then 
putting your account into the virtual administrator group, and using an IMAP 
client that properly implements public namespaces and access control lists.





pgpVIyUcDZYAN.pgp
Description: PGP signature
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Passes SPF but still being classified as spam

2008-09-05 Thread Jérôme Blion

Art Sackett a écrit :

On Sat, Sep 06, 2008 at 01:45:13AM +1000, Tim Lyth wrote:

  
I'm tempted to dig through the SA config file to edit the weighting for 
the SPF_PASS test, but I'm concerned that this may lead to 
false-negatives for genuine spam.



Myself, if I were using SA instead of DSPAM: I'd use Courier's built-in
SPF tests to reject those messages that outright fail the SPF tests,
then go ahead and reconfigure SA to give credence to the SPF test
results

eg: some AOL mail servers are not registered in the SPF field of aol.com.
More over, when using mailing lists, it's a bad idea to reject any mail 
with a failed SPF check.



HTH
Jerome Blion.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Account to access all mailboxes

2008-09-05 Thread Jérôme Blion
Sam Varshavchik a écrit :
> Thomas writes:
>
>> Hi,
>>
>> Is it somehow possible to use administrator credentials to access all 
>> mailboxes? I'm using courier-imap-4.0.2 with courier-authlib-0.55.
>
> Not in this prehistoric version. Can be done in the current version, 
> with virtual accounts, by setting up and configuring virtual shared 
> folders, then putting your account into the virtual administrator 
> group, and using an IMAP client that properly implements public 
> namespaces and access control lists.
I had a (very bad) idea...
Could the following architectura work as requested:

MAIN_MAILDIR:
-- .user1
-.Sent
-.Trash
[...]
-- .user2
-.Sent
-.Trash
[...]

The maildir of user1 would be MAIN_MAILDIR/.user1
For user2 would be MAIN_MAILDIR/.user2
For admin: MAIN_MAILDIR

This can only work with virtual users bound to the same unix user.

Could it work?

HTH.
Jerome Blion.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Account to access all mailboxes

2008-09-05 Thread Tim Lyth
I set up a simple test on my mail server to confirm if an admin-like 
account could be done.


Requirements: filesystem which supports symlinks and an OS which allows 
you to change permissions on symlinks themselves (chmod -h).

Caveats: This method only confirmed to work in Thunderbird/Icedove.

user1 has user1/Maildir as their mail directory.
admin has admin/Maildir for theirs.
ln -s user1/Maildir admin/Maildir/.user1
chmod -h : admin/Maildir/.user1
In email client configured to access the admin account, subscribe to 
"user1".
Access user1's email from within admin account as if it were just 
another folder.


Cheers,
Tim Lyth

Jérôme Blion wrote:

Sam Varshavchik a écrit :
  

Thomas writes:



Hi,

Is it somehow possible to use administrator credentials to access all 
mailboxes? I'm using courier-imap-4.0.2 with courier-authlib-0.55.
  
Not in this prehistoric version. Can be done in the current version, 
with virtual accounts, by setting up and configuring virtual shared 
folders, then putting your account into the virtual administrator 
group, and using an IMAP client that properly implements public 
namespaces and access control lists.


I had a (very bad) idea...
Could the following architectura work as requested:

MAIN_MAILDIR:
-- .user1
-.Sent
-.Trash
[...]
-- .user2
-.Sent
-.Trash
[...]

The maildir of user1 would be MAIN_MAILDIR/.user1
For user2 would be MAIN_MAILDIR/.user2
For admin: MAIN_MAILDIR

This can only work with virtual users bound to the same unix user.

Could it work?

HTH.
Jerome Blion.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
  
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Passes SPF but still being classified as spam

2008-09-05 Thread Steve Shockley
Tim Lyth wrote:
> What do people recommend I do?

New wife is the only reasonable option.

Can't SA do some kind of whitelist?

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Account to access all mailboxes

2008-09-05 Thread Sam Varshavchik

Jérôme Blion writes:


Sam Varshavchik a écrit :

Thomas writes:


Hi,

Is it somehow possible to use administrator credentials to access all 
mailboxes? I'm using courier-imap-4.0.2 with courier-authlib-0.55.


Not in this prehistoric version. Can be done in the current version, 
with virtual accounts, by setting up and configuring virtual shared 
folders, then putting your account into the virtual administrator 
group, and using an IMAP client that properly implements public 
namespaces and access control lists.

I had a (very bad) idea...
Could the following architectura work as requested:

MAIN_MAILDIR:
-- .user1
-.Sent
-.Trash
[...]
-- .user2
-.Sent
-.Trash
[...]

The maildir of user1 would be MAIN_MAILDIR/.user1
For user2 would be MAIN_MAILDIR/.user2
For admin: MAIN_MAILDIR

This can only work with virtual users bound to the same unix user.

Could it work?


No. The folder namespace is flat. If the maildir is MAIN_MAILDIR, only its 
direct subdirectories become folders. Courier won't look recursively, in 
subdirectories of subdirectories.






pgpx2sd6Z0oMw.pgp
Description: PGP signature
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Passes SPF but still being classified as spam

2008-09-05 Thread Art Sackett
On Sat, Sep 06, 2008 at 03:15:34AM +0200, Jérôme Blion wrote:

> eg: some AOL mail servers are not registered in the SPF field of aol.com.

Hmmm... looking at AOL's SPF record, I see in addition to several ip4
records a ptr record and a terminal '?all', so there's no hard fail
mechanism.

Be that as it may, there's nothing saying that we have to actually
reject SPF failures, as long as we can get SPF passes to modify
SpamAssassin's behavior.

> More over, when using mailing lists, it's a bad idea to reject any mail  
> with a failed SPF check.

If the domain is not a large one, then 'BOFHSPF...=off' rules in an
esmtpaccess rules file will overcome that glitch.

-- 
Art Sackett
http://www.artsackett.com/

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users