Re: [courier-users] Slow Copies with Courier-Imap

2009-06-11 Thread Alexander M Thompson
Gordon Messmer wrote:
 On 06/09/2009 01:51 PM, Alexander M Thompson wrote:
   
 The only problem is, it seems like Copy operations are very slow for the
 first 30-45 seconds of a given imap session, sometimes to the point
 where you only can do one operation before it gets better (i.e. copying
 a small mail to the sent folder takes 30 seconds).
 
 ...

 You do realize that copying a message to the sent folder will cause 
 thunderbird to initiate a new connection, right?  If the first copy 
 operation has a long delay and subsequent copy operations do not, then 
 you're probably seeing general connection delays.  Check TCPDOPTS in 
 imapd, and add -nodnslookup -noidentlookup if they're not present.
   
I'd checked all that previously, the connection completes successfully 
and starts issuing imap commands before pausing. I've gone so far as to 
truss the imapd process on a test server while one of the people 
experiencing the problem used it. What I found is disheartening to say 
the least:

 PID TIMESTAMP   SYSCALL  =  
RETURN CODE
26243:  173.5222openat(-3041965, ./.Sent/cur, 
O_RDONLY|O_NDELAY|O_LARGEFILE) = 7
26243:  173.5223fcntl(7, F_SETFD, 0x0001)   = 0
26243:  173.5223fstat64(7, 0x08042420)  = 0
26243:  173.8125getdents64(7, 0xFEF64000, 8192) 
= 7824
26243:  173.9659getdents64(7, 0xFEF64000, 8192) 
= 7776
26243:  174.0832getdents64(7, 0xFEF64000, 8192) 
= 7776
 (Lots and lots of getdents64 [get directory entries] calls, 
enumerating every file in ./.Sent/cur)
26243:  214.3709getdents64(7, 0xFEF64000, 8192) 
= 7792
26243:  214.3973getdents64(7, 0xFEF64000, 8192) 
= 480
26243:  214.3975getdents64(7, 0xFEF64000, 8192) = 0

For whatever reason, courier is enumerating every single file in 
.Sent/cur and doing *something*, an operation that takes about 41 
seconds in this case. Again, this only happens once per connection or 
so, so it must be putting it all into a hash table for future use... or 
something. But it's doing this before telling the client it has 
completed the copy operation (which it has, I can tell from the truss 
output). I'm truly at a loss as to how I could fix this behavior.


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Slow Copies with Courier-Imap

2009-06-09 Thread Alexander M Thompson
I have a new mail server running courier-imap 4.5.0 on Solaris 10u7, 
with home directories and maildirs (Maildir format) mounted using 
autofs. Clients connect via SSL(only) using a variety of mail clients 
(although I'm seeing the behavior on both sylpheed and thunderbird 
specifically). The primary back-end file server is a netapp running NFS, 
connected via gigE across a cisco switch. Neither the server nor the 
netapp are reporting any kinds of errors or stress, and traffic is way 
under what I've been able to get with direct copies. I've got 
MAXDAEMONS=250 and MAXPERIP=50 (probably excessive, but shouldn't cause 
a problem), neither of which is even being scratched (about 150 daemons 
during peak times).

The only problem is, it seems like Copy operations are very slow for the 
first 30-45 seconds of a given imap session, sometimes to the point 
where you only can do one operation before it gets better (i.e. copying 
a small mail to the sent folder takes 30 seconds). It seems to happen 
every time a given user reconnects after about 30 minutes of inactivity 
(I'm guessing its after the old connection shuts down, because thats 
about the right time frame). It doesn't feel like mount or 
authentication overhead though, since most times the user is able to log 
in, browse their messages, and then initiate a copy operation(copy to 
sent folder, folder to folder copies, or move to trash all exhibit this) 
before it hangs waiting for the operation to finish. Also, I run 
squirrelmail on the same server, although it connects to localhost 
without SSL, and have had no reports of any slow downs what-so-ever on 
squirrelmail.

I've read over pretty much everything I could find about things that 
could slow courier down, and nothing seems to be jumping out at me. I'm 
not using FAM/Gamin; no high resource utilization; no network overload; 
keywords are turned on, but none of the users have massive keyword 
:lists. As you might be able to tell, I'm at a total loss as to what 
could be causing this.


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Mac users can't use pop sometimes due to a message

2007-11-23 Thread M Core

We've had mac users who at some point in time get a message that prevents them 
from being able to use pop to get their mail.
Once that email message is deleted then they can suddenly use their email 
account again.

Any ideas? 

(Its only been the mac users who have had this problem).


I didn't see anything helpful in the logs.. just that they tried to log into 
pop, and there was a big number in TOP, and retries were several times I 
think... actually they were actually all quite random numbers... 

Note - the last time this happened it was a local user sent global email so 
other users mac and xp still received the message fine, and it wasn't a message 
from some spammer / virus maker etc.  But it prevented one mac guy from being 
able to use pop to get his email. He had to go into webmail - and once he 
deleted that message he could d/l his email via pop again.


_
Are you ready for Windows Live Messenger Beta 8.5 ? Get the latest for free 
today!
http://entertainment.sympatico.msn.ca/WindowsLiveMessenger-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Weird messages received

2007-10-19 Thread M Core

Sometimes I receive an email to my admin account stating that the email I sent 
to an [EMAIL PROTECTED] was not sent.
The message has an attachment and when you open them down eventually you find a 
spam email that is FROM the [EMAIL PROTECTED] to a [EMAIL PROTECTED]

How is this happening? What do I look at? 

From an external account I teleneted in and sent a message from the [EMAIL 
PROTECTED] to [EMAIL PROTECTED] And it worked... so I thought it is an open 
relay. 
But when I try any of the websites etc. to check for this none of them can find 
an open relay on my mail server. 





This is a delivery status notification from icarus,
running the Courier mail server, version 0.47.

The original message was received on Thu, 18 Oct 2007 23:46:17 -0600
from localhost (localhost [127.0.0.1])

---

   UNDELIVERABLE MAIL




Your message to the following recipients cannot be delivered:
[EMAIL PROTECTED]



_
Are you ready for Windows Live Messenger Beta 8.5 ? Get the latest for free 
today!
http://entertainment.sympatico.msn.ca/WindowsLiveMessenger-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Weird messages received

2007-10-19 Thread M Core



To expand on this problem I think it is possibly this:

http://www.nabble.com/Spam-with-Delivered-To-header-t3689885.html

I'm just not quite sure how to go about fixing it.  Could someone give me a few 
more details. How do you use the script that they are talking about?

This seems like what I have:
postmaster sends me a user unknown email.
Inside that email is another email that is addressed to a known user, from an 
unknown user that was sent from the post master to the unknown user saying
This is a delivery status notification from icarus,
running the Courier mail server, version 0.47.

The original message was received on Fri, 19 Oct 2007 00:16:55 -0600
from danielpwns ([:::98.18.15.171])

---

   UNDELIVERABLE MAIL

Your message to the following recipients cannot be delivered:

[EMAIL PROTECTED]:
 Mail loop - already have my Delivered-To: header.
AND attached to that email is a spam email...  from [EMAIL PROTECTED] to a 
known user at my domain.

_
R U Ready for Windows Live Messenger Beta 8.5? Try it today!
http://entertainment.sympatico.msn.ca/WindowsLiveMessenger-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Weird messages received

2007-10-19 Thread M Core

 That's not one of the checks that Courier performs, AFAIK.
 To carry out that check, you need to roll out your own filter.
 
Are there any docs on how to write filters for courier?

I agree, I can't find any good examples on how to fix this problem or setup 
that filter.
It mentions using the rcptfilter file, but courier doesn't have any docs on 
how to setup this file.




 

_
R U Ready for Windows Live Messenger Beta 8.5? Try it today!
http://entertainment.sympatico.msn.ca/WindowsLiveMessenger-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Setting up maildrop

2007-10-05 Thread M Core

--Forwarded Message Attachment--
From: [EMAIL PROTECTED]
To: courier-users@lists.sourceforge.net
Date: Fri, 5 Oct 2007 11:37:27 +0200
Subject: Re: [courier-users] Problem forwarding to other user account   
maildroprc or .mailfilter

M Core wrote:
 
 I think the question is - HOW do I CC or TO an email message to a
 different mail directory? I suspect this is the problem with TO
 /home/username/Maildir.
 (Note that TO or CC does work if it is in the user's directory that the
 email is being sent to e.g. TO $HOME/Maildir, or CCMaildir, or
 TOMaildir/.trash etc. these work.)
 
Did you check permissions? Your .mailfilter is executed on *delivery*
of a message, thus, in general, you shoudn't be able to do whatever
you want around the system. However, if you host *virtual* users, then
they all have the same courier uid/gid.

---

Well if I try to do the TO or CC that is sent to some other users directory so 
I guess that is what I'm getting at. How to get around those permissions?
I've seen examples on the web where people did that but never explained that 
they needed to do anything extra. 

My goal is to avoid the user having to redirect spam to me to file for 
learning. 
It would be nice to use maildroprc or .mailfilter to do a check for 'high 
scoring spam'
and send it to the spam-forsure user account. 


_
Show your pals how you really feel! Learn more today!
http://www.freemessengeremoticons.ca/-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Problem forwarding to other user account maildroprc or .mailfilter

2007-10-04 Thread M Core


My goal is to get my filtered email to all be CC'ed to my maildirectory for a 
set user [EMAIL PROTECTED]

When I edit my .mailfilter file, or my maildroprc file this works

cc | /usr/bin/sendmail [EMAIL PROTECTED]

However - this does NOT work 

cc guy
or
cc!guy
or 
cc/home/guy/Maildir


I would like to use cc/home/guy/Mailder because then it wouldn't be mailed 
and get two spamassassin header changes.

However, I can't figure out what non of these other things work. 

I think the question is - HOW do I CC or TO an email message to a different 
mail directory? I suspect this is the problem with TO /home/username/Maildir.
(Note that TO or CC does work if it is in the user's directory that the email 
is being sent to e.g. TO $HOME/Maildir, or CCMaildir, or TOMaildir/.trash 
etc. these work.)



_
Get cool Messenger Emoticons! Click here to learn more.
http://www.freemessengeremoticons.ca/-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Can't send mail to navy.mil - DNS lookup failed

2007-02-18 Thread Shawn M. Jones
Hi folks,

I'm sure I'm doing something wrong here because all of the online mail 
services I've tested from seem to be able to successfully send and 
receive mail from navy.mil, but my courier mailserver cannot do either.

The email that is sent back to me gives me the following error message:

 DNS lookup failed.

And, in fact, looking up navy.mil returns nothing:

12:41:41 [EMAIL PROTECTED]:~ -- host navy.mil
12:41:46 [EMAIL PROTECTED]:~ --

When I look up the MX record with dig, I do get something, which is what 
I assume Courier is doing.

In /etc/courier/esmtpd, I set BOFHCHECKDNS from 1 to 0 to see if it made 
any difference, but to no avail.

This is quite annoying and I'm not sure what else to do.  I don't seem 
to have any problems sending/receiving mail to any other domain that I 
know of.

This is likely something really simple that I've mis-set, but I'm not 
sure how or what.

Any assistance would be greatly appreciated.

Sincerely,

Shawn M. Jones

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Can't send mail to navy.mil - DNS lookup failed

2007-02-18 Thread Shawn M. Jones
Manuel Schneider [Everything Open] wrote:
 The email that is sent back to me gives me the following error message:

  DNS lookup failed.

 And, in fact, looking up navy.mil returns nothing:

 12:41:41 [EMAIL PROTECTED]:~ -- host navy.mil
 12:41:46 [EMAIL PROTECTED]:~ --
 

 This looks to me like an ordinary resolving problem which is not connected to 
 courier. Check the contents in /etc/resolv.conf, maybe you want to enter 
 another nameserver there.
   
Checking other .mil addresses does yield similar results, with the 
exception of usmc.mil:

13:06:29 [EMAIL PROTECTED]:~ -- host navy.mil
13:06:33 [EMAIL PROTECTED]:~ -- host army.mil
13:06:36 [EMAIL PROTECTED]:~ -- host af.mil
13:06:41 [EMAIL PROTECTED]:~ -- host usmc.mil
;; connection timed out; no servers could be reached

What bothers me is that I've tried this from different servers in 
different geographical locations (using different DNS services) and have 
gotten the same results.  What also bothers me is that the free mail 
services I've tried (gmail, yahoo mail, hotmail) can send email to 
navy.mil just fine.  This leads me to believe that something must be 
wrong on my end.

--Shawn

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] SPAM filters (was: mail queue purge)

2006-10-13 Thread Shawn M. Jones

BTW can anyone suggest a more efficient spam filter other than
Spamassassin ?
  

I use the Spamhaus and Spamcop blocklists, SPF, clamav, spamassassin, 
razor, pyzor, and dcc.

Courier can be easily configured to use blocklists.  They stop known 
SPAMmers from even getting a message on the server.

SPF is tricky.  Because not everyone has implemented it, you have to 
accept everything except mail from hosts that thoroughly fail SPF.  It 
stops many phishers in their tracks.

ClamAV gets rid of many phishing emails in addition to virii.

Spamassassin will call razor, pyzor, and dcc if it finds them on your 
machine and use their input to make its decisions.

Other than that, I've tried Bayesian SPAM filters, but didn't like 
having to keep large archives of SPAM around to retrain them every once 
in a while.

Hope this helps,

Shawn M. Jones

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] SPF Issues

2006-08-12 Thread Shawn M. Jones
Alessandro Vesely wrote:
 So have I. Probably it has never been made crystal clear that people
 should define TXT records for each host (probably v=spf1 +a -all).
 See http://new.openspf.org/FAQ/The_demon_question
Yeah,  I've done this for my domains.  I see I'm in the minority.  :-)
 What field was marked softfail? When you forward mail you  must replace
 the MAIL FROM sender with something like [EMAIL PROTECTED]
 (SRS'idea is to forward any resulting bounce to [EMAIL PROTECTED] Luckily
 Courier does not do so.)
The FROM field is marked softfail sometimes if the FROM and HELO do not 
pass.
 At any rate, the internal FROM sender is considered the author and is
 usually left alone. That's why there is a mailfromok. (One reason one
 checks FROM is when MAILFROM is empty.)
Thanks to your suggestion, I've put mailfromok in there, as I see that 
most of the time MAILFROM passes, but FROM may not (mixed bag of not 
pass, unknown, and softfail).
 I also let 'error' for both FROM fields.
After you mentioned this I saw error for some legitimate mail in the 
maillog.  I've added that to the list too.
 By doing SPF filtering you are making a favor to the users of the 
 domain(s)
 specified in those fields. In facts, you save their domain name from 
 abuse.
 However, the domain owners must be smart enough to provide robust DNS 
 servers
 and good TXT records. When they succeed in putting a 'fail' on an 
 address,
 your server obeys. Isn't it that way?
This works wonderfully when this is all set up.
 Most clients are not SPF-aware, and don't let users configure the HELO 
 name.
Ok, that explains why so few seem to pass on HELO.

Well, thank you Alessandro for clearning a lot of this up for me.  I've 
noticed that SPF does improve my chances of not getting phising mails, 
but I still get two SPAM a day (rather than 300).  I've set up DNS 
blocklist checking as well.  Other than bogofilter and client-side SPAM 
solutions, are there any other free options I can set up on the server 
that are in any way effective at not removing/bouncing legitimate mail?

Thanks again for the response,

--Shawn

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] -ERR pop3login requires exactly two arguments.

2005-11-07 Thread Pavel M. Rebrov
Hey there again.

I thought I finally got the whole things working after a crash, but no luck. 
Now it's the problem with pop3d.

When I'm trying to pop3 the server, it reports an error:

-ERR pop3login requires exactly two arguments.

and just writes nothing to the log files. I've set debug levels to 2 both in 
authdaemonrc and pop3d, but still nothing showed up.

An error comes up even before any login procedure actually starts:

[EMAIL PROTECTED]:/usr/local/etc/rc.d # telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.lanck.net.
Escape character is '^]'.
-ERR pop3login requires exactly two arguments.
Connection closed by foreign host.
[EMAIL PROTECTED]:/usr/local/etc/rc.d #

I'm running FreeBSD 4.11 and installed courier-0.52.1 from ports.


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] -ERR pop3login requires exactly two arguments.

2005-11-07 Thread Pavel M. Rebrov
 I thought I finally got the whole things working after a crash, but no luck. 
 Now it's the problem with pop3d.

Report a port bug.  This error message indicated that the POP3 server wasn't 
installed correctly.  The startup script is wrong.

What the install script should look like? What's missing in there? I've read 
that the syntax of the startup has changed with version 0.52.1

How can I fix the problem whilst ports team resolves the problem?


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] SMTP not working

2005-11-01 Thread Pavel M. Rebrov
Pavel M. Rebrov writes:

 Hi there!
 
 I've upgraded to Courier 0.52.1 from FreeBSD ports and smtp stopped working. 
 The daemon does run, imap and pop3 do work, but I can't even telnet to port 
 25.

The smtp _server_ is started by a separate command:
esmtpd start

Yeah, finally got it running. Now will try to get all things straight.


---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] SMTP not working

2005-10-31 Thread Pavel M. Rebrov
Hi there!

I've upgraded to Courier 0.52.1 from FreeBSD ports and smtp stopped working. 
The daemon does run, imap and pop3 do work, but I can't even telnet to port 25.

I did check /usr/local/etc/courier/locals, it does contain my hostname (the 
rest is in hosteddomains).

Portmap which I had to turn on because of FAM requirement allows all 
connections.

The logs seem to report a successful startup:

Oct 31 19:38:09 ddt courierd: Loading STATIC transport module libraries.
Oct 31 19:38:09 ddt courierd: Courier 0.52.1 Copyright 1999-2005 Double 
Precision, Inc.
Oct 31 19:38:09 ddt courierd: Installing [0/0]
Oct 31 19:38:09 ddt courierd: Installing local
Oct 31 19:38:09 ddt courierd: Installed: module.local - Courier 0.52.1 
Copyright 1999-2005 Double Precision, Inc.
Oct 31 19:38:09 ddt courierd: Installing esmtp
Oct 31 19:38:09 ddt courierd: Installed: module.esmtp - Courier 0.52.1 
Copyright 1999-2005 Double Precision, Inc.
Oct 31 19:38:09 ddt courierd: Installing dsn
Oct 31 19:38:09 ddt courierd: Installed: module.dsn - Courier 0.52.1 Copyright 
1999-2005 Double Precision, Inc.
Oct 31 19:38:09 ddt courierd: Initializing local
Oct 31 19:38:09 ddt courierd: Initializing esmtp
Oct 31 19:38:09 ddt courierd: Initializing dsn
Oct 31 19:38:09 ddt courierd: Started ./courierlocal, pid=1044, maxdels=10, 
maxhost=4, maxrcpt=1
Oct 31 19:38:09 ddt courierd: Started ./courieresmtp, pid=1045, maxdels=40, 
maxhost=4, maxrcpt=100
Oct 31 19:38:09 ddt courierd: Started ./courierdsn, pid=1047, maxdels=4, 
maxhost=1, maxrcpt=1
Oct 31 19:38:09 ddt courierd: queuelo=200, queuehi=400
Oct 31 19:38:09 ddt courierd: Purging /var/spool/courier/msgq
Oct 31 19:38:09 ddt courierd: Purging /var/spool/courier/msgs
Oct 31 19:38:09 ddt courierd: Waiting.  shutdown time=Mon Oct 31 20:38:09 2005, 
wakeup time=Mon Oct 31 19:40:00 2005, queuedelivering=5, inprogress=0


It also seems that SMTP sends the mail, but doesn't want to receive it:

Oct 31 19:39:27 ddt courierd: newmsg,id=003E.436648BF.0483: dns; 
localhost (localhost [127.0.0.1])
Oct 31 19:39:27 ddt courierd: 
started,id=003E.436648BF.0483,from=[EMAIL 
PROTECTED],module=esmtp,host=mail.ru,addr=[EMAIL PROTECTED]
Oct 31 19:39:27 ddt courierd: Waiting.  shutdown time=none, wakeup time=Mon Oct 
31 19:40:00 2005, queuedelivering=6, inprogress=1
Oct 31 19:39:28 ddt courieresmtp: id=003E.436648BF.0483,from=[EMAIL 
PROTECTED],addr=[EMAIL PROTECTED]: 250 OK id=1EWchO-0001Z6-00
Oct 31 19:39:28 ddt courieresmtp: id=003E.436648BF.0483,from=[EMAIL 
PROTECTED],addr=[EMAIL PROTECTED],size=713,success: delivered: mxs.mail.ru 
[194.67.23.20]
Oct 31 19:39:28 ddt courieresmtp: id=003E.436648BF.0483,from=[EMAIL 
PROTECTED],addr=[EMAIL PROTECTED],size=713,status: success
Oct 31 19:39:28 ddt courierd: completed,id=003E.436648BF.0483
Oct 31 19:39:28 ddt courierd: Waiting.  shutdown time=Mon Oct 31 20:38:09 2005, 
wakeup time=Mon Oct 31 19:40:00 2005, queuedelivering=5, inprogress=0


Any help would be greatly appreciated!


---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Help please! Strange glibc errors generated by courier-mta and maildrop 06x error

2005-08-30 Thread Bearcat M. Sandor
Folks,

I've been trying to get courier-mat working for a week now. I'd like some help 
or at least a direction.

I am running Sourcemage Linux (Gentoo like) and everything is compiled from 
source using 64-bit code.

I have an amd-64 3000 running on a asus a8n-sli deluxe board with 1 gig of 
memory.

Versions
Linux:  2.6.13
gcc: 3.4.4
glibc (all locals included): 2.3.5
courier: 0.51.0
courier-authlib: 0.57
maildrop: 1.81

Symptoms:
Mail is stuck in my queue. I get the same mail from days ago in my queue over 
and over while my queue fills up.  Deleting the files in /var/courier/msgs 
and /var/courier/msgq does not help. Doing a courier flush does not empty 
the queue either.  Doing a 'mailq' as root will tell me i have about 1000 
messages in the queue and looking at the log files i see things like 
queuedelivering=400, inprogress=4.  The value for queuedelevering never 
equals the count by the mailq command.

A 'courier-flush' will sometimes reduce this number, but since the mail 
doesn't seem to be leaving the queue i get mostly older messages.

I can send mail just fine.


Debugging:
Looking through /var/log/mail/current (i'm using metalog) i see the following 
three things frequently, but not always and these three messages never appear 
together:
 
1) Aug 28 10:07:41 [courierlocal] 
id=000AFB39.43108F73.60EF,from=[EMAIL 
PROTECTED],addr=[EMAIL PROTECTED]: 
*** glibc detected *** free(): invalid pointer: 0x7fd18eb0 ***
Aug 28 10:07:41 [courierlocal]

2)  Aug 28 11:00:11 [postfix/local] CA1FA8861A: 
to=[EMAIL PROTECTED], orig_to=[EMAIL PROTECTED], 
relay=local, delay=419430, status=deferred (temporary failure. Command 
output: /usr/bin/maildrop: Unable to create a dot-lock. )

3)Aug 30 00:11:54 [courierlocal] 
id=00029B1C.4313BB32.4E12,from=,addr=[EMAIL PROTECTED]: 
maildrop: signal 0x06

#2 is rare, and #1 and #3 are quite frequent.

I have recompiled glibc, gcc, courier, courier-authlib many times. I am 
authenticating via plain.  

Can anyone give me a hand?  I'm not sure how i can fix this.  Please let me 
know if there is any more information i can provide or have left out.


Thanks in advance.  Please don't respond to me via direct email as i may not 
get it anyway.

Bearcat M. Sandor
[EMAIL PROTECTED]
ICQ: 6628727
MSN: [EMAIL PROTECTED]
Yahoo: bearcatsandor
AIM: bearcatmsandor
Jabber: [EMAIL PROTECTED]



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Help please! Strange glibc errors generated by courier-mta and maildrop 06x error

2005-08-30 Thread Bearcat M. Sandor
Folks,

I've been trying to get courier-mat working for a week now. I'd like some help 
or at least a direction.

I am running Sourcemage Linux (Gentoo like) and everything is compiled from 
source using 64-bit code.

I have an amd-64 3000 running on a asus a8n-sli deluxe board with 1 gig of 
memory.

Versions
Linux:  2.6.13
gcc: 3.4.4
glibc (all locals included): 2.3.5
courier: 0.51.0
courier-authlib: 0.57
maildrop: 1.81

Symptoms:
Mail is stuck in my queue. I get the same mail from days ago in my queue over 
and over while my queue fills up.  Deleting the files in /var/courier/msgs 
and /var/courier/msgq does not help. Doing a courier flush does not empty 
the queue either.  Doing a 'mailq' as root will tell me i have about 1000 
messages in the queue and looking at the log files i see things like 
queuedelivering=400, inprogress=4.  The value for queuedelevering never 
equals the count by the mailq command.

A 'courier-flush' will sometimes reduce this number, but since the mail 
doesn't seem to be leaving the queue i get mostly older messages.

Doing a strace on 'courier flush' tells me that some /usr/lib64 files can not 
be found, but i'm not sure this is the cause. See 
http://www.feline-soul.net/courier_flush for the strace

I can send mail just fine.


Debugging:
Looking through /var/log/mail/current (i'm using metalog) i see the following 
three things frequently, but not always and these three messages never appear 
together:
 
1) Aug 28 10:07:41 [courierlocal] 
id=000AFB39.43108F73.60EF,from=[EMAIL 
PROTECTED],addr=[EMAIL PROTECTED]: 
*** glibc detected *** free(): invalid pointer: 0x7fd18eb0 ***
Aug 28 10:07:41 [courierlocal]

2)  Aug 28 11:00:11 [postfix/local] CA1FA8861A: 
to=[EMAIL PROTECTED], orig_to=[EMAIL PROTECTED], 
relay=local, delay=419430, status=deferred (temporary failure. Command 
output: /usr/bin/maildrop: Unable to create a dot-lock. )

3)Aug 30 00:11:54 [courierlocal] 
id=00029B1C.4313BB32.4E12,from=,addr=[EMAIL PROTECTED]: 
maildrop: signal 0x06

#2 is rare, and #1 and #3 are quite frequent.

I have recompiled glibc, gcc, courier, courier-authlib many times. I am 
authenticating via plain.  

Can anyone give me a hand?  I'm not sure how i can fix this.  Please let me 
know if there is any more information i can provide or have left out.


Thanks in advance.  Please don't respond to me via direct email as i may not 
get it anyway.

Bearcat M. Sandor
[EMAIL PROTECTED]
ICQ: 6628727
MSN: [EMAIL PROTECTED]
Yahoo: bearcatsandor
AIM: bearcatmsandor
Jabber: [EMAIL PROTECTED]



---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Trouble shooting Maildir's?

2005-06-27 Thread Josh M. Hurd
Thank you Sam,The user in question has about 1500+ emails in his inbox.  Any suggestions on finding the bad file(s)?Thanks again!JoshThe "rm" command will do nicely.  The maildir format cannot be any more simpler than it already is: one file  per message.  Other ancillary files that the server uses are rebuilt automatically, when  needed.  The only potential source of possible corruption are illegal filenames.   Names of the individual message files must follow a specific convention.   The filename format is actually very liberal, and almost anything goes.  The  only real problem would be having an extra ":" character in the filename, or  more than one file with the same base part, but a different suffix.  In that case, identify the problem files, and rm-ing them will take care of  it. I need some help trouble shooting a maildirI suspect there is a corrupt item somewhere is a user maildir.When the user tries checking mail with his client it hangs.Is the case for POP and IMAP and while using Squirrel Mail and other clients.The pop/imap process starts and runs for a short while then it vanishes.What are the tools available to reconstruct, rebuild, etc a maildir under Courier?Thanks,Josh 

[courier-users] Trouble shooting Maildir's?

2005-06-27 Thread Josh M. Hurd
I'm sorry, make that 6800+ messages in his inbox...  (some people)Thank you Sam,The user in question has about 1500+ emails in his inbox.  Any suggestions on finding the bad file(s)?Thanks again!JoshThe "rm" command will do nicely.  The maildir format cannot be any more simpler than it already is: one file  per message.  Other ancillary files that the server uses are rebuilt automatically, when  needed.  The only potential source of possible corruption are illegal filenames.   Names of the individual message files must follow a specific convention.   The filename format is actually very liberal, and almost anything goes.  The  only real problem would be having an extra ":" character in the filename, or  more than one file with the same base part, but a different suffix.  In that case, identify the problem files, and rm-ing them will take care of  it. I need some help trouble shooting a maildirI suspect there is a corrupt item somewhere is a user maildir.When the user tries checking mail with his client it hangs.Is the case for POP and IMAP and while using Squirrel Mail and other clients.The pop/imap process starts and runs for a short while then it vanishes.What are the tools available to reconstruct, rebuild, etc a maildir under Courier?Thanks,Josh 

[courier-users] Re: SMTP connections very slow/timing out

2005-06-24 Thread Josh M. Hurd

The server has been running for at least 1.5 years.
It is running Courier 0.44.2-1.7.3

I don't see connections being dropped but I do see a lot of entries  
like this:

Jun 24 10:47:23 mail courieresmtpd: 255 active connections.
Jun 24 10:47:52 mail courieresmtpd: 256 maximum active connections.

I disabled TCP and IDENT lookups as per the suggestion from another  
post.  I am not seeing the max active connections in the log anymore.


I am getting about 1-3 connection per second.

Any other suggestion would be appreciated!

Josh



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] SMTP connections very slow/timing out

2005-06-23 Thread Josh M. Hurd

Hello,

I have taken over management of a server running courier mail services.

Today for the first time users were complaining that sending mail was  
either really slow or timing out entirely.


Not knowing much about courier I started trudging through logs and  
config files.


I found that MAXDAEMONS was set at 40 and that limit was being  
reached in 1-2 seconds after courieresmtpd was restarted.
We do receive a lot of spam, I counted about 12000 connection  
attempts in about 8 hours to the esmtp server.


I increased the MAXDAEMONS to 128, which helped a bit.  Then later to  
256 which seems to have helped a bit more.
I am still reaching the max connection limit and maintaining it  
within 20 or so all day.


I am not seeing a large number of errors in the log besides user  
unknown (spam)


Is setting MAXDAEMONS this high normal?  It seems a little extreme to  
me.


Am I just putting a band-aid on a bigger issue?
Does anyone have any ideas of where I should look?

Thanks,
Josh




---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] anyone know how to resolve this

2005-05-03 Thread Shane M. Gegan









CORRUPTED MESSAGE 

This is
the Courier Mail Server 0.45 on x.com. 

I
received the following message for delivery to your address. This message
contains several internal formatting errors. This is often caused by
viruses that attempt to infect remote systems. Instead of blocking this
message, it has been converted as a safe, text-only attachment that can be
safely read with a text editor. 

This sometimes
also happens when the sender's mail software has a bug that creates
improperly-formatted messages. Although these kinds of formatting errors
may often be ignored by other mail servers, this server detects and intercepts
improperly-coded messages in order to prevent viruses from taking advantage of
bugs in E-mail programs: 

-shane












[courier-users] makedatprog

2005-02-12 Thread Andrew M. Campbell
Hello,

I'm installing courier-authlib and courier-imap on
Slackware.  Instead of doing a normal install, Im
creating Slackware packages.  The makeuserdb perl
script that is installed with authlib references
$makedat=/usr/local/libexec/courier-authlib/makedatprog;.
   makedataprog is installed by courier-imap.  Is it
assumed that
/usr/local/libexec/courier-authlib/makedataprog is a
symlink to the real makedataprog?  I'm sure I can add
the symlink to my package, but I want to make sure I
understand what is going on.

Thank you for answering my previous post.  I realize
now that the answer to that question was in the docs. 
Sorry!!  I've grep'd and looked in the docs and did
not see an answer to this question.  Google returns an
option of this --with-makedatprog=.  Maybe this is
the answer to my question.  However I did not see this
option in the INSTALL doc nor via ./configure --help. 
If the answer to this question is well documented,
then please just reply look harder or you dumb***
and I will continue the search.

Thanks in advance.


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Fwd: Re: [courier-users] makedatprog

2005-02-12 Thread Andrew M. Campbell
Sorry, this should've been sent to the list.
--- Andrew M. Campbell [EMAIL PROTECTED]
wrote:

 Date: Sat, 12 Feb 2005 15:11:00 -0800 (PST)
 From: Andrew M. Campbell [EMAIL PROTECTED]
 Subject: Re: [courier-users] makedatprog
 To: Sam Varshavchik [EMAIL PROTECTED]
 
 Wow, That is not the reply I expected.  I must be
 doing something horribly wrong then.  I'm using the
 DESTDIR variable with make install and make
 install-configure to install to my temporary build
 directories for courier-authlib and courier-imap. 
 Here you can see that makedatprog is in my temp
 courier-imap dir:
 Services

/home/andy/temp/pkg/build/courier-imap/usr/local/libexecls
 -l
 total 436
 -rwxr-xr-x  1 root root 387023 2005-02-12 14:24
 couriertcpd*
 -rwxr-xr-x  1 root root   1493 2005-02-12 14:24
 imapd-ssl.rc*
 -rwxr-xr-x  1 root root   1510 2005-02-12 14:24
 imapd.rc*
 -rwxr-xr-x  1 root root  37679 2005-02-12 14:24
 makedatprog*
 -rwxr-xr-x  1 root root   1462 2005-02-12 14:24
 pop3d-ssl.rc*
 -rwxr-xr-x  1 root root   1446 2005-02-12 14:24
 pop3d.rc*
 Services

/home/andy/temp/pkg/build/courier-imap/usr/local/libexec
 
 
 Here is my courier-authlib temp dir:
 Services

/home/andy/temp/pkg/build/courier-authlib/usr/local/libexec/courier-authlibls
 -l
 total 64
 -rwxr-xr-x  1 root root 60708 2005-02-12 13:44
 authdaemond*
 -rwxr-xr-x  1 root root  1813 2005-02-12 13:44
 authsystem.passwd*
 Services

/home/andy/temp/pkg/build/courier-authlib/usr/local/libexec/courier-authlib
 
 
 Using find produces these same results.
 
 Thanks,
 
 
 --- Sam Varshavchik [EMAIL PROTECTED] wrote:
 
  Andrew M. Campbell writes:
  
   Hello,
   
   I'm installing courier-authlib and courier-imap
 on
   Slackware.  Instead of doing a normal install,
 Im
   creating Slackware packages.  The makeuserdb
  perl
   script that is installed with authlib references
  
 

$makedat=/usr/local/libexec/courier-authlib/makedatprog;.
  makedataprog is installed by courier-imap. 
  Is it
   assumed that
  
 /usr/local/libexec/courier-authlib/makedataprog
  is a
   symlink to the real makedataprog?  I'm sure I
 can
  add
   the symlink to my package, but I want to make
 sure
  I
   understand what is going on.
  
  makedatprog should also be installed by
  courier-authlib.
  
  
 
  ATTACHMENT part 2 application/pgp-signature 
 
 
 



---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: reject unknown users on mx backup servers

2004-10-04 Thread m
Jan Stanik writes: 

Hi all, 

   I need to reject unknown 'local' users on my mx backup server (with
   no local delivery). Spamers try to send spam to mx backup servers
   directly, as they assume that those servers do not have as good
   protection as primary mailservers.
   
   They are right ;-)
   
   Do yo have any suggestion how to implement this check in courier?

Mmmm, easier said than done. I think it can be done, but not very 
easily. 

How about this. Make the secondary a primary as well, but the delivery 
instructions send it on to the real primary. Now you only need to replicate 
your userdatabase, but there are mechanisms for that. 

Alternatively, make your domain a hosteddomain on the secondary. Regularly 
extract userdatabase, send over to secondary, convert to aliasdatabase. 
Alias all real users from user@domain.tld to user@mx1.domain.tld so they 
get sent on to the real primary. 

A completely different solution that more and more people use is not have 
any backup MXen! Make all mailservers primary (same prio) and have them all 
on site. If any of them fails you're covered, another will take over. If 
your Internet connection fails, the sending server will hold the mail for 
just as long as a backup MX normally does, 4 days. People even use this 
scenario with only one primary mailserver and no others. On the outside this 
looks like a badly thought out strategy (What? No backup mailserver?) but 
if ou cannot affort multiple primaries it is a good choice. 

Mmmm, must try that myself real soon now to see how it works. 

HTH,
M4
--
Courier-mta rocks! 


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: Courier + SSL + AUTH

2004-10-01 Thread m
Johan van Vliet writes: 

I think.. I'm going to test this.. 

change my esmtproutes into:
: [127.0.0.1] 

setup an stunnel on 25 to other host on 465 

change my esmtpauthclient into:
127.0.0.1 myuid mypwd

If your courier does not listen on 127.0.0.1:25 or *:25, yes. Otherwise 
you'll have to fiddle it a bit, but it's not hard. You can also setup a 
dummy interface and bind stunnel to that, but you still have a problem if 
courier listens on *:25. Just make courier listen only on the interfaces 
where it should listen. 

HTH,
M4
--
Courier-mta rocks! 


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: ssl certificates problem

2004-09-30 Thread m
Andrei Iordache writes: 

I am trying to set up imapd-ssl. If I use the mkimapdcert script, everything
works fine. The problem is that the script creates a certificate file with
both private and public keys in it. If I try to split it in 2 like this: 

courier-key.pem: 

-BEGIN RSA PRIVATE KEY-
Private key stuff
-END RSA PRIVATE KEY- 

courier-cert.crt: 

-BEGIN CERTIFICATE-
Certificate stuff
-END CERTIFICATE-

You may want to read up a bit about this stuf works. But in short, just 
extract the certificate stuf from the courier generated file and import only 
that in your mailclient. Leave the courier generated file alone. 


and I instruct [for example] imapd-ssl to use the courier-key.pem (after I
import the file courier-cert.crt in my email client ie Outlook Express), it
doesn't work anymore. I find in the logs something like 

k-server imapd-ssl: couriertls: /path-to-the-certificate/courier-key.pem:
error:0906D06C:PEM routines:PEM_read_bio:no start line

That's right, there is no certificate, so there is no startline. 


This also happens if I generate the certificate manually with openssl (a
x509 that is, i have read the documentation, it says that SSL requires a
valid, signed, X.509 certificate to be installed where Courier expects to
find it) and if I put the private key into a separate file than the public
(the actual ceritificate, isn't it?) one. I also am making sure that both
files have a new end-line each. 

Am I doing something wrong ?

You are not providing the certificate to courier, so it cannot work. 

A PEM file can contain any number of items, and a program can load one or 
more items from a PEM file. Depending on how the software is set up, one can 
have settings for a private key file and a certificate file (which may point 
to the same PEM file), or the software dictates the private key and 
certificate should be in the same PEM file by only providing one combined 
setting for this. Reading your problem, I assume courier is in this second 
catagory, which is fairly common btw. 

Remember that a certificate must be present at both ends of the connection 
(commonly achieved by sending it over from server to client at connection 
setup), but the corresponding private key should only be at the server side 
(client and server as in who consumes and who provides authentication, not 
an IMAP server or so). 

Importing the certificate in the client is a good way to make sure you are 
really talking to a particular webserver. Without further setup, a 
certificate only assures you are talking over an encrypted channel, not who 
you are talking to and not even that this channel is end-to-end (man in the 
middle attack possible). Importing certificates into your mailclient solves 
these problems. 

But another possibility (I don't know if outlook supports this) would be to 
create your own CA, generate a root certificate, sign the mailserver 
certificate with this CA certificate, import the root certificate into the 
client and tell the client to only accept certificates signed by this CA. By 
setting up things this way, you can regenerate mail certificates and have 
the client automagically accept only servers with an certificate issued by 
you. Very useful from a continuity point of view, you can add backup MXen, 
migrate mailservers, etc without having to reconfigure clients. 

HTH,
M4
--
Courier-mta rocks! 


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: Courier and batched SMTp

2004-09-24 Thread m
Sander Holthaus - Orange XL writes: 

Sander Holthaus - Orange XL writes: 

  HTML content follows 
 
 Newbie question here, but does Courier support batched 
SMTP? If yes, how? 
 If not, is there a way to implement it?  

There's no such thing called batched SMTP. 

Here in the Netherlands, many providers are offering Batched SMTP, and I
even had several asking me for it. Perhaps this will help:
http://www.spinnaker.de/debian/bsmtpd.html

There is such a thing as batched smtp. Fortunately it's dead. And there is 
ETRN. Unfortunately, the Netherlands somehow calls ETRN batched SMTP, 
don't ask me why. Somehow it is not possible to convince my fellow dutchmen 
that Batched SMTP is something completely different than they think it is. 

If one searches the web for batched smtp one will find lots of references 
to this (rightfully) dead implementations of real batched smtp and lots of 
dutch providers offering batched smtp when they actually mean ETRN. 

HTH,
M4
--
Courier-mta rocks! 


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: Filtering specific domains by sender IP address

2004-09-16 Thread m
Martin Horak writes: 

Run another MTA (another instance of courier f.i.) on a different IP on 
the same machine. Accept only those IPs, reject all others. Rely all mail 
to 127.0.0.1. 

Yes, nice and simple. Thank you.
Anyway, is there other solution? What if I want to allow some IPs 
unconditionally, and others only with properly signed messages?
I'm not a real guru, so I cannot tell you unconditionally. But I don't think 
it can be done easily. You may want to have a look at the BLOCK2 variable to 
signal different classes of IPs to a filter that accepts rejects the message 
based on the contents and BLOCK2. 

HTH,
M4
--
Courier-mta rocks! 


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Courier not delivering outbound mail

2004-08-16 Thread Hanson, Jonathan M
My Courier installation was recently upgraded to version
0.45.6.20040618. I noticed that Courier is no longer delivering outbound
e-mail from my server. When I look at Courier's logs both
queuedelivering and inprogress are non-zero and increase with each
outbound mail that is sent. I've been all through the configuration but
can't figure out why Courier isn't delivering outbound e-mail. Incoming
mail works just fine. I've searched all over the documentation for
Courier and the web in general looking for assistance but couldn't
really find any that pertained to my specific situation. So I'm turning
to the mailing list for suggestions. Does anyone have any
recommendations of things to check to resolve this problem? I would
greatly appreciate it.


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: Client can't get mail, if HEX 0x00 in mail

2004-08-02 Thread m
Ingo Reinhart writes: 

If a mail includes unknown chars the client can't receive the mail complete.
The unknown char look in HEX-Code like 0x00. 

The client is an Outlook 2003 with Norton Internet Security 2004.
I've seen enough trouble with Norton desktop security products that I would 
first check if the problem persists if you disable that. Should be easy 
enough to do. I would not rule out courier though as the source of the 
problem, but lets take it step by step. 

HTH,
M4
--
Courier-mta rocks! 


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: Client can't get mail, if HEX 0x00 in mail

2004-08-02 Thread m
Ingo Reinhart writes: 

Hi! 

Zitat von [EMAIL PROTECTED]: 

first check if the problem persists if you disable that.
Hm, that is one case. But not a general way for my environment. 

I would not rule out courier though as the source of the
problem, but lets take it step by step.
Yes, I think that is not a courier problem, too. But my users can't get mails
Try first to get that clear. That way you can file a bugreport and get it 
fixed instead of relying on (potentially broken) workarounds. That does 
obviously not mean that you should wait for a fix, a workaround may still be 
in order. 

form the server. So I think if the server can handle the problem my users more
happy than they must deactivate the virus-scanner.
If the virusscanner indeed is broken (not proven yet! But I've seen problems 
before with Norton) maybe switch to another AV vendor? There are many 
alternatives. You might also want to have a look at using clamav on the imap 
server. It's what I do and it works like a charm. That way not having your 
mail scanned inbound on the client may be acceptable. 

Is there a way to ignore some chars for courier?
Hack the source. Open-source, you have the source, so it's your own fault. 
:-) 

Seriously, I doubt courier can do this out of the box. Maybe someone else 
can confirm this. I also doubt someone is willing to implement this 
workaround if indeed Norton is the cause of the problem. 

But as said before, first let's see where the problem really lies. If it is 
a problem with courier it'll probably be fixed quickly. 

HTH,
M4
--
Courier-mta rocks! 


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: can't access Maildirs

2004-08-01 Thread m
Comrade Burnout writes: 

i just installed courier-imap on a new machine, and i'm getting the
following in /var/log/maillog: 

imapd: chdir /var/mail/vmail: Permission denied 

drwx--   6 vmuser  vmuser  512 Jul 22 22:52 .
drwxrwx---   3 rootmail512 Jul 27 03:01 ..
drwx--  10 vmuser  vmuser  512 Jul 28 13:32 Maildir-brian 

Here's your problem I think. /var/mail is not readable for vmuser. I 
personally have a /var/vmail directory with the correct permissions and that 
works for me. Saves having to change the permissions on /var/mail. 

HTH,
M4
--
Courier-mta rocks! 


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: IMAP outbox/sent mail folders

2004-07-30 Thread m
Sam Varshavchik writes: 

Warren Konkel writes: 


 I read somewhere that there's a setting somewhere in
the imap config file that will turn on auto-sending of anything placed
in the Outbox, but will courier then move it to a Sent Items box
when it's done or something?
No.
Although the Outbox is a great feature, you can do a lot yourself using 
cronjobs. It takes some thinking to get it right, but once it works, it 
works great. One can implement an outbox this way that does move the item to 
sent items. 

I use this myself to process the occasionally misidentified spam or ham. By 
placing it in the right folder, a cronjob picks it up, feeds it through 
spamassassin, if spam sends it to spamcop, and files the message in the 
appropriate folder. 

This is very easy to do when one user is involved. When multiple users are 
involved it is actually not that much harder, something like (I have real 
users and virtual domains): 

for d in /home/*/Maildir/.Outbox/cur/ `find /var/vmail \
 -path /var/vmail/*/.Outbox/cur/`
do
 # process outbox
done 

Processing of a mailbox should ofcourse be done in a manner that is 
resilient to multiple invocations of the script, I leave that up to your 
imagination. 

HTH,
M4
--
Courier-mta rocks! 


---
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: courier and mailman

2004-07-22 Thread m
Javier Olascoaga writes: 

I create the list mailman, but when I put the aliases in
/etc/courier/aliases/system
mailman:  |/var/mailman/mail/mailman post mailman
mailman-admin:|/var/mailman/mail/mailman admin mailman
mailman-bounces:  |/var/mailman/mail/mailman bounces mailman
mailman-confirm:  |/var/mailman/mail/mailman confirm mailman
mailman-join: |/var/mailman/mail/mailman join mailman
mailman-leave:|/var/mailman/mail/mailman leave mailman
mailman-owner:|/var/mailman/mail/mailman owner mailman
mailman-request:  |/var/mailman/mail/mailman request mailman
mailman-subscribe:|/var/mailman/mail/mailman subscribe mailman
mailman-unsubscribe:  |/var/mailman/mail/mailman unsubscribe mailman 

and run makealiases I get this error. 

aliasexp: ERR: |/var/mailman/mail/mailman post mailman: 553 Syntax
error: |/var/mailman/mail/mailman post mailman@spezialk.net
aliascombine: ERR: Success 

any tip about how to resolve this situation? 

Looks to me you should drop the quotes. Read 
http://www.courier-mta.org/makealiases.html for more information and why you 
probably want a .courier file instead. 

HTH,
M4
--
Courier-mta rocks! 


---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: grrrr

2004-05-24 Thread m
Jerry Amundson writes: 

You have just the one file in smtpaccess/ right?
Just to emphasize, /all/ files are processed in this directory. That 
includes editor backup files (*~) and editor autosave files (#*#). 

I've been bitten by this more than once. 

Sam would you accept patches that exclude these files (and some other known 
artifacts)? 

M4
--
Courier-mta rocks! 


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Aliases in MySQL

2004-05-21 Thread Pavel M. Rebrov
Hello everyone!

Could anyone tell me, is there a way to get aliases into MySQL database?


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Unable to submit messages

2004-05-20 Thread Pavel M. Rebrov
Hi there!

I've got the following problem. I'm running FreeBSD 4.9 (PIII, 512Mb RAM), Courier 
0.45.5, Apache 1.3.31. I've also got Amavis-new running through Courier filters, using 
ClamAv (+FreshClam) and SpamAssassin.

The problem is that all of sudden, some time ago the system ran into trouble. Every 
several hours it gets flooded with the following processes (ps -aux):

courier 11425  0,0  0,0  17640  ??  IW   - 0:00,00 submit esmtp dns; 
justyna.
www 11454  0,0  0,0  17280  ??  IW   - 0:00,00 submit local dns; 
localhos
courier 11460  0,0  0,0  17480  ??  IW   - 0:00,00 submit esmtp dns; 
pD9E041E
courier 11524  0,0  0,0  17440  ??  IW   - 0:00,00 submit esmtp dns; 
mail2.ez
www 11532  0,0  0,0  17440  ??  IW   - 0:00,00 submit local dns; 
localhos
courier 11611  0,0  0,0  17600  ??  IW   - 0:00,00 submit esmtp dns; 
69-167-7

Submits are owned by courier and apache. The number of those processes grows up to 
hundreds and the mail system halts. I mean, it does work, IMAP and POP do work, but 
mail doesn't deliver. Once I restart Apache and Courier (and those submits are 
terminated), it gets back to work, all the mail is being delivered. Till next flood.

What could that be? I'm getting frustrated with that and just have no idea what to do. 
I was thinking about Amavis as a bottleneck in the system and tried to turn off Spam 
filtering, but that didn't help. I'm not risking to turn of ClamAv, or Amavis at all, 
but could that be a problem?

I was also doing some FreeBSD tuning lately (maxsockbuf, somaxconn, nmbclusters, 
maxsockets, etc), but that was working fine for several weeks.

Thanks,

Pavel M. Rebrov


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] sqwembail not sending email (sendmail error)

2003-12-08 Thread Jose M. Rus

On Fri, Dec 05, 2003 at 12:53:31PM +0100, Jose M. Rus wrote:

I installed Courier 0.44.2, everything works fine except webmail. When I
send I new message with sqwebmail  I receive the following error:
sendmail: ERR: Permission denied
400 Unable to submit message - service temporarily unavailable.
I placed a symbolic link to the Courier sendmail under /usr/bin and
/usr/sbin (same permissions), also the Apache process is a member of the
Courier group. No luck.
I noticed that local users need to be added to the Courier group in order
to to send emails (for example with the mail command) or sendmail
complains.
Any suggestions?
   

Jose,

did you check the permissions of sendmail? These are working ones:
[EMAIL PROTECTED] mirko]$ ls -l /usr/lib/courier/bin/sendmail
-r-s--x--x1 root daemon 143394 Nov  4 08:29 /usr/lib/courier/bin/sendmail
I guess the last x is missing on your system.

If this is not the problem, I suggest you run strace with sendmail on your
system (available for Linux, I know that there are similar programs for other
Unices). This will show you where the ERR comes from.
Regards
Mirko
 

Arghhh, it was that sendmail lost the setuid flag.

Thanks Mirko.



---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] sqwembail not sending email (sendmail error)

2003-12-07 Thread Jose M. Rus
I installed Courier 0.44.2, everything works fine except webmail. When I
send I new message with sqwebmail  I receive the following error:
sendmail: ERR: Permission denied
400 Unable to submit message - service temporarily unavailable.
I placed a symbolic link to the Courier sendmail under /usr/bin and
/usr/sbin (same permissions), also the Apache process is a member of the
Courier group. No luck.
I noticed that local users need to be added to the Courier group in order
to to send emails (for example with the mail command) or sendmail
complains.
Any suggestions?

Thanks in advance.





---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] mysql-based user administration utilities?

2003-10-17 Thread Daniel M. Drucker
I am running courier-imap, using the mysql account/authentication
backend. Right now, I'm using Captainnet's mailAdmin (
http://maxo.captainnet.net/mailAdmin/index.php ) to administer
accounts, but I'm finding it to be something of a crude hack, and am
looking for something more robust.

Surely I've simply somehow managed to miss seeing the big, useful,
stable tool that everyone uses to administer courier-imap+mysql? Or
are people all writing their own by hand?


-- 
Daniel Drucker / [EMAIL PROTECTED]



---
This SF.net email sponsored by: Enterprise Linux Forum Conference  Expo
The Event For Linux Datacenter Solutions  Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office;  in the Server Room 
http://www.enterpriselinuxforum.com
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Indexing of arbitrary header-fields

2003-09-22 Thread David J . M . Karlsen
Is it possible to make Courier index arbritary header-fields?

I run a large-scale courier based IMAP-site - and we have a steady growth in 
header-searches (mostly for self-defined X-SOME-NAME: some-value). On the same time 
these folders are increasing in size and number of messages.

I presume this is kind of difficult since IMAP's protocol defines a match for a search 
as a substring of the valuefield:

SEARCH HEADER My-Field MyValue

so a SEARCH in My-Field for al, My og MyValue would all match, hence hashing or other 
techniques won't work - at least not for a substring - thus breaking the protocol if 
implemented this way.

Does courier implement any [propitary] indexes?

Do anybody know of an IMAP server that can make use of a back-store in a  database or 
the likes, giving faster searching, and a IMAP capable front?

Thanks in advance,
Dave


-- 
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com 



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] indexing of arbitrary header-fields

2003-09-19 Thread David J. M. Karlsen
Is it possible to make Courier index arbritary header-fields?

I run a large-scale courier based IMAP-site - and we have a steady 
growth in header-searches (mostly for self-defined X-SOME-NAME: 
some-value). On the same time these folders are increasing in size and 
number of messages.

I presume this is kind of difficult since IMAP's protocol defines a 
match for a search as a substring of the valuefield:

SEARCH HEADER My-Field MyValue

so a SEARCH in My-Field for al, My og MyValue would all match, hence 
hashing or other techniques won't work - at least not for a substring - 
thus breaking the protocol if implemented this way.

Does courier implement any [propitary] indexes?

Do anybody know of an IMAP server that can make use of a back-store in a 
 database or the likes, giving faster searching, and a IMAP capable front?

Thanks in advance,
Dave
--
David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[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


RE: [courier-users] Maximum number of logins from the same IPaddress

2002-11-26 Thread Robert M. Meyer
That won't work if any of your users use Outlook as his client.  Outlook
likes to establish as many as a dozen simultaneous connections when it
starts up.  As far as I can tell, it doesn't use them all but they're
there and any that go away generate dialogs in the client that confuse
the users.  Outlook's behaviour is not expressly a violation of the
standard but it's not a really good idea.  Bumping session would create
all kinds of problems...

Cheers!

Bob

On Tue, 2002-11-26 at 15:37, Rick Erlandson wrote:
 There is an option for imap: MAXPERIP=  On my system it is in
 /etc/courier/imapd.  But I wouldn't do it that way.  Everyone behind a proxy
 may be using the same external ip.. You could do it using sessions. If a
 session is already registered for that user, don't start another one... or
 give the option to kick the previous session.. or something along that line.
 just a thought.
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of lall
 tarun
 Sent: November 26, 2002 11:37 AM
 To: [EMAIL PROTECTED]
 Subject: [courier-users] Maximum number of logins from the same IP
 address
 
 
 Hi,
 How can I set the maximun number of logins for an
 email account for the same IP address. I have written
 a java program using JavaMail API to access my qmail
 server using IMAP but it gives a connection failure
 error in one of the processes if I run two
 simultaneous processes to access the mail account. Any
 help is appreciated.
 
 Thanks!
 Tarun
 
 __
 Do you Yahoo!?
 Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
 http://mailplus.yahoo.com
 
 
 ---
 This SF.net email is sponsored by: Get the new Palm Tungsten T
 handheld. Power  Color in a compact size!
 http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
 
 
 
 ---
 This SF.net email is sponsored by: Get the new Palm Tungsten T 
 handheld. Power  Color in a compact size! 
 http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
-- 
Robert M. Meyer
Sr. Network Administrator
INSTALLS inc
14 Lafayette Sq, Ste 410
Buffalo, NY 14203-1904
(716)332-1451
04
(716)332-1451



---
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power  Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] How to convert from UW-IMAP w/maildir patches to Courier

2002-10-17 Thread Robert M. Meyer
I installed UW-IMAP with the maildir patches on my system but there are
several bizarre problems.  I intend to convert to Courier (tested it on
a development server) but I have to convert all of my users from one
maildir format hierarchy to the Courier hierarchy.

The format of the current directories is:

INBOX
Folder1
  |---sub1---
  |  |---subsub1
  |
  |---sub2

So the paths would be $HOME/Folder1, $HOME/Folder1/sub1,
$HOME/Folder1/sub1/subsub1, $HOME/Folder1/sub2... ad. nausium

Since Courier likes this folder tree to look like:
$HOME/Maildir/.Folder1, $HOME/Maildir/.Folder1.sub1,
$HOME/Maildir/.Folder1.sub1.subsub1, $HOME/.Folder1.sub2, etc., I need a
routine to recursively fix this mess.  Has anyone done this
programmatically before?  I have a 7 gigabyte mail spool at this point
with 178 users and LOTS of folders.  I obviously don't want to try to do
this manually.  This is a production system but I have a machine to test
on.  I need to do the whole conversion process over the course of one
evening...

Any help would be greatly appreciated...  I might even buy you lunch if
you're ever in Buffalo, NY :-)

Cheers!

Bob
-- 
Robert M. Meyer
Sr. Network Administrator
INSTALLS inc
14 Lafayette Sq, Ste 410
Buffalo, NY 14203-1904
(716)332-1451
04
(716)332-1451



---
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] How to convert from UW-IMAP w/maildir patchesto Courier

2002-10-17 Thread Robert M. Meyer
My directories are ALREADY in maildir format.  The problem is that the
naming convention is all wrong for courier.  Where the maildir patches
for uw-imap make a hierarchical directory structure, courier essentially
wants a flat structure with folder hierarchy identified by folder
naming, rather than directory structure.

I need to be able to convert the directory structure naming, not the
messages which should be OK, already.

Thanks for the help...

Cheers!

Bob
On Thu, 2002-10-17 at 12:56, Christian Hammers wrote:
 On Thu, Oct 17, 2002 at 06:26:32PM +0200, Juri Haberland wrote:
  there are several tools for converting mbox style mailboxes to the
  maildir format - one of these is mb2md which I maintain
  (http://batleth.sapienti-sat.org/projects/mb2md/ written by Robin
  Whittle). The only drawback is that it cannot convert mboxes recursively
  and I'm not aware of any tool that does. mb2md can at least convert all
  mailboxes on one level, whereas some of the other tools just do one mbox
  at time.
 I, too, can recommend it as it was the only tool from 4 or 5 I tested
 which could convert all my mails and kept the flags correctly. 
 
 BTW: What it is also lacking is an easy to see command line to just
 convert one single mailbox into a given directory. For me it does too
 much magic..
 
 bye,
 
 -christian-
 
 -- 
 Christian HammersWESTEND GmbH - Aachen und Dueren Tel 0241/701333-0
 [EMAIL PROTECTED] Internet  Security for ProfessionalsFax 0241/911879
   WESTEND ist CISCO Systems Partner - Authorized Reseller
 
-- 
Robert M. Meyer
Sr. Network Administrator
INSTALLS inc
14 Lafayette Sq, Ste 410
Buffalo, NY 14203-1904
(716)332-1451
04
(716)332-1451



---
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] How to convert from UW-IMAP w/maildir patchesto Courier

2002-10-17 Thread Robert M. Meyer
Many thanks!!  The script rocks.  I modified it to just test a single
user with a 700Meg spool.  It converted everything in about 6 seconds.

There is only one problem that was easy to fix.  There needs to be
double quotes around the $WD on line 7.  This is 'cuz outlook users like
to put spaces in their folder names :-)

Cheers!

Bob
On Thu, 2002-10-17 at 13:54, Gordon Messmer wrote:
 On Thu, 2002-10-17 at 08:40, Robert M. Meyer wrote:
  I installed UW-IMAP with the maildir patches on my system but there are
  several bizarre problems.  I intend to convert to Courier (tested it on
  a development server) but I have to convert all of my users from one
  maildir format hierarchy to the Courier hierarchy.
 
 I think that the attached script will convert all of your folders
 appropriately.
 
 
 

 #! /bin/sh
 
 scan_maildirs_in () {
 local WD=$1
 local PREFIX=$2
 local x
 pushd $WD
 for x in * ; do
   if [ $x = Maildir -o $x = new -o $x = tmp -o $x = cur ] ; then 
continue ; fi
   if test -d $x -a -d $x/new -a -d $x/tmp -a -d $x/cur ; then
   scan_maildirs_in $x $PREFIX.$x
   newx=`echo $x | sed -e 's/\./,/g'`
   echo mv $x $homedir/Maildir/$PREFIX.$newx
   fi
 done
 popd
 }
 
 
 awk -F: '{ if($3 = 500){print $6}}'  /etc/passwd | \
 while read homedir; do
 
 pushd $homedir
 ## Don't convert this user if there's already a Maildir folder
 #test -d Maildir  continue
 ## Only convert if this user has an INBOX
 #test -d INBOX || continue
 echo mv INBOX Maildir
 scan_maildirs_in $homedir
 popd
 
 done
-- 
Robert M. Meyer
Sr. Network Administrator
INSTALLS inc
14 Lafayette Sq, Ste 410
Buffalo, NY 14203-1904
(716)332-1451
04
(716)332-1451



---
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Thanks Sam

2002-07-15 Thread Sean M. Keogh

Just wanted to send a quick word of thanks.

I'm the IT Administrator of a small college here in Oxford, UK.  I 
wanted to put in a decent mail server that was standards compliant and 
supported IMAP and a webmail interface.  I chose Courier, after much 
investigation.  Even though the initial learning curve was steep, I'm 
glad I did.

We have just finished our first academic year using Courier, 0.35 
initially, moving up to 0.38 when it came out.  With around 330 users, 
and lots of mail traffic, both internally, and to other addresses around 
the UK and indeed the world, performance (on a single 633MHz Celeron 
based machine, 256MB RAM, IDE disks) has been very good.  Although I 
will be moving it to a 1GHz CPU RAID box this summer.

I have to say that the software has been superb.  The few problems I 
*have* encountered have mostly been either down to me messing up the 
configuration, or to users being stupid.

Thanks again Sam, Courier is a wonderful piece of work indeed.


Sean Keogh
IT Administrator
-- 
*
  Oxford Institute of Legal Practice
 King Charles House
  Park End Street
 Oxford.  OX1 1JD
Office Tel: +44 (0)1865 260 000 Fax: +44 (0)1865 260 002
*



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] PROBLEM SOLVED: Re: courier-imap and virtual domains withvmailmgr qmail...

2002-07-04 Thread M. Jolic

Hi Gurus and everybody who is using qmail with VMAILMGR and Courier-IMAP!

After several tests we've found the problem and solved it!

No, it's not Outlook or anything else:

It's the authvmailmgr-module from vmailmgr.

So, if you want to log the user of a virtual domain who is using
courier-imap here's how to handle this:


The authentication-module of vmailmgr sends the virtual name of the domain
only! The solution:

Set an ENV with a name where no prog is using this ENV, except the
(modified) imapd from courier-imap:

look at authvlib.cc from the source of vmailmgr:

[...]
  if(!lookup_baseuser(fulluser, basepw, virtname))
fail_login(Invalid or unknown base user or domain);
  presetenv(VUSER=, virtname);
/* 
  the following line must be added! The ENV-Name can be different, but
notice to change this in the imapd.c too!
*/
  presetenv(FULL_USER=, fulluser);
  
  if(!virtname) {
if(virtual_only)
[...]

Notice: We add the ENV FULL_USER to the code so that the full
functionality of vmailmgr for qmail will be untouched!

Then make it with: make
and copy the program authvmailmgr to the auth-dir of courier-imap where your
original authvmailmgr resides.

Go to the source of courier-imap and look into the path imap for imapd.c.
Open the file and look for:
[...]
writes(* BYE Courier-IMAP server shutting down\r\n);
writes(tag);
writes( OK LOGOUT completed\r\n);
writeflush();
emptytrash();
/*
Original: getenv(AUTHENTICATED)
NOW: getenv(FULL_USER)
*/
fprintf(stderr, INFO: LOGOUT, USER=%s, ip=[%s],
 headers=%lu, body=%lu\n,
getenv(FULL_USER), getenv(TCPREMOTEIP),
header_count, body_count);
exit(0);
}

if (strcmp(curtoken-tokenbuf, LIST) == 0
[...]

Now we put the FULL_USER-ENV instead of AUTHENTICATED-ENV, because
according to vmailmgr the variable fulluser contains the domain and the
virtual user!

Next step:

STOP imap ( imap-ssl if your using)
make
make install (or copy the imapd to /usr/lib/courier-imap/bin or whereever
your imap-path is)

After you've overwritten the original imapd-prog: start it again and log
into your mailbox via imap and logout.
Look in the maillog (/var/log/maillog) and you should see something like:

INFO: LOGOUT, USER=domain.com-test, ip=[xxx.xxx.xxx.xxx], headers=0, body=0

Now you have the alternative Login from the user:

Login: [EMAIL PROTECTED] - Becomes: domain.com-test

Login: domain.com-test - Besomes: domain.com-test

I was surprised why NOBODY is interested to get the size of a virtual user
who is getting mails via imap over vmailmgr-auth

Any ideas?

milli



---
This sf.net email is sponsored by:ThinkGeek
Caffeinated soap. No kidding.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] courier-imap and virtual domains with vmailmgr qmail...

2002-07-02 Thread M. Jolic

Hi Gurus,

i've searched the list but nothing found similar.

I've got a problem to log the user WITH domain in the Logs.

The normal way shows the user only.

from imapd.c
[...]
fprintf(stderr, INFO: LOGIN, user=%s, ip=[%s]\n,
getenv(AUTHENTICATED), ip);
[...]

maillog:
[...]
Jul  1 22:10:37 HOST imapd-ssl: Connection, ip=[xxx.xxx.xxx.xxx]
Jul  1 22:10:37 HOST imapd-ssl: LOGIN, user=user1, ip=[xxx.xxx.xxx.xxx]
Jul  1 22:10:44 HOST imapd-ssl: LOGOUT, user=user1, ip=[xxx.xxx.xxx.xxx],
headers=76, body=4477
[...]
(btw: HOST is the name of the server)

So, how get we logged the virtual domain?

Like, for ex.:

user1 is a user from virtual domain example.com.

It could look like:

maillog:
[...]
Jul  1 22:10:37 HOST imapd-ssl: Connection, ip=[xxx.xxx.xxx.xxx]
Jul  1 22:10:37 HOST imapd-ssl: LOGIN, user=user1, domain=example.com,
ip=[xxx.xxx.xxx.xxx]
Jul  1 22:10:44 HOST imapd-ssl: LOGOUT, user=user1, domain=example.com,
ip=[xxx.xxx.xxx.xxx], headers=76, body=4477
[...]

thx.

m.



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] courier-imap and virtual domains withvmailmgr qmail...

2002-07-02 Thread M. Jolic

 
 make sure your users login with their full name + email address.
 

They do! 

Ex:login: [EMAIL PROTECTED] pass: pass

 e.g. [EMAIL PROTECTED]
 
 that way it gets logged with the vhost.

No.

When somebody uses (for ex.) outlook and the login is defined as:
[EMAIL PROTECTED] (+ his password) we get this LOG:

Jul  1 22:10:37 HOST imapd-ssl: LOGIN, user=user1, ip=[xxx.xxx.xxx.xxx]

NOT [EMAIL PROTECTED] ::: NO host-info!!!

Do you get something else?

 
 the problem with your vhost setup is, is that you can't have two of the same
 accounts for
 different domains,
 
 e.g. [EMAIL PROTECTED]
 [EMAIL PROTECTED]

This is handled trough vmailmgrd!

We have [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED] and so on!

Every user has to login with his FULL login-name like mentioned above.

And everything works as expected!

But we don't see any domain in the logs!

 
 i use ldap is the authentication backend and altered the me file
 /courier/etc to change the domain name to something other then
 the default domain, as it gets appended by default to the username and
 authentication fails.
 
 also i have created a hostedddomains file with domains that i host.

Is 'hosteddomains' handled by courier? If yes, how?

***

Any comments?

thx.

m.

 
 Mail me if you want more info,
 
 With kind regards,
 
 Tjeerd van der Zee
 
 - Original Message -
 From: M. Jolic [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, July 02, 2002 1:16 PM
 Subject: [courier-users] courier-imap and virtual domains with vmailmgr 
 qmail...
 
 
 Hi Gurus,
 
 i've searched the list but nothing found similar.
 
 I've got a problem to log the user WITH domain in the Logs.
 
 The normal way shows the user only.
 
 from imapd.c
 [...]
 fprintf(stderr, INFO: LOGIN, user=%s, ip=[%s]\n,
 getenv(AUTHENTICATED), ip);
 [...]
 
 maillog:
 [...]
 Jul  1 22:10:37 HOST imapd-ssl: Connection, ip=[xxx.xxx.xxx.xxx]
 Jul  1 22:10:37 HOST imapd-ssl: LOGIN, user=user1, ip=[xxx.xxx.xxx.xxx]
 Jul  1 22:10:44 HOST imapd-ssl: LOGOUT, user=user1, ip=[xxx.xxx.xxx.xxx],
 headers=76, body=4477
 [...]
 (btw: HOST is the name of the server)
 
 So, how get we logged the virtual domain?
 
 Like, for ex.:
 
 user1 is a user from virtual domain example.com.
 
 It could look like:
 
 maillog:
 [...]
 Jul  1 22:10:37 HOST imapd-ssl: Connection, ip=[xxx.xxx.xxx.xxx]
 Jul  1 22:10:37 HOST imapd-ssl: LOGIN, user=user1, domain=example.com,
 ip=[xxx.xxx.xxx.xxx]
 Jul  1 22:10:44 HOST imapd-ssl: LOGOUT, user=user1, domain=example.com,
 ip=[xxx.xxx.xxx.xxx], headers=76, body=4477
 [...]
 
 thx.
 
 m.
 
 
 
 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 courier-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
 



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: courier-imap and virtual domains withvmailmgr qmail...

2002-07-02 Thread M. Jolic

 When somebody uses (for ex.) outlook and the login is defined as:
 [EMAIL PROTECTED] (+ his password) we get this LOG:
 
 Jul  1 22:10:37 HOST imapd-ssl: LOGIN, user=user1, ip=[xxx.xxx.xxx.xxx]
 
 NOT [EMAIL PROTECTED] ::: NO host-info!!!
 
 File a bug report with microsoft.  The IMAP mail client completely controls
 the userid it sends to the server.

But there's only one problem:

Our Users have to login with [EMAIL PROTECTED] with their password and this
has to be transmitted, otherwise our server wouldn't allow to log in.

So, [EMAIL PROTECTED] is transmitted and via the authvmailmgr authenticated
as mentioned on www.inter7.com (-free software-courier-imap).

Maybe this could be a solution:

In imapd.c:

SetENV(DAMNEDVIRTUALUSER)=user;

and further on where the code will log through syslog:

fprintf(stderr, INFO: LOGIN, user=%s, ip=[%s]\n,
getenv(DAMNEDVIRTUALUSER), ip);

Is this possible?

m.



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: courier-imap and virtual domains withvmailmgr qmail...

2002-07-02 Thread M. Jolic

 courier logs whatever the auth-module puts into $AUTHENTICATED:
 
 fprintf(stderr, INFO: LOGOUT, user=%s, ip=[%s],
  headers=%lu, body=%lu\n,
 getenv(AUTHENTICATED), getenv(TCPREMOTEIP),
 
 
 Use one of the auth-module which comes with courier, or fix
 vmailmgr (which also has a couple of other problems reported).
 

Do you know about other problems? What kind of?

The problem is:

We're using qmail with vmailmgrd (for virtual hosts) with pop  smtp. So we
decided to use courier-imap as an additional module because it's faster than
pop and we like the possbility to keep messages in folders or to mark them
as seen/deleted...

But we don't want to have a conf for vmailmgr (qmail) and another for imap.

We're just talking about a solution with qmail  SQL where every user (vdoms
too) is listed in the SQL-table. There are solution for qmail to handle this
(auth via SQL).

The Benefit is that users who want to connect via imap could be
authenticated through the auth-SQL too.

So we have only ONE database for the whole mail-system.

Is anybody using this? (or similiar?)

milli



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] question setting up userdb

2002-06-10 Thread M. van der Kolk








Im having
a problem setting up the userdb authentication. I
want to have this authentication next to the unix shadow passwords. In the wed administration I
can see that all the modules are working.

Next, Ive
set up the file /etc/courier/userdb as following: 



[EMAIL PROTECTED]
home=/home/courierusers|[EMAIL PROTECTED]|systempw=testpw|gid=100|uid=1011



After adding this
entry Ive ran makeuserdb to update the
changes.



The user and groupid are from the Unix user courierusers Ive created. The mail dir Ive
created with maildirmake.



When I try to
send an email to this user, I get an e-mail back saying: 550 User unknown



Can anyone help
me? What am I missing here?



M. van der Kolk










RE: [courier-users] question setting up userdb

2002-06-10 Thread M. van der Kolk

When I try this, I cannot receive any mail at all, even local to local
users.

I've seen an answer from A. Birkholz suggesting that I fut a file
.courier-username in the aliasdir and run makealiases.

But I cannot see how that will work, when I'm not trying to make an
alias.

I have a number of Unix users who will have a mail account on my courier
MTA. Next to those users, I want to be able to have a number of
mailaccounts who don't get an Unix account, for security reasons. Using
userdb for those accounts was my idea.

-Oorspronkelijk bericht-
Van: Anand Buddhdev [mailto:[EMAIL PROTECTED]] 
Verzonden: maandag 10 juni 2002 10:45
Aan: M. van der Kolk
CC: Courier Mailinglist
Onderwerp: Re: [courier-users] question setting up userdb

On Mon, Jun 10, 2002 at 10:02:29AM +0200, M. van der Kolk wrote:

 I'm having a problem setting up the userdb authentication. I want to
 have this authentication next to the unix shadow passwords. In the wed
 administration I can see that all the modules are working.
 Next, I've set up the file /etc/courier/userdb as following: 
  
 [EMAIL PROTECTED]

home=/home/courierusers|[EMAIL PROTECTED]|system
 pw=testpw|gid=100|uid=1011
  
 After adding this entry I've ran makeuserdb to update the changes.
  
 The user and groupid are from the Unix user courierusers I've created.
 The mail dir I've created with maildirmake.
  
 When I try to send an email to this user, I get an e-mail back saying:
 550 User unknown

You have probably listed mydomain.com in the locals config
file. Delete it from there, and put it instead into the hosteddomains
file.

-- 
Anand Buddhdev
Personal site: http://anand.org




___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] problems with inbound smtp

2002-06-09 Thread M. van der Kolk








Hello,

Ive got a
problem with inbound smtp.

Configured and
installed courier 0.38.0.20020425 using the instructions on www.courier-mta.org. After starting the
daemon Ive got a number of processes :


 Courierd
 
  Courierdsn
  Courieresmtp
  Courierfax
  Courierlocal
  Courieruucp
 




Next Ive
started the authorization daemon. Configured it to have 2 processes, so Ive
got two of those.

Starting webmail and I can login to my email account. Sending mail
to both internal and external addresses works fine. Delivery from local to
local works as well.

The only thing
that isnt working is inbound smtp
from outside my domain. 

Ive looked
in the man pages and found that I have to start esmtpd,
which will start a process named couriertcpd.

And so I did, but
still nothing works. When I try to connect to port 25 using telnet, I get a
connection refused error, so I assumed there is still no process listening on
that port. But when I check this assumption with netstat
lp, I get the
following output:



Proto Recv-Q Send-Q Local Address
Foreign Address
State
PID/Program name

tcp
0 0  *:smtp
 *:*
LISTEN 27173/couriertcpd



So courier is
listening on that port, but isnt accepting any mail.

Can somebody help
me?



Thanxs in advance,



M. van der Kolk



P.S. if you need
any config files, just tell me and I will put them
online










Re: [courier-users] Hiding IMAP?

2002-05-29 Thread Jeff M

bronto said:
 While on long drives last weekend I did some thinking.  I have just
 built a  new linux mail server using Postfix-MySQL-Courier-imap.  I
 would like to be  able to restrict access to imap services to only
 particular users.  It was  apparent last week from several other
 messages on this list that there is  currently no built in
 functionality for selectively granting imap  privileges and was
 thinking there must be some other way to do this, other  than a
 suggested method of running two instances of courier-imap.

Why not hack the auth functionality so that when it tries to auth, it has
to check against an additional file in /etc, such as /etc/imap-authorised,
and bump any userid that isn't in that file?  I'll look when I get home
and see if I can hack together a script that would do that.



___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: IMAP login failes

2002-05-15 Thread David M. Stowell

On 2002.05.15 20:03 Sam Varshavchik wrote:
 AlexB writes:
 the problem is with IMAP not with vpopmail. I mentioned that I use 
 vpopmail for reference only. Don't be wise ass
 
 Please refrain from discussing things you know very little about.  
 The IMAP server uses the vpopmail library for authentication.  That's 
 the whole purpose of that library, Einstein.  You are reporting a 
 problem with authentication.  Therefore, the problem is in the 
 vpopmail library. Also, learn how to properly reply to Internet 
 E-mail. -- 
 Sam

heh

We were wondering how Sam was going to respond to that venerable 
gentleman...

David M. Stowell
[EMAIL PROTECTED]

___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] --disable-root-check ?

2002-05-03 Thread David M. Stowell

On 2002.05.03 17:12 Rick Updegrove wrote:
 
 Ok so just for the heck of it I decided to see if it would compile as 
 root,
 which it does.  Now, because I read the documentation I know that is 
 not the
 way it was mean to be installed, but I cannot fifure out why yet.
 
 When I look at the Makefile for the (working) ports version I see the
 following:

 Should I ./configure --disable-root-check
 
 and then gmake as root?  etc.  If not why not?  I know I am not 
 supposed to
 gmake as root but I am not sure why.  I have been looking around for a
 written explanation of when --disable-root-check is needed/adviseable
 but so far I haven't located anything.

The problem you are having in installation is somewhat curable, though 
not something I've had to deal with in a while. As I'm sure Sam will 
emphasize, executing *any* action, espeecially a complex one like 
building courier, has the potential to destroying your system. As a 
metter of course, one shouldonly resort to root login and su when they 
are appropriate and needed, and at no other time.

David Stowell

___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Synchronisation of IMAP-Mailboxes between multiple servers

2002-04-23 Thread Oliver M. Bolzer

Hi!

At the place I work for, we are using Courier-IMAP/POP3 with SSL for
several hundred usrs (University-environment) and are very satisfied with
it's performance and memory footprint.

Currently we only have one mailserver for IMAP but we'd like to
make this setup redundant. For incoming mail, that's easy. The MTA
just needs to pass another copy to the second box before local
delivery.
But in an IMAP context, we'd also need to replicate the mailboxes to
a second machine so it can take over in case the main server becomes
unavailable.

I imagine that others have the same problem. How do you synchronize
(live) IMAP mailboxes between servers ?

Would just rsynching the Maildirs be sufficent ? Is there any way to tell
Courier to lock a specific Mailbox so it can't be changed while rsync
copies a specific user's mailboxes ? 

Or is there any better way to achive high availability ?

Any tips or experiences would be greatly appreciated.

-- 
Oliver M. Bolzer
[EMAIL PROTECTED]

GPG (PGP) Fingerprint = 621B 52F6 2AC1 36DB 8761  018F 8786 87AD EF50 D1FF



msg04224/pgp0.pgp
Description: PGP signature


Re: [courier-users] INSTALL: IMAP package conflict with pam.d

2002-04-17 Thread David M. Stowell

On 2002.04.17 22:50 Patrick Beart wrote:
   I'm a complete novice with both (RH 7.2) Linux and Courier. 
 However, I've managed to create RPM's from the tarball (Courier 
 0.37.3.20020317-1.7.2), thanks to the FAQ. I've also managed to 
 install the RPM's with ...
   rpm -Uvh package name

No, you haven't installed it yet, because you got an error message. RPM 
won't complete an install unless everything is perfect or you --force 
the issue. Consider this a good thing.

   I've run into an error with one of the packages and could use 
 some advice: The IMAP package install resulted in the following error:
   file /etc/pam.d/imap from install of 
 courier-imap-0.37.20020317-1.7.2 conflicts with file from package 
 imap-200c-15
 
   How do I recover from this (and get the IMAP component 
 installed)? TIA

You got the error because there's a file (/etc/pam.d/imap) that is 
owned by the current imap package that your RPM wants to replace. Given 
that you want to replace the current IMAP package with courier-IMAP, 
your best option (check me on this) is to remove the current IMAP 
package with the command:

rpm -e imap

and then reexecute:

rpm -Uvh courier package name

Hope this helps,

David Stowell

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] mbox to maildir

2002-04-13 Thread Aaron M. Walsh

Let me start by stating the obvious.  I dont know much.  However, I am in
the process of setting up sqwebmail on my Freebsd box.  I thought the easy
part would be moving my current mail in my standard mailbox (right now I
am using sendmail and pine) to the new Maildir (which I have created).
The hard part I thought was going to be setting up sqwebmail.  I guess I
got it backwards.  I have sqwebmail setup, and I Maildir created.
However, I am at a loss for how to get my mail (really all I care about is
new mail) to go into my Maildir.  I have tried using Maildrop, and I can
take a message and drop it but it goes into the standard mbox.

I should also add that I want to be able to do this a user level, or at
least run in tandem with sendmail so that both my mbox and my maildir get
new mail.

Many thanks in adavnce.

Aaron Walsh
Senior JDE Consultant
[EMAIL PROTECTED]


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Using Courier with OS X Mail Client

2002-03-25 Thread m . kolb


On Monday, March 25, 2002, at 10:23 AM, Tim Bithoney wrote:

 I am trying to get subdirectories to work in Mail.app, it ONLY 
 recognizes
 INBOX, none of my other Maildirs work! For example, I keep all my ebay
 receipts in INBOX.ebay, Entourage has no problem doing this, Mail.app
 refuses to open INBOX.ebay :(

Hrm.  What version of Mail do you use?  I have 1.1 (v481) and the 
folders work fine here.  You are using IMAP, correct?  I really didn't 
do anything special to get it to work.  Maybe it's a revision problem.

--
m. kolb [EMAIL PROTECTED]
unix s y s t e m s  p r o g r a m m e r
michigan s t a t e  u n i v e r s i t y


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] banner

2002-03-18 Thread David M. Stowell

On 2002.03.16 03:07 Anand Buddhdev wrote:
 On Fri, Mar 15, 2002 at 06:01:02PM -0500, alexus wrote:
 
  is there anything else can be done other then modifing source code?
 
 No. Most people don't need to change the POP and IMAP server banners,
 so it's not a runtime configuration option. But why don't you want to
 change the source code? It's quite simple really.

Just a comment: I realize that we're in a open source community, and I 
haven't looked to see what kind of license Sam has placed on courier, 
but the majority of the banner is a copyright notice, and if he's put a 
copyright notice in the banner, it would seem to me that he's the 
ultimate arbiter as to whether a user of the product has the right to 
remove it. I would guess not. Even when software is under the GPL, a 
notice to that effect is part of the requirements of the license.

Does that make sense?

David Stowell
Ravenslake Consulting

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Completely remove Courier

2002-02-19 Thread David M. Stowell

On 2002.02.19 13:13 M.B. wrote:
 I want to completely remove courier from my system so it would not
 interefere with another attempt with another e -mail server
 installation
 
 besides, rpm -e, is there anything else I have to do to completely
 remove it
 and when I say COMPLETELY I mean COMPLETELY ( ala the INSTALL file)

When I was researching e-mail servers, one of the factors that sold me 
on courier was its relative ease of installation. By contrast, I found 
Cyrus to be very difficult to deal with. Any full-featured systems 
administration package will be rather intensive to install and 
maintain. If you are looking for easier installations, at the cost of 
fewer features, there are a number of e-mail servers out there. But 
with a certain amount of patience, you'll find courier to be worth the 
effort. And as the INSTALL document points out, the initial 
installation is the worst one - upgrades are quite smooth, even if you 
are compiling.

At last report, you seemed to be on your way. Don't give up yet.

David M. Stowell
Ravenslake Consulting
Chicago, IL

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: Problems after install- please help .. closer maybe

2002-02-18 Thread David M. Stowell

On 2002.02.18 17:42 M.B. wrote:
 
 I am thinking just to remove the RPM's and every thing they installed,
 remove the user accounts, and start over with courier.  If I do that
 can I use the same RPM's or do I have to build them again

Insofar as I can tell, this should be unnecessary.

 Will RPM -e * take care of getting rid of courier and its ffiles it
 installed or is there something else I have to do

The -e option would work. Again, I suspect that this would not help 
your problems.

 pac10fans.com was set as locally-hosted domain . I went to add it 
 to
 local domains and I got this error 'ERROR: domain cannot be both 
 local and
 locally-hosted'
 
 I will delete the locally-hosted one and add it to local domains and
 report back
 
 ===
 After changing pac10fans,com too a local domain from a localy-hosted 
 one
 ===
 
 I sent my self a message from my isp '[EMAIL PROTECTED]' to
 '[EMAIL PROTECTED]' and it DID NOT bounce back to me as 'Returned 
 Mail'
 like before so I checked the webmail and again it did not show up in
 the INBOX so I checked the mailog and this is what it said
 
messages clipped

 Feb 18 11:50:23 pac10fans courierlocal:
 id=7D9F.3C715AFF.0B33,from=[EMAIL PROTECTED],addr=mb18@pac10fans.
 com,size=776,success: Message delivered.
 Feb 18 11:50:23 pac10fans courierd:
 completed,id=7D9F.3C715AFF.0B33
 Feb 18 11:50:23 pac10fans courierd: Waiting.  shutdown time=Mon Feb 18
 12:23:51 2002, wakeup time=Mon Feb 18 12:23:51 2002,
 queuedelivering=0,
 inprogress=0
 
 It sais it was delivered but its not showing up in mb18's sqwebmail. 
 I then
 with OE on my win 98 se computer on the LAN I created a new mail 
 account to
 retrieve mb18's mail from pac10fans.com.  I used mail.pac10fans.com 
 for both
 the POP3 and SMTP server.  I went to see if I could get it this way 
 and I
 got this error

Did you look on the server's /home/mb18/Maildir/new directory to see if 
the messages landed there? In other words, don't trust OE or sqwebmail 
until you have the base level functioning first. Also, did you do *all* 
the testing prescribed in INSTALL, including the perftest1 script? What 
were the results?

Then again, if you created RPMs, you may not have seen that script, or 
for that matter, the INSTALL instructions. They cannot be ignored. Go 
to http://www.courier-mta.org/install.html, read *EVERYTHING* and do 
all the testing described there. For the record, this is one of the few 
packages I use that I do not create RPMs for - I compile the program 
directly, and am thankful for that.

 BOFH mail filters
 Spamtraps = @mail.pac10fans.com (can not delted it, it wont let me)
 CAN THIS BE THE PROBLEM!!

If this is in the text box (which is likely - it's what's in my 
system), it is not a problem - it is just a suggestion. If it is 
written as text on the page itself, with the word remove to the right 
of it, then it needs to be removed by clicking on the word remove.

David M. Stowell
Ravenslake Consulting
Chicago, IL

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: Problems after install- please help .. closer maybe

2002-02-18 Thread David M. Stowell

On 2002.02.18 21:21 M.B. wrote:
  I'd skip the RPM business and compile from first principles, but 
 that's
  just me.
 
 With my little experience, RPM I would think is better for me.  I did
 install Mysql and PHP 4.1.1 from source but I found a great tutorial
 for it
 
 If people were not getting this to work with RPM, I am sure it would 
 be
 noted somewhere
  The fact that the Courier writers do not provide an RPM should be 
taken as a caution. When I first started using courier, I tried making 
RPMs, but found that the assumtions made in the process were not valid 
for my machine, and the testing suite was not available to diagnose 
installation problems. So I took out the RPMs, compiled the source and 
got courier running rather quickly.

  I think the more important question is whether you've been through
  Sam's test suite. Have you read the INSTALL page yet?
 
 I did read the INSTALL page and the one in the TAR.  The problem I 
 find is
 it is not clear on what you HAVE to do if you are using RPM's.  There 
 are
 quite a few things the INSTALL file says to do but its more geared to
 compiling from source, I find very few instruction when using RPM.
 Half the stuff is in a different place using RPM

The testing suite must be done to verify proper installation. Compiling 
from source makes the perftest much more feasible.

 I dont know, it might be me, but there should be an RPM.INSTALL file
 detailing what needs to be done going the RPM route.  Honeslty,  I
 dont know what I HAVE MUST do after installing the RPM's

Given the complexity of installation of server-level software, my 
opinion is that making RPMs an option is doing a disservice to the 
system administrator (IMHO only). Having said that, by carefully 
following the directions in INSTALL, you'll find that compilation of 
courier is much easier than it looks.

 Then it says if you are using webadmin the rest of the file can be
 configured with it.  There is no documentation on webadmin, if someone
 needed to use it they obviously dont have all the terminolgy down.
 
 If I could configure it without webadmin, I would not need to use 
 webadmin,
 and since I do there should be explanation on what all those settings 
 are
 for.

If you study the documentation for the configuration files, you'll 
understand the settings in webadmin. At thqat point, webadmin is an 
easier way to alter those settings.

 Whats Sam's test suite.  I did not see anything called Sam's test
 suite.

 From Post-Installation Setup onward in the INSTALL doc.
http://www.courier-mta.org/install.html#postinst

 Courier seems like a great piece of software.  I chose it because it 
 is an
 full mail server in one package.  I figures it would be best to have 
 one
 system running POP, SMTP, WEBMAIL, a WEBADMIN was a bonus good feature

You're right on that point. :)

 Is there a site with more detailed instruction using RPM's

To my knowledge, no.

David M. Stowell
Ravenslake Consulting
Chicago, IL

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: Problems after install- please help .. closer maybe

2002-02-17 Thread David M. Stowell

On 2002.02.17 22:44 M.B. wrote:
 Hi again,
 
 I really hope someone can help me with this.
 
 As I said before I can send e - mail fine with my domain. but I can 
 not
 receive
 
 Here is the error messsage someone gets when they send me an email or 
 reply
 to one I sent
 
 inal-Recipient: rfc822; [EMAIL PROTECTED]
 Action: failed
 Status: 5.0.0
 Remote-MTA: dns; mail.pac10fans.com [IPx.x.x.x]
 Diagnostic-Code: smtp; 550 User unknown.
 
snip - courier RPMS

 I have no idea why its saying user unknown but could it be related it
 to
 this I noticed in the properties of an e - mail I sent from
 [EMAIL PROTECTED] to my ISP account
 
 Return-Path: [EMAIL PROTECTED]
 Received: from lamx01.mgw.rr.com ([66.75.160.12])
   by orngca-mls05.socal.rr.com (Post.Office MTA v3.5.3 release
 223
   ID# 0-59787U25L25S0V35) with ESMTP id com
   for [EMAIL PROTECTED]; Sun, 17 Feb 2002 20:38:10 -0800
 Received: from mail.pac10fans.com (sc-24-24-202-102.socal.rr.com
 [24.24.202.102])
  by lamx01.mgw.rr.com (8.11.4/8.11.3) with ESMTP id g1I4ckN21474
  for [EMAIL PROTECTED]; Sun, 17 Feb 2002 20:38:46 -0800 (PST)
 Received: from localhost (localhost [127.0.0.1]) = == right 
 here,
 is that correct


 The only error I see in syslog is  Feb 17 21:44:36 pac10fans
 su(pam_unix)[32541]: session opened for user mb18 by courier(uid=0)
 
 This is not even from today and I started, rebooted courier several
 time today

Call it me, but has anyone looked at this guy's DNS records? I just did 
(using dig) and things look a bit strange up there to me.

Seriously, I would guess that you are new to systems administration. I 
think you should *seriously* consider calling in a consultant to wire 
things together and get you on your feet. Otherwise, it really looks 
like you're going to keep fumbling.

David M. Stowell
Ravenslake Consulting
Chicago, IL

P.S. No, I do not consult in mail administration :)

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: Problems after install- please help .. closer maybe

2002-02-17 Thread David M. Stowell

On 2002.02.18 00:21 Juha Saarinen wrote:
 On Sun, 17 Feb 2002, David M. Stowell wrote:
 
   Call it me, but has anyone looked at this guy's DNS records? I 
 just did
   (using dig) and things look a bit strange up there to me.
 
 They look all right to me.
 
 # dig pac10fans.com. mx
 
 ;  DiG 8.3  pac10fans.com. mx
 ;; res options: init recurs defnam dnsrch
 ;; got answer:
 ;; -HEADER- opcode: QUERY, status: NOERROR, id: 4
 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL:
 5
 ;; QUERY SECTION:
 ;;  pac10fans.com, type = MX, class = IN
 
 ;; ANSWER SECTION:
 pac10fans.com.  1D IN MX1 mail.pac10fans.com.
 
 ;; AUTHORITY SECTION:
 pac10fans.com.  1H IN NSns1.mydomain.com.
 pac10fans.com.  1H IN NSns2.mydomain.com.
 pac10fans.com.  1H IN NSns3.mydomain.com.
 pac10fans.com.  1H IN NSns4.mydomain.com.
 
 ;; ADDITIONAL SECTION:
 mail.pac10fans.com. 1D IN A 24.24.202.102
 ns1.mydomain.com.   5M IN A 216.148.213.141
 ns2.mydomain.com.   5M IN A 216.148.221.142
 ns3.mydomain.com.   5M IN A 216.148.213.143
 ns4.mydomain.com.   5M IN A 216.148.221.144

I didn't get the MX record on my query. That was the main oddness. 
Also, I didn't check, but nameservers called ns_.mydomain.com looked 
strange, even if they really exist (which I'm sure they do).

My suggestion to get experienced help on site still stands.

David M. Stowell
Ravenslake Consulting
Chicago, IL

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Re: Problems after install- please help

2002-02-17 Thread David M. Stowell

On 2002.02.18 00:24 Juha Saarinen wrote:
 So... is pac10fans.com in your locally hosted domains file? All the
 standard user names that I've tried, root, hostmaster, postmaster,
 etc.
 give you a 550 - User unknown.

This may be too simple, but is there a Maildir in the valid users' home 
directories?

David M. Stowell

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



RE: [courier-users] simple question about maildirmake

2002-02-13 Thread M. van der Kolk

Sorry, forgot to paste the message:

I'm not quite sure, but this is what happened to me. When I create a
subfolder with webmail, say subfolder called test, it creates the subfolder,
but adds a .(dot) to it in front of the name. ls will not show it. Try ls -a
and see if there is a subfolder called .test instead of test.

Major Nono

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Namens Eli Spizzichino
Verzonden: woensdag 13 februari 2002 16:24
Aan: [EMAIL PROTECTED]
Onderwerp: [courier-users] simple question about maildirmake


Hi to all,
hi need a hint to crate subfolders:
when I use  /var/qmail/bin/maildirmake -f /home/user/Maildir/test to create
the subfolder test no error message appear but no directory is created. If
I repeat the command this is the message maildirmake: fatal: unable to
mkdir -f: file already exists

What have I do?
thank you
Eli



___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



RE: [courier-users] simple question about maildirmake

2002-02-13 Thread M. van der Kolk



-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Namens Eli Spizzichino
Verzonden: woensdag 13 februari 2002 16:24
Aan: [EMAIL PROTECTED]
Onderwerp: [courier-users] simple question about maildirmake


Hi to all,
hi need a hint to crate subfolders:
when I use  /var/qmail/bin/maildirmake -f /home/user/Maildir/test to create
the subfolder test no error message appear but no directory is created. If
I repeat the command this is the message maildirmake: fatal: unable to
mkdir -f: file already exists

What have I do?
thank you
Eli



___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] Kerberos Authentication

2002-02-01 Thread m. kolb

--On Thursday, January 31, 2002 2:20 PM -0800 David Chait 
[EMAIL PROTECTED] wrote:

 Has anyone successfully set up Kerberos Authentication methods with
 Courier-IMAP?

Yes (although my setup is very hacked). You should be able to get straight
kerb auth through pam (remember, though, that without modifying your pam
system source, and the preauthpam et. al, you will need your users to
have passwd file entries).

Best of luck,

./muk

-- 
m. kolb [EMAIL PROTECTED]
unix s y s t e m s  p r o g r a m m e r
michigan s t a t e  u n i v e r s i t y

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] esmtpd running, not listening

2002-01-30 Thread m. kolb

Courier Users,

I have been fooling with courier-imap for a bit now, and am very
pleased with it.  I made some modifications to the code to work with
a cooked up version of pam+kerberos+mysql that I have running on my
FreeBSD development box.  The imapd works very well.  So well, in fact
that I decided to try the full courier suite.  I've gone over the docs
a few times, configured and installed the suite+my modifications to
the authentication module.  Again, imap works fine, so I start up
esmtpd, which starts courieresmtpd running. I can see it in the process
table, but it does not appear to be listening.  Telneting to port 25 on
the box gives me Connection refused as if there is no smtpd running.
nmap gives me the same thing, open ports on 22,80,110,143,443 ...
all services accounted for but smtpd.

Hopefully I'm just missing something simple.  I've tried setting ADDRESS
and PORT in the etc/esmtpd but to no avail.  Any advice on what to look
for next would be much appreciated (else, I'll assume it's something hosed
in my hacked up build process, though I didn't touch anything outside of
authlib/)

Thanks in advance,

./muk

-- 
m. kolb [EMAIL PROTECTED]
unix s y s t e m s  p r o g r a m m e r
michigan s t a t e  u n i v e r s i t y

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Re: esmtpd running, not listening

2002-01-30 Thread m. kolb

--On Wednesday, January 30, 2002 5:36 PM -0500 Sam Varshavchik wrote:
 m. kolb writes:
 the authentication module.  Again, imap works fine, so I start up
 esmtpd, which starts courieresmtpd running. I can see it in the process
 table, but it does not appear to be listening.  Telneting to port 25 on
 the box gives me Connection refused as if there is no smtpd running.

 You're seeing courieresmtp running, the ESMTP client, not the server.
 See INSTALL for instructions on starting the esmtpd server.  --

Thank you for your prompt response.

I believe, however, that I've been attempting to start the server correctly,
by running /usr/lib/courier/sbin/esmtpd start
There is no output from running this command, and it does not appear to
start a new process.

# /usr/lib/courier/sbin/esmtpd start
# telnet kernighan 25
Trying 35.x.x.x...
telnet: connect to address 35.x.x.x: Connection refused
telnet: Unable to connect to remote host

Perhaps I'm just extremely dense (distinct possibility), but running esmtpd
start appears to be the proper way to start the server.

I'm running courier 0.37.2 (sorry I forgot to mention that before)

Again, if I've misread the documentation, please forgive my ignorance.
Else, any additional direction would be much appreciated.

./muk


-- 
m. kolb [EMAIL PROTECTED]
unix s y s t e m s  p r o g r a m m e r
michigan s t a t e  u n i v e r s i t y

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



addendum to [courier-users] Inbound traffic jam

2002-01-07 Thread David M . Stowell

I've attached what bounced back from one of my attempts to send a 
message into my courier server from an outside account. To reiterate, 
sending throught courier is working wonderfully from any of my machines 
in my network, and receiving between machines in the network works, 
too. It's receiving from the Internet that it seems to be choking on.

Hopefully this will help in debugging.

David M. Stowell
Ravenslake Consulting
Chicago, IL


From raven  Mon Jan  7 15:24:03 2002
Return-Path: 
To: [EMAIL PROTECTED]
From: Mail Administrator [EMAIL PROTECTED]
Reply-To: Mail Administrator [EMAIL PROTECTED]
Subject: Mail System Error - Returned Mail
Date: Mon, 7 Jan 2002 10:13:05 -0600
Message-ID: 
[EMAIL PROTECTED]
MIME-Version: 1.0
Content-Type: multipart/report;
report-type=delivery-status;
Boundary_ _= 7992248(24187)1010419985
Content-Transfer-Encoding: 7BIT
Status: RO
Content-Length: 1914
Lines: 56


--===_ _= 7992248(24187)1010419985
Content-Type: text/plain

This Message was undeliverable due to the following reason:

Each of the following recipients was rejected by a remote mail server.
The reasons given by the server are included to help you determine why
each recipient was rejected.

Recipient: [EMAIL PROTECTED]
Reason:Relaying denied.


Please reply to [EMAIL PROTECTED]
if you feel this message to be in error.

--===_ _= 7992248(24187)1010419985
Content-Type: message/delivery-status

Reporting-MTA: dns; mpdr0.chicago.il.ameritech.net
Arrival-Date: Mon, 7 Jan 2002 01:19:04 -0600
Received-From-MTA: dns; chopin.ravenslake (66.73.252.54)

Final-Recipient: RFC822; [EMAIL PROTECTED]
Action: failed
Status: 5.2.0
Remote-MTA: dns; ravenslakeconsulting.com (66.73.252.54)
Diagnostic-Code: smtp; 513 Relaying denied.

--===_ _= 7992248(24187)1010419985
Content-Type: message/rfc822

Received: from chopin.ravenslake ([66.73.252.54])
  by mailhost.chi.ameritech.net
  (InterMail v4.01.01.07 201-229-111-110) with ESMTP
  id [EMAIL PROTECTED]
  for [EMAIL PROTECTED];
  Mon, 7 Jan 2002 01:19:04 -0600
Date: Mon, 7 Jan 2002 01:17:39 -0600
From: David M . Stowell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: test
Message-ID: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Disposition-Notification-To: David M . Stowell [EMAIL PROTECTED]
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Mailer: Balsa 1.2.3
Content-Length: 34
Lines: 1

test from Ameritech to ravenslake

--===_ _= 7992248(24187)1010419985--



Re: addendum to [courier-users] Inbound traffic jam

2002-01-07 Thread David M . Stowell

On 2002.01.07 18:59 Sysop wrote:
 Sysop wrote:

 Oh, I think I see where some of the problem lies...  I thought 
 somebody was trying to use you as an SMTP server, from outside your 
 network. This is just general mail coming in from another smtp server 
 for delivery
 
 where do you have your domains listed, for hosted or local?

I have them listed in locals. No domains are listed in any other 
configuration file. I've attached a copy of locals.

Thanks,

David M. Stowell



locals
Description: Binary data


[courier-users] Inbound traffic jam

2002-01-06 Thread David M . Stowell

As far as e-mail administration is concerend, I am a complete neophyte. 
Treat me gently... ;)

I've set up courier 0.37 and all seems well as far as the battery of 
tests outlined in INSTALL.html is concerned. Additionally, I can use 
IMAP to reach from my workstation to my server without a hitch. 
Finally, outbound traffic runs smoothly. The only remaining question is 
that of incoming traffic. while everything works well inside the 
network, courier seems not to be seeing Internet inbound traffic at all.

I have two domain names pointed at the same server - 
ravenslakeconsulting.com and ravenslakeconsulting.net. Internally, 
the network is called ravenslake. I've enclosed the locals file as an 
attachment if that helps. I should mention that I'm using Linux kernel 
2.4 and the accompanying iptables for a firewall, with a hole punched 
in for SMTP traffic.

Any thoughts? Thanks in advance

David M. Stowell



locals
Description: Binary data


Re: [courier-users] cannot create mailbox at root?

2002-01-03 Thread David M . Stowell

On 2002.01.04 00:41 Lee Ming wrote:
 I am using qmail + courier-imap + vpopmail + omail-webmail.  Client is
 using outlook express.  But when I  connect to my imap server, it only
 show up the inbox to subscribe.
 When I create mailbox at root, it always say no right to create.  I
 can only create mailbox under inbox, how can I create mailbox at root.
 I have seen the mail list archive but seem no one can really answer
 this question, can any one help?

Short form: You can't. Copurier will not allow you to ever deliver mail 
to root. This is documented in the installation instructions.

David M. Stowell

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Sending into oblivion (was Re: 450 Service temporarily unavailable)

2002-01-01 Thread David M . Stowell

On 2001.12.30 22:10 Sam Varshavchik wrote:
 David M . Stowell writes:
 Point. :) I've attached the courierd and authdaemonrc files. Is 
 there anything else I should be examining at this point?
 
 authdaemonrc indicates that you've installed all three LDAP, MySQL, 
 and PostgreSQL authentication drivers.  I suspect that none of them 
 are properly configured; and that you don't want to use any of them 
 in the first place. Therefore, set version=authdaemond.plain

Well, after making that change, fixing some SPEs (Stupid Programmer's 
Errors on my part), and finding the documentation from the last time we 
had this conversation, I've gotten over all the humps related to 
installation. Now, I'm trying to send messages from one user to another 
on the server, using variants of the syntax:

echo To: raven | /usr/lib/courier/bin/sendmail (sometimes 
with the -Nsuccess flag)

There are no error messages from the console, but the messages 
disappear into /dev/null without a trace that I can find. I've enclosed 
the tail end of /var/log/maillog, and it seems that the log is 
complaining about the status of the receiveing Maildir, and keeping the 
messages in a queue, yet mailq reveals nothing.

Any thoughts?

David M. Stowell
[EMAIL PROTECTED]



maillog
Description: Binary data


Re: [courier-users] Re: 450 Service temporarily unavailable

2001-12-30 Thread David M . Stowell

On 2001.12.29 19:03 Sam Varshavchik wrote:
 On Sat, 29 Dec 2001, David M . Stowell wrote:
 
  On 2001.12.29 09:22 Sam Varshavchik wrote:
   David M . Stowell writes:
   When I run the perftest1 test during installation, all the 
 messages I send are being
   returned with the above message. I am anticipating using userdb 
 authentication,
   and have made sure that the auththentication daemon is running. 
 What now?
  
   Check its configuration.
 
  All config files checked for reasonableness,
 
 How do we know that?  Define reasonableness.

Point. :) I've attached the courierd and authdaemonrc files. Is there 
anything else I should be examining at this point?

  What is my next step?

 
 If you don't understand the problem with your configuration, the next
 logical step is to indicate what your configuration files say.
 

heh

The annoying thing about this problem is that I had this problem the 
*last* time I did this install, and should have learned the answer more 
clearly. sigh

David M. Stowell



authdaemonrc
Description: Binary data


courierd
Description: Binary data


[courier-users] 450 Service temporarily unavailable

2001-12-29 Thread David M . Stowell

Okay, I feel really stupid asking this again, as we've gone around the 
block with this before. When I run the perftest1 test during 
installation, all the messages I send are being returned with the above 
message. I am anticipating using userdb authentication, and have made 
sure that the auththentication daemon is running.

What now?

Thanks,

David M. Stowell

___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] never will read that messages

2001-12-03 Thread Juan M. Lapuerta

(hello everybody :)

how to launch them to /dev/null?

i wish deliver an account emails to /dev/null, how should i do?

best regards...
-- 
Juan M. Lapuerta| http://www.elmundo.es
Mundinteractivos 
| El Mundo del Siglo XXI
C\Pradillo 42, Madrid   | +34 91 586 46 37


___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users