Re: [courier-users] List of freemail domains

2003-03-17 Thread Bill
In [EMAIL PROTECTED], on 03/17/03 
   at 08:48 AM, Anand Buddhdev [EMAIL PROTECTED] said:

A few days ago, I added hotmail.com, yahoo.com and aol.com as freemail
services in my courier's bofh file. This has already helped cut out a
fair bit of spam.

Does anyone else know which other domains can and should be added?

Well - a large number of very ordinary folks use all of those services,
and more than a few legitimate small businesses.

But if you *really* want to cut out spam, parse all the headers - in bound
and outbound -  for 'Microsoft' and drop all such traffic on the floor.

Eliminates 99.99% of all viruses too.

Side effect is it gives you back lots of free time as well.  And fewer
annoying customers to deal with, but what the hey? G

Regards,

Bill Hacker
-- 
---
[EMAIL PROTECTED]
William B. Hacker, III  FHKIoD
Managing Director  
Conducive Group (Asia) Limitedhttp://www.conducive.net
---



---
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] make check fails for Courier 0.42.0

2003-03-17 Thread Dan Johansson
Hi,

I'm trying to make the new Courier 0.42.0.
configure runs OK as do make
But when I run 'make check' I get the following Errormessages in the
middle of the check (make check continues and end without error).

INFO: LOGIN, user=user, ip=[127.0.0.1]
Failed to create cache file: maildirwatch
Error: Input/output error

Can I safely ignore this error and continue with install or should I
abort and restart my make?

Regards,
--Dan



---
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: Storing EVERYTHING in a db

2003-03-17 Thread Sam Varshavchik
Gabriel Ambuehl writes:

Hello,
a friend of mine is currently deploying courier on some of his
machines and made me have a look at it (current installation uses
qmail+vpopmail). He claimed there are people who run courier with ALL
data in a DB but I couldn't find a lot info on the topic on the site.
Your friend is mistaken.



---
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: Courier 0.42/Courier-IMAP 1.7.1

2003-03-17 Thread Sam Varshavchik
Anand Buddhdev writes:

On Mon, Mar 17, 2003 at 08:16:12AM -0500, Sam Varshavchik wrote:

This release adds a new tunable parameter that controls processing of mail 
queue backlogs; adds Solaris IPv6 support, and fixes a number of bugs.
Sam,

I have an observation about the new queuefill parameter. When I initially
tried it, it worked as I expected it to. Yesterday I was doing some more
tests, and it seemed not be working, so this afternoon, I conducted the
following controlled test (queuelo=200, queuehi=400, queuefill=5m):
timeaction
--
t   injected 20 msgs for host A (host A unreachable, queuedeliverying=20)
t+10injected 380 msgs for host B (host B also unreachable, queuedelivering=400)
t+20injected 20 msgs for host C (all delivered in a few seconds, 
queuedelivering=380)
So I expected the queuefill timer to expire at t+310 and trigger a
refill of the queue, to refill the 20 messages for host A that had been
evicted to make space for messages for host C. This is because at t+10,
the high watermark was reached.
However, at t+310, nothing happened. queuedelivering was still at 380,
and courier was making attempts to deliver messages to host B, and
getting deferrals. At t+610, the queue still hadn't re-filled. The queue
was eventually refilled to queuehi (400) at t+1h, when courierd restarted.
Have I missed something? Or is there a bug in the code?
What happened, probably is that first twenty messages got deferred quickly 
before the second batch got fully injected.  They got kicked out of the 
queue before the next 380 messages came in, so the in-memory queue never 
reached the high watermark.

When mail gets deferred, it is removed from the in-memory queue.  The timer 
only starts ticking when the queue high watermark is reached.



---
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] List of freemail domains

2003-03-17 Thread Anand Buddhdev
 In [EMAIL PROTECTED], on 03/17/03
at 08:48 AM, Anand Buddhdev [EMAIL PROTECTED] said:

 A few days ago, I added hotmail.com, yahoo.com and aol.com as freemail
 services in my courier's bofh file. This has already helped cut out a
 fair bit of spam.

 Does anyone else know which other domains can and should be added?

 Well - a large number of very ordinary folks use all of those services,
 and more than a few legitimate small businesses.

I think you misunderstood. The freemail feature does not block legitimate
mail from yahoo, hotmail and aol. It only blocks email where the sender
claims to have an address of yahoo, hotmail or aol, but is in fact, not
relaying from a yahoo, hotmail or aol server. That is almost certainly a
spammer. Genuine email from those services will still come in.

