Re: [courier-users] Courier 20030410

2004-01-11 Thread Stefan Hornburg
On Sun, 11 Jan 2004 01:33:14 -0500
Sam Varshavchik [EMAIL PROTECTED] wrote:

 Download: http://www.courier-mta.org/download.php
 
 Beta releases of the next major version of Courier and Courier-IMAP are 
 available for testing.  New in the next release are virtual shared folders, 
 and access control lists.

I didn't succeed to build this release on a Debian woody system:

gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I./.. -Wall -lcrypt -c `test -f 'imapd.c' || 
echo './'`imapd.c
imapd.c: In function `aclstore':
imapd.c:3296: parse error before `char'
imapd.c:3298: `acl_rights' undeclared (first use in this function)
imapd.c:3298: (Each undeclared identifier is reported only once
imapd.c:3298: for each function it appears in.)
make[3]: *** [imapd.o] Error 1

I installed libacl1 and acl-dev packages.

Bye
Racke


-- 
LinuXia Systems = http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP = http://www.icdevgroup.org/
Interchange Development Team



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: Courier 20030410

2004-01-11 Thread Sam Varshavchik
Stefan Hornburg writes:

On Sun, 11 Jan 2004 01:33:14 -0500
Sam Varshavchik [EMAIL PROTECTED] wrote:
Download: http://www.courier-mta.org/download.php

Beta releases of the next major version of Courier and Courier-IMAP are 
available for testing.  New in the next release are virtual shared folders, 
and access control lists.
I didn't succeed to build this release on a Debian woody system:

gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I./.. -Wall -lcrypt -c `test -f 'imapd.c' || 
echo './'`imapd.c
imapd.c: In function `aclstore':
imapd.c:3296: parse error before `char'
imapd.c:3298: `acl_rights' undeclared (first use in this function)
imapd.c:3298: (Each undeclared identifier is reported only once
imapd.c:3298: for each function it appears in.)
make[3]: *** [imapd.o] Error 1
I installed libacl1 and acl-dev packages.
You don't need to install any acl packages.  This error is due to a gcc-ism.
Here's the fix.


pgp0.pgp
Description: PGP signature
Index: imap/imapd.c
===
RCS file: /cvsroot/courier/courier/imap/imap/imapd.c,v
retrieving revision 1.114
diff -U3 -r1.114 imapd.c
--- imap/imapd.c11 Jan 2004 02:47:32 -  1.114
+++ imap/imapd.c11 Jan 2004 18:09:13 -
@@ -3293,6 +3293,7 @@
if (acl_settable_folder(mailboxes[i].mailbox, mi))
continue;
 
+   {
CHECK_RIGHTSM(mailboxes[i].mailbox,
  acl_rights,
  ACL_ADMINISTER);
@@ -3306,6 +3307,7 @@
mailbox_info_destroy(mi);
mailboxes[i].mailbox[0]=0;
continue;
+   }
}
 
if (acl_read_folder(aclt_list, mi.homedir, mi.maildir))


pgp1.pgp
Description: PGP signature


[courier-users] Re: [maildropl] Invalid home directory permissions - world writable

2004-01-11 Thread Roland
--On Sonntag, 11. Januar 2004 19:07 +0100 [EMAIL PROTECTED] wrote:

 Jan 11 18:43:30 tinkerbell postfix/local[20791]: DEAEA35953:
 to=[EMAIL PROTECTED], relay=local, delay=9686, status=deferred
 (temporary failure. Command output: /root maildrop: Invalid home directory
 permissions - world writable. )

You dont want to deliver mail as root, make an alias to a
less privileged user instead.

Roland



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: Courier 20030410

2004-01-11 Thread Stefan Hornburg
On Sun, 11 Jan 2004 13:09:45 -0500
Sam Varshavchik [EMAIL PROTECTED] wrote:

 Stefan Hornburg writes:
 
  On Sun, 11 Jan 2004 01:33:14 -0500
  Sam Varshavchik [EMAIL PROTECTED] wrote:
  
  Download: http://www.courier-mta.org/download.php
  
  Beta releases of the next major version of Courier and Courier-IMAP are 
  available for testing.  New in the next release are virtual shared folders, 
  and access control lists.
  
  I didn't succeed to build this release on a Debian woody system:
  
  gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I./.. -Wall -lcrypt -c `test -f 
  'imapd.c' || echo './'`imapd.c
  imapd.c: In function `aclstore':
  imapd.c:3296: parse error before `char'
  imapd.c:3298: `acl_rights' undeclared (first use in this function)
  imapd.c:3298: (Each undeclared identifier is reported only once
  imapd.c:3298: for each function it appears in.)
  make[3]: *** [imapd.o] Error 1
  
  I installed libacl1 and acl-dev packages.
 
 You don't need to install any acl packages.  This error is due to a gcc-ism.
 Here's the fix.

Yes, that fixes the problem. Thank you very much, Sam !

Bye
Racke


-- 
LinuXia Systems = http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP = http://www.icdevgroup.org/
Interchange Development Team



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: [maildropl] lots of ifs

2004-01-11 Thread Roland
--On Sonntag, 11. Januar 2004 11:30 -0800 Robin Lynn Frank
[EMAIL PROTECTED] wrote:

 In switching over from procmail, I have what I basically want by doing:
 
 if ( $SIZE  5 )
  {
   xfilter /usr/bin/spamc -f
 
   import SENDER
   import RECIPIENT
   import EXTENSION
 
   to | /usr/bin/tmda-filter

Thats 100% false positives, and offloading your job to the forged
senders and domains.

 In procmail, I was able to exclude mail lists we subscribe to from
 processing  by spamc or tmda (to save resources) by the following:

Whats wrong with the exclamation in fron of the expression ?
You want to read the whole maildropfilter(5) and maildropex(5):

The result of the !  operator is a logical opposite of its
right hand side expression. If the right hand side expres-
sion  evaluated to a logical true, the result is a logical
false. If it evaluated to a logical false, the result is a
logical true.

Roland



---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] courier-0.44.2.20040110 imap issue

2004-01-11 Thread Alexander Gretha
after upgrading to courier-0.44.2.20040110 the imap-ssl sessions on 
mozillafirebird clients hang in the opening directory state. after 
downgrading to 0.44.2.20031219 things are working fine again. i am 
running suse 8.2 - has anybody noticed a similar behavior - has anybody 
a solution/explanation for this issue?

t.i.a.
alex gretha
---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Backup MX configuration

2004-01-11 Thread Patrick O'Reilly
Pierre,

all you need for the secondary MX server is the hostname entry in 'locals'
(which must match the hostname listed in the MX record exactly, of course).

When courier accepts the email and then recognises that this email address
is not held locally it will consult the dns itself, see that there is
another preferred MX record, and try to relay the email to that hostname.
Presumably that host is temporarily unavailable, so the email will just sit
in the mailq as usual until the primary MX is available again.

Regards,
Patrick.

- Original Message -
From: Pierre Ossman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 09, 2004 9:47 PM
Subject: [courier-users] Backup MX configuration


 Hi!

 I've been using courier for awhile now and I think it's a great piece of
 software. I am, however, not quite clear about how to configure it as a
 backup MX server.
  From the FAQ I can read that:

 Furthermore, the hostname in the MX record must be one of the hostnames
 in the |locals| configuration file.

 Is it absolutely crucial that this hostname exists in 'locals' or does
 it follow normal semantics and defaults to 'me' when 'locals' doesn't
exist?

 Also, I'd prefer to not have any mail delivered to the machine acting as
 a backup MX. But the constraint above makes it consider any mail to
 [EMAIL PROTECTED] to be a local mailbox. If it is possible
 I'd like it to forward this mail to [EMAIL PROTECTED] instead. Setting
 up an alias for every user is not an option. I need some kind of
catch-all.
 If this is not possible, then can I configure it to bounce all mail
 heading for [EMAIL PROTECTED]? There are user accounts on the
 machine but I don't want them to receive mail.

 I don't know if you're supposed to retain some accounts going to
 specific mail servers ([EMAIL PROTECTED] comes to
 mind). If so, I'd appreciate any pointers on what's customary to have
 set up. Maintaining aliases for some system critical stuff is
 acceptable, having to put up a new reject rule for each new user on the
 machine is not.

 Regards Pierre Ossman

 PS. Could you cc any replies to this address since I'm not subscribed to
 courier-users, thanks.





---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Backup MX configuration

2004-01-11 Thread Chris Petersen
 When courier accepts the email and then recognises that this email address
 is not held locally it will consult the dns itself, see that there is
 another preferred MX record, and try to relay the email to that hostname.
 Presumably that host is temporarily unavailable, so the email will just sit
 in the mailq as usual until the primary MX is available again.

Unfortunately, if the main MX server has bofh rules (like mine does - a
lot of them), but the secondary doesn't, the administrator of the
secondary server will get all of the bounced messages, rather than the
original sender (which is why my friend who secondaries the rest of my
services told me to stop using him as a secondary MX - he refuses to
give in to spammers by imposing manual bofh rules).  This is one
reason why spammers prefer to direct mail towards secondary MX servers
rather than primary ones.

-- 
Chris Petersen
Programmer / Web Designer
Silicon Mechanics:  http://www.siliconmechanics.com/
Blade Servers:  http://www.siliconmechanics.com/c292/blade-server.php
1U Servers: http://www.siliconmechanics.com/c272/1u-server.php




---
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users