My question to other courier users was about other large freemail
services, and which ones they block.

--
Anand



---
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


RE: [courier-users] Re: Storing EVERYTHING in a db

2003-03-17 Thread Bill
In [EMAIL PROTECTED], on 03/17/03 
   at 03:21 PM, Mitch \(WebCob\) [EMAIL PROTECTED] said:

Or your friend uses a DB to create the config fiels that courier needs,
rebuilds those DB's, and restarts courier... that's what we do

Actually, it is a special case (speaking as the 'friend' Gabriel
mentioned).

The server in question provides a membership community function (initially
on OpenACS) from which a mailing list of 'qualified' users is extracted.

The user community does not (at present) have 'conventional' mail service
on that server, so no .courier files or Maildirs are needed for them.

The named list(s) are handled entirely by aliases, and the mailing list
content generated by calls to the DB.

An MLM and other modules separate from courier handle the incoming
validation, demiming, etc., calling only courier's sendmail functionality.

It looks as if courier's own toolset can be used to do the entire MLM,
demime, and header/body reformating --- but we are not there yet. 
'Learning curve' etc. - Happy to collaborate on MLM tool development for
courier, tho'

FWIW - I say initially on OpenACS as we just hours ago discovered
yet-another flaw in it, this time a significant security hole in the login
modules, hence are starting the tedious task of rolling our own
mini-version.

All our aliases, domains and so on are made in a mysql database, then we
regenerate the courier files from that (not soemthing I can give you
though because it's a) not portable b) in development c) undocumented ;-)

But it is simple to roll your own.

m/

ACK.. Similar concept w/r creating/destroying .courier files and Maildirs
if/as/when we replace 'Minimalist' (hacked), 'Demime' (hacked) with MLM
constructs in courier-mta ...  and/or offer on-box email accounts to the
members.

GOAL is basically self-registration (with 'trustee' vetting as to
eligibility) and minimal sysadmin involvement in members coming, going,
changing their email addresses, etc.

And, no - unfortunately, the specific app is not a 'fit' to majordomo and
such w/o substantial mods.

Bill Hacker

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sam
Varshavchik
Sent: Monday, March 17, 2003 2:41 PM
To: [EMAIL PROTECTED]
Subject: [courier-users] Re: Storing EVERYTHING in a db


Gabriel Ambuehl writes:

 Hello,
 a friend of mine is currently deploying courier on some of his
 machines and made me have a look at it (current installation uses
 qmail+vpopmail). He claimed there are people who run courier with ALL
 data in a DB but I couldn't find a lot info on the topic on the site.

Your friend is mistaken.



---
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] courier + mysql with md5-encrypted passwords

2003-03-17 Thread Oliver Kuehne
Hi,

I'm using debian + courier-imap + mysql
I want to save the passwords for authentification in the mysql-database with
md5.
I know that I have to use the md5 with base_64_encoding.
So, the word secret is c2VjcmV0 in mysql.

In Courier's authmysqlrc is set:
MYSQL_CRYPT_PWFIELD CONCAT('{MD5}',password)

However, it doesn't work.
If I use the normal crypt-function, all is onright.

Is there any hint for what I' doing wrong.

thanks olli



---
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: Courier 0.42/Courier-IMAP 1.7.1

2003-03-17 Thread Anand Buddhdev
  On Mon, Mar 17, 2003 at 08:16:12AM -0500, Sam Varshavchik wrote:
 
  This release adds a new tunable parameter that controls processing of
mail
  queue backlogs; adds Solaris IPv6 support, and fixes a number of bugs.
 
  Sam,
 
  I have an observation about the new queuefill parameter. When I
initially
  tried it, it worked as I expected it to. Yesterday I was doing some more
  tests, and it seemed not be working, so this afternoon, I conducted the
  following controlled test (queuelo=200, queuehi=400, queuefill=5m):
 
  time action
  --
  t injected 20 msgs for host A (host A unreachable, queuedeliverying=20)
  t+10 injected 380 msgs for host B (host B also unreachable,
queuedelivering=400)
  t+20 injected 20 msgs for host C (all delivered in a few seconds,
queuedelivering=380)
 
  So I expected the queuefill timer to expire at t+310 and trigger a
  refill of the queue, to refill the 20 messages for host A that had been
  evicted to make space for messages for host C. This is because at t+10,
  the high watermark was reached.
 
  However, at t+310, nothing happened. queuedelivering was still at 380,
  and courier was making attempts to deliver messages to host B, and
  getting deferrals. At t+610, the queue still hadn't re-filled. The queue
  was eventually refilled to queuehi (400) at t+1h, when courierd
restarted.
 
  Have I missed something? Or is there a bug in the code?

 What happened, probably is that first twenty messages got deferred quickly
 before the second batch got fully injected.  They got kicked out of the
 queue before the next 380 messages came in, so the in-memory queue never
 reached the high watermark.

 When mail gets deferred, it is removed from the in-memory queue.  The
timer
 only starts ticking when the queue high watermark is reached.

This is what I don't understand then. Why would the first 20 messages be
removed from
the in-memory queue? And why did courier's log show queuedelivering=20?
Shouldn't
it then show queuedelivering=0? Isn't courierd supposed to keep the deferred
messages
in the in-memory queue, and only evict them if it reaches the high watermark
and needs
to make space?

If what you describe is what actually happened, then the original problems
still exists:
messages to host A initially get deferred, and then evicted from the queue,
and will not
re-enter the queue, because there is a constant stream of messages for host
B which
dominates the queue, but never hits the high watermark, and thus never
triggers the
queuefill timer.

--
Anand



---
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: Courier 0.42/Courier-IMAP 1.7.1

2003-03-17 Thread Sam Varshavchik
Anand Buddhdev writes:

 However, at t+310, nothing happened. queuedelivering was still at 380,
 and courier was making attempts to deliver messages to host B, and
 getting deferrals. At t+610, the queue still hadn't re-filled. The queue
 was eventually refilled to queuehi (400) at t+1h, when courierd
restarted.

 Have I missed something? Or is there a bug in the code?
What happened, probably is that first twenty messages got deferred quickly
before the second batch got fully injected.  They got kicked out of the
queue before the next 380 messages came in, so the in-memory queue never
reached the high watermark.
When mail gets deferred, it is removed from the in-memory queue.  The
timer
only starts ticking when the queue high watermark is reached.
This is what I don't understand then. Why would the first 20 messages be
removed from
the in-memory queue? And why did courier's log show queuedelivering=20?
When a delivery attempt is deferred, the message is rescheduled, and is 
removed from the in-memory queue.  If the queue size is below the 
low-watermark value, the queue is immediately rescanned, and the message is, 
essentially, requeued for its next scheduled time.  Otherwise, the queue is 
rescanned when completed delivery attempts reduce the queue to the low 
watermark level, at which time it will rescan and requeue only those 
messages with the earliest next scheduled delivery attempt.

If what you describe is what actually happened, then the original problems
still exists:
messages to host A initially get deferred, and then evicted from the queue,
and will not
re-enter the queue, because there is a constant stream of messages for host
B which
dominates the queue, but never hits the high watermark, and thus never
triggers the
queuefill timer.
You'll just have to tune the parameters in accordance to your mail traffic 
levels.



---
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] List of freemail domains

2003-03-17 Thread eculp
Mensaje citado por [EMAIL PROTECTED] [EMAIL PROTECTED]:

| In [EMAIL PROTECTED], on 03/17/03
|at 11:52 PM, Anand Buddhdev [EMAIL PROTECTED] said:
| 

| My question to other courier users was about other large freemail
| services, and which ones they block.
| 
| Ah so!  Different story entirely.
| 
| Some of the blacklists are 'searcheable' and provide such info.
| 
| Google freemail blacklist' has lots of such hits. The first:
| 
| http://www.rhyolite.com/anti-spam/freemail.html
| 
| with 640 domains...  etc.
| 

Great list.  I remember several of them off the top of my head but I can't see
600 in my bofh file.  H It'd be nice.

Thanks for sharing,

ed

-



---
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] List of freemail domains

2003-03-17 Thread Bill
In [EMAIL PROTECTED], on 03/17/03 
   at 05:18 PM, [EMAIL PROTECTED] said:

Mensaje citado por [EMAIL PROTECTED] [EMAIL PROTECTED]:

| In [EMAIL PROTECTED], on 03/17/03
|at 11:52 PM, Anand Buddhdev [EMAIL PROTECTED] said:
| 

| My question to other courier users was about other large freemail
| services, and which ones they block.
| 
| Ah so!  Different story entirely.
| 
| Some of the blacklists are 'searcheable' and provide such info.
| 
| Google freemail blacklist' has lots of such hits. The first:
| 
| http://www.rhyolite.com/anti-spam/freemail.html
| 
| with 640 domains...  etc.
| 

Great list.  I remember several of them off the top of my head but I
can't see 600 in my bofh file.  H It'd be nice.

Thanks for sharing,

ed

Thank an original IBM keyboard, google (and Rhyolite et al) not me! G

Bill



---
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] % to @ autotranslation

2003-03-17 Thread Jesse Keating
Is there a method to have courier autotranslate any user%domain to [EMAIL PROTECTED] 
when the user is logging in?  Is this done already, or will I have to set 
something up?  Mysql is the auth method.  Courier is the mta, imap, and pop3 
server.

TIA!
-- 
Jesse Keating RHCE MCSE
http://geek.j2solutions.net
Mondo DevTeam (www.mondorescue.org)

Was I helpful?  Let others know:
 http://svcs.affero.net/rm.php?r=jkeating



---
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] courier + mysql with md5-encrypted passwords

2003-03-17 Thread Joe Laffey
On Mon, 17 Mar 2003, Oliver Kuehne wrote:

 Hi,

 I'm using debian + courier-imap + mysql
 I want to save the passwords for authentification in the mysql-database with
 md5.
 I know that I have to use the md5 with base_64_encoding.
 So, the word secret is c2VjcmV0 in mysql.

 In Courier's authmysqlrc is set:
 MYSQL_CRYPT_PWFIELD CONCAT('{MD5}',password)

 However, it doesn't work.
 If I use the normal crypt-function, all is onright.

 Is there any hint for what I' doing wrong.

Perhaps there is some other solution, but I use a small C app I wrote. You
can get it at http://www.laffeycomputer.com/crypter.c Directions for
compiling it are in the comments. Note that your system's crypt(3)
function must support MD5 for this to work (most modern un*xes do).

crypter is free. You would use it like this:

mybox ./crypter 'my pass'
$1$$ZgHOLxjS.UBCu4uVg70a91

This is known to work on NetBSD. Older linuxes do not seem to have MD5
support in their crypt(3). I am not sure about modern linuxes. Please feel
free to improve upon this.

--
Joe Laffey  |  Want to convert subnet masks between different
LAFFEY Computer Imaging |  notations, or figure the number of IPs in a block?
St. Louis, MO   |  Whatmask-It's FREE - www.laffeycomputer.com/wm.html
--


---
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] courier + mysql with md5-encrypted passwords

2003-03-17 Thread Matt Hyclak
On Mon, Mar 17, 2003 at 09:55:15PM -0600, Joe Laffey enlightened us:
 Perhaps there is some other solution, but I use a small C app I wrote. You
 can get it at http://www.laffeycomputer.com/crypter.c Directions for
 compiling it are in the comments. Note that your system's crypt(3)
 function must support MD5 for this to work (most modern un*xes do).
 

I use good ol' perl for this.

[host]$ perl
print crypt('my pass','$1$') . \n;
$1$$ZgHOLxjS.UBCu4uVg70a91
[host]$ 

Slightly more portable, as my linux crypt(3) doesn't support md5 :-)

-- 
Matt Hyclak
Department of Mathematics
Ohio University
(740) 593-1263


pgp0.pgp
Description: PGP signature


[courier-users] SSL decryption failed error

2003-03-17 Thread William M. Shubert
Hi! I've been using courier-imap with SSL for about two years now, very
happily. I'm setting up a new server now, to replace my current server,
so I installed Courier again.

On my new server, thought, all connections are rejected with
Input/Output error! Every time that I try to connect, Courier-imap
puts this in my /var/log/messages file:

Mar 17 22:17:07 sp imapd-ssl: Connection, ip=[:::208.187.215.92]
Mar 17 22:17:07 sp imapd-ssl: couriertls: accept: error:1408F455:SSL
routines:SSL3_GET_RECORD:decryption failed or bad record mac

what the heck does any of this even mean? The configuration files for
the two servers are pretty much the same, so I can't figure out why the
new one would have this error. I made a self-signed cert as the
installation instructions advised. I tried changing the IMAPDSSLSTART
and IMAPDSTARTTLS options. Nothing helps. Does anybody have an idea what
is going on here? Or how to fix it?




---
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users