Re: [courier-users] courieresmtpd error codes - Where?????

2004-01-20 Thread Systems Administrator
On Tue, 20 Jan 2004, Gerardo Gregory wrote:

 Guees I got my hoemwork cut out for me, eh?

Yup :).

 Appreciate the RFC references.  I have begun to notice though different
 usages of the same code by remote MTA's.

That's right.  If you have a look at RFC 2821, you'll see:
-
550 Requested action not taken: mailbox unavailable
 (e.g., mailbox not found, no access, or command rejected
 for policy reasons)
-

Now note the one about policy reasons.  This includes things like
Spam/Virus Denied, and probably a bunch of other things.  Basically, the
problem(?) is that the code is generic enough to represent a wide range of
failures.  This is both a strength and a weakness.  It's a strength in
that if people need a new error code (like when implementing a spam
filter) they can just use that.  But it's also a weakness in that parsing
results is a pain :).  The RFC will give you the general description, but
your logs will give you the specifics.  You'd probably want something like
(excuse my perl):

%errors = (
...
'550' = {
'Spam or virus' = [ '(spam|virus|whitelist)' ],
'User unknown' = [ '((recipient|user).*?unknown|mailbox.*?not found)' 
],
...
}
)

then you'd use this pseudo-perl to eg. total the number of each different
type of message.


# Somewhere above we have a loop for the errors, which sets $errno and
# $errtext, and has a label NEXTERR
if($errno == 550) {
$errcoll = $errors{$errno};
foreach $type (keys %{ $errcoll } ) {
foreach $regex (@{ $errcoll-{$type} }) {
if($errtext =~ /$regex/) {
$types{$type}++;
next NEXTERR;
}
}
}
push @unknowns, $errtext;
}


Hope that helps.

:)

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel: +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Filters clogging up

2004-01-19 Thread Systems Administrator
Hi all.  I modified my courierperlfilters recently, and after a
while, they seem to clog up, and refuse to deliver e-mail.  The only
solution I've found is a hard reset (no, shutdown -r doesn't work).
Obviously when the machine is in this state, I don't have too much time to
do problem diagnosis, so I'm still unsure of what the problem is.

Anyway, where all this is leading is, is there a way that I can
have the filter restarted after eg. processing 1000 messages?

Thanks,

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel: +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] courieresmtpd error codes - Where?????

2004-01-19 Thread Systems Administrator
On Mon, 19 Jan 2004, Gerardo Gregory wrote:

 Is there any dosumented source for the courieresmtpd error codes (i.e.
 517, 417, 500, 550, etc.) ?

 I am writing a shell script to parse my logs for 5xx errors and would
 like to see all the possible errors that could be genrated by couriersmtpd.

The problem is, the error messages after the numbers come from all
different hosts around the Internet, wherever you're sending the message
to (yes, this is the ones in your logs).  The SMTP error codes can, I
believe, be found in the SMTP RFCs (2821 and 2822 I believe).  The only
way I can see to deal with the other messages is to make sometihng which
parses what you've got in your logs, and e-mails anything unrecognised to
you.  Then every time you receive one of these, you can add something to
parse it.  They probably don't change *that* much, and you ought to have
most of them in a few months, especially if you use regexes for things
like 'spam' and 'virus'.

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel: +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] courierperlfilter question

2004-01-06 Thread Systems Administrator
Hi all.  I'm wanting to test a perlfilter script, and from what I
can figure it wants a socket ID in ARGV when it starts.  I'd like to test
this filter without having it run as one of Courier's mail filters.  I can
probably come up with some wrapper around it, etc, but I don't understand
how to pass the file descriptor to the script.  I've tried (in perl):

---
open($handle, mailfile);

$foo = '/usr/local/bin/spamassassin-filter.pl ' . $handle;
print `$foo`;
---

That doesn't work.  Does anyone have any ideas?

Thanks,

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel: +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]






---
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_id78alloc_id371op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] courier, esmtproutes, and forwarding all mail

2003-12-10 Thread Systems Administrator
Hi.  I've got a number of servers, and am trying to get them all
to forward all e-mail to our mail server.  Some of these are internal
servers.  I want it so that if a cron job fails, and tries to send e-mail
from [EMAIL PROTECTED] to eg. [EMAIL PROTECTED], it will
automatically be forwarded to our mail server.  I've put:

:sunet.com.au

in the esmtproutes file, and

.sunet.com.au
.bcc.local.

in the esmtpacceptmailfor file.  However, the problem I'm
getting at the moment is that when I do

echo hi | mail [EMAIL PROTECTED]

I'm getting the following error in the logs:

517-Domain does not exist: test.bcc.local.

I've also turned off every BOFHDNS thing I could find.

Is courier the right tool for forwarding local mail to a central
mailserver?  I've done this before with sendmail and postfix, but thought
that since I'm using courier on the mail server, it would be easier to
have a standardised environment.

Thanks in advance for any comments,

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel: +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
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_id78alloc_id371op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: courier, esmtproutes, and forwarding all mail

2003-12-10 Thread Systems Administrator
On Wed, 10 Dec 2003, Sam Varshavchik wrote:

 Systems Administrator writes:

  Hi.  I've got a number of servers, and am trying to get them all
  to forward all e-mail to our mail server.  Some of these are internal
  servers.  I want it so that if a cron job fails, and tries to send e-mail
  from [EMAIL PROTECTED] to eg. [EMAIL PROTECTED], it will
  automatically be forwarded to our mail server.  I've put:
 
  :sunet.com.au
 
  in the esmtproutes file, and
 
  .sunet.com.au
  .bcc.local.
 
  in the esmtpacceptmailfor file.  However, the problem I'm
  getting at the moment is that when I do
 
  echo hi | mail [EMAIL PROTECTED]
 
  I'm getting the following error in the logs:
 
  517-Domain does not exist: test.bcc.local.

 Why don't you post the complete log entries, from start to finish.

Sorry.  Here's the complete log entries that appear to be anything
to do with that mail.  The only thing I've done is to insert an extra
space at the beginning of lines that don't start with a date, to make it
easier to read.

Dec 11 10:53:26 test courierd: newmsg,id=000BBA78.3FD7B1F6.0BBC: dns;
 localhost (localhost [127.0.0.1])
Dec 11 10:53:26 test courierd:
 started,id=000BBA78.3FD7B1F6.0BBC,from=[EMAIL 
PROTECTED],module=esmtp,host=sunet.com.au,addr=[EMAIL PROTECTED]
Dec 11 10:53:26 test courierd: Waiting.  shutdown time=none, wakeup
 time=none, queuedelivering=1, inprogress=1
Dec 11 10:53:26 test courieresmtp:
 id=000BBA78.3FD7B1F6.0BBC,from=[EMAIL PROTECTED],addr=[EMAIL PROTECTED]:
 517-Domain does not exist: test.bcc.local.
Dec 11 10:53:26 test courieresmtp:
 id=000BBA78.3FD7B1F6.0BBC,from=[EMAIL PROTECTED],addr=[EMAIL PROTECTED]:
 517 Invalid domain, see URL:ftp://ftp.isi.edu/in-notes/rfc1035.txt
Dec 11 10:53:26 test courieresmtp:
 id=000BBA78.3FD7B1F6.0BBC,from=[EMAIL PROTECTED],addr=[EMAIL 
PROTECTED],status:
failure
Dec 11 10:53:26 test courierd: completed,id=000BBA78.3FD7B1F6.0BBC
Dec 11 10:53:26 test courierd:
 started,id=000BBA78.3FD7B1F6.0BBC,from=,module=dsn,host=,addr=[EMAIL 
PROTECTED]
Dec 11 10:53:26 test courierd: Waiting.  shutdown time=none, wakeup
 time=none, queuedelivering=1, inprogress=1
Dec 11 10:53:26 test courierd: newmsg,id=000BBA7C.3FD7B1F6.0BC3: dns;
 localhost (localhost [127.0.0.1])
Dec 11 10:53:26 test courierd:
 id=000BBA7C.3FD7B1F6.0BC3,from=,addr=[EMAIL PROTECTED]:
 550 User unknown.
Dec 11 10:53:26 test courierd:
 id=000BBA7C.3FD7B1F6.0BC3,from=,addr=[EMAIL PROTECTED],status:
 failure
Dec 11 10:53:26 test courierd: completed,id=000BBA7C.3FD7B1F6.0BC3
Dec 11 10:53:26 test courierd: Waiting.  shutdown time=none, wakeup
 time=none, queuedelivering=2, inprogress=1
Dec 11 10:53:26 test courierd:
 started,id=000BBA7C.3FD7B1F6.0BC3,from=,module=dsn,host=,addr=postmaster
Dec 11 10:53:26 test courierd: completed,id=000BBA78.3FD7B1F6.0BBC
Dec 11 10:53:26 test courierd: Waiting.  shutdown time=none, wakeup
 time=none, queuedelivering=1, inprogress=1
Dec 11 10:53:26 test courierd: newmsg,id=000BBA78.3FD7B1F6.0BC5: dns;
 localhost (localhost [127.0.0.1])
Dec 11 10:53:26 test courierd:
 id=000BBA78.3FD7B1F6.0BC5,from=[EMAIL PROTECTED],addr=[EMAIL PROTECTED]:
 550 User unknown.
Dec 11 10:53:26 test courierd:
 id=000BBA78.3FD7B1F6.0BC5,from=[EMAIL PROTECTED],addr=[EMAIL 
PROTECTED],status:
 failure
Dec 11 10:53:26 test courierd: completed,id=000BBA78.3FD7B1F6.0BC5
Dec 11 10:53:26 test courierd: Waiting.  shutdown time=none, wakeup
 time=none, queuedelivering=1, inprogress=1
Dec 11 10:53:26 test courierd: completed,id=000BBA7C.3FD7B1F6.0BC3
Dec 11 10:53:26 test courierd: Waiting.  shutdown time=Thu Dec 11 11:53:02
 2003, wakeup time=Thu Dec 11 11:53:02 2003, queuedelivering=0,
 inprogress=0


--
Tim Nelson
Systems Administrator
Sunet Internet
Tel: +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
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_id78alloc_id371op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: courier, esmtproutes, and forwarding all mail

2003-12-10 Thread Systems Administrator
On Wed, 10 Dec 2003, Sam Varshavchik wrote:

 Systems Administrator writes:

  Dec 11 10:53:26 test courieresmtp:
   id=000BBA78.3FD7B1F6.0BBC,from=[EMAIL PROTECTED],addr=[EMAIL PROTECTED]:
   517-Domain does not exist: test.bcc.local.
  Dec 11 10:53:26 test courieresmtp:
   id=000BBA78.3FD7B1F6.0BBC,from=[EMAIL PROTECTED],addr=[EMAIL PROTECTED]:
   517 Invalid domain, see URL:ftp://ftp.isi.edu/in-notes/rfc1035.txt

 sunet.com.au's mail server rejected the return address of your message,
 [EMAIL PROTECTED], because the return address was not found in DNS.

Yay!  I've got it all working now.  And thanks to Gordon too --
I've done as he suggested :).

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel: +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
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_id78alloc_id371op=click
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] RE: distinct namespace with userdb ? (Feature Request)

2003-11-10 Thread Systems Administrator
On Mon, 10 Nov 2003, Jerome Bullert wrote:

 Most mail users are not used to entering the fully qualified email
 address as the username, when they've been taught that the username
 is that portion of the email address before the @ sign, and the server
 name is that portion after the @ sign. This is reinforced by support
 teams, sign-in instructions, and FAQs from AOL to Yahoo to Netscape Mail
 to workplace systems and so on. This is what users are taught.

Just a note -- with my home e-mail address, I did exactly this
when I first signed up.  Unless you explicitly note this on your sign-in
instructions, people will do the wrong thing.

On the other hand, I worked support for about a year, and I had
people make the opposite mistake -- putting in their full e-mail address
as a username.  Basically, whatever you do, you're going to need to
educate your users, preferably being specific in the signup instructions,
and also supplying the correct settings on your signup CD (or whatever).
An error message at the appropriate place in the POP/IMAP login might not
be a bad idea either :).

 What you're saying is that, even though I configure my email client to
 connect to domain.com (or mail.domain.com), the IMAP and POP servers
 don't know that *they are* domain.com (or mail.domain.com). Is this
 correct?

That's right!  You need to investigate DNS to understand this
properly, but basically, it is your computer's responsibility to turn the
names into IP addresses before it sends the information, so that the
Internet knows where to send it.  So, as someone said, if you assigned
each domain a different IP address, you should be able to get the POP/IMAP
server to default to a different domain.  But you might have to write a
patch for courier to do that (not sure :) ).

 My apologies if this is a stupid question. I'm not a mail expert (yet).
 But I am a Support expert that knows how users behave in the real world.

Just for those on the list who may not have worked in support, let
me summarise: dead stupid :).

 And I know that a single level of separation can result in a major
 increase or decrease in both usability and support time/costs.

I personally would expect that the full e-mail address scenario
would be getting a lot more common in the future, as more and more people
are hosting multiple domains from the one box.  It's something that we're
looking at here (with 2000 users, it will be a big changeover, but I think
we'll change a whole bunch of things at once -- IE - Mozilla, and Mail
with AUTH, SSL, and full domain names, new proxy (and DNS) settings, the
works).

:)

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel: +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: New Discussions

2003-11-10 Thread Systems Administrator
On Mon, 10 Nov 2003, Sam Varshavchik wrote:

 Vincent Lee writes:

  Hi,
 
  Just have a few new questions I faced would like to ask for help, as
  follows:
 
  1) I'm using 2 Courier mail server, running Solaris 9 with Courier-MTA
  latest version, which 1 server shared the whole Courier /etc config
  directory to another server. But unfortunately, ESMTPD daemon only able to
  start at 1 of the Courier server. Try to start another 1 will caused the
  started server ESMTPD down. (Anyone know why this happen?)
  Started ESMTP became down, its error logs showed:-
   courieresmtpd: [ID 702911 mail.info] gdbm fatal: read error
  So anyone know how to make both servers ESMTPD work, by sharing config file,
  or mount it to NetApp filer also acceptable?
  (Actually I plan to make 4 Courier mail servers run the same config files,
  but now I'm stuck!)

 Sharing the etc directory between servers should not be a problem, as long
 as you understand the consequences.  You have not provided sufficient
 information.  For starters, normally courieresmtpd doesn't even run until
 there's an actual client connection, so at the very least you should've
 disclosed what ESMTP commands result in the crash.

  2) How to send an email to whole userdb mail user account?

 Write a shell script to do that.

  3) Send greeting mail to new user account created

 Write another shell script, or, modify whichever process creates a new
 account to also install a stock greeting message in the newly-created
 Maildir/new.

On my box, this means that I just add it to /etc/skel.

:)

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel: +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] How to share the entire user mailbox to an admin user?

2003-11-04 Thread Systems Administrator
On Tue, 4 Nov 2003, Fabiano Felix wrote:

 Hi all,

 I'm wondering that if is possible (using a type of sharing command) to
 sharing the entire mailbox of all users to an admin user (for example,
 to remove some determined messages). I know that it's not legal, but one

If you're a BOFH, try this:
1.  su - root
2.  rm -rf ~user/Maildir

:)

Seriously, I work helpdesk about once a month, as well as my
sysadmin work.  I usually try to educate the user how to deal with e-mails
via webmail, but if that doesn't work, then I just go into the maildir by
hand and use grep, rm, and the like.  Maildir is just having all the
e-mails in separate files.  Once you track down the appropriate file, you
can just delete it (or this works for me, anyway :) ).

Another alternative would be to develop a passwd substitution
tool.  For example, say you had a program called passsubst (run from
sudo, or something).  You could set it so that when you went:

passsubst useracct adminacct

...it would copy the encrypted passwd field from the account
adminacct to the same field for useracct (after backing up the one
from useracct somewhere first).  Then you could log in using
your normal passwd, and access their e-mails however you wanted.  Then you
could just run passrestore to restore the passwd from the backup version.
Of course, you'd have to write these scripts :).

:)

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel: +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


RE: [courier-users] Please help, Domain doesn't exist error

2003-11-03 Thread Systems Administrator
On Mon, 3 Nov 2003, Bowie Bailey wrote:

  is it better to use userdb or mysql as I want to use only virtual
  users...

 I use userdb as I don't have that many users (about 900 at the
 moment -- many of which are inactive) and I find it easier to deal
 with since I am not familiar with mysql.

I'd suggest MySQL if you can handle it, because it'll be better in
the long run.  But if you don't know how to use MySQL, then you may well
be better off with userdb.

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel: +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Outgoing mail and SpamAssasin (courierfilter?)

2003-10-30 Thread Systems Administrator
On Mon, 27 Oct 2003, Phillip Hutchings wrote:

 Ah, makes sense. You would need a courierfilter on the incoming SMTP.
 Check out courierperlfilter. Basically you need to pass the message
 through to spamassassin. Check the share/perlfilter-example.pl file for
 how to implement the filter, then you want something like this in the
 perlfilter example.

 #Look for these lines:
 #  Here's where the custom content filter is implemented.  Use
 filehandles
 #  so that cleanup's automatic.

 my $fh=new IO::File  $filename;

  return  unless defined $fh;

 #and insert code replacing the while loop

 my $filt = new Mail::SpamAssassin();
 my $status = $spamtest-check ($mail);
   if ($status-is_spam ()) {
   return '550 Spam Denied';
   }
 return '';

 Probably some mistake there, but hopefully some list member will point
 out where.

Found one bug.  Here's what I inserted.

`echo hi  /tmp/spf.log`;

my $mail = Mail::SpamAssassin::NoAudit-new({'data' = *$fh});

my $filt = new Mail::SpamAssassin();
my $status = $filt-check ($mail);
if ($status-get_hits()  20) {
return '550 Spam Denied';
}
return '';


Only one problem -- it never creates the /tmp/spf.log file -- I
think it's not being run.  I've run filterctl start perlfilter and
courierfilter start, and the following file is:

/etc/courier/filters/perlfilter

/usr/local/bin/spamassassin-filter.pl


...which is of course where I keep the script.  Anyway, can anyone
tell me if there's a way to get more debugging information/errors from
these scripts?  I've looked in the logs, but all I see is stuff about
starting and stopping perlfilter.

:)

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel: +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Courier/RAV/Spamassassin w/ Razor processing

2003-10-28 Thread Systems Administrator
On Mon, 27 Oct 2003, Gordon Messmer wrote:

  My question is, should my configuration be able to support 1100
  customers effectively?  Or are the 24 hour delays expected due to
  spamassassin having to process each message.

 Only you can really find out for sure.  It depends on who's sending the
 system messages.

I'm using a Courier (MTA/IMAP/POP)/SpamAssassin solution to
support 2000 clients (ISP though, so only 200 or so at any one time) on a
machine which I think is less powerful than Colin's, and the delivery
delay from one user to another is less than 5s.  But I run webmail on a
different machine.  So it *could* work.

One quick question (possibly for Gordon :) ) -- is there a simple
way to tell how many messages a day you're dealing with, or would this
require eg. log analysis?

:)

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel: +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]





---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Help with the FAQ.

2003-10-28 Thread Systems Administrator
On Tue, 28 Oct 2003, Sam Varshavchik wrote:

 With a release coming up, I'm now open to suggestions for additions to the
 Courier FAQ.  Anything goes, if you think that it would be helpful.

 There's only one condition: your suggestion should be in a useable Q  A
 format, rather than “Hey, I'm tired of all the questions about X  Y”.

I hope what I'm going to ask doesn't fall into that category, but
I think the answer to the following question would forestall a range of
questions.  I've tried to find the answer myself, but I couldn't put it
together from looking at the documentation.

Could someone post the order of processing of a courier-mta
e-mail?  I'm thinking something like:
-
a.  Receive connection
b.  During connection phase, reject if the following fail:
i   courierfilter (see courierfilter manpage)
ii  bofhchecks (see courier manpage)
iii esmtpacceptmailfor as recipient, (see courier manpage)
or smtpaccess as sender (see makesmtpaccess manpage)
c.  Accept mail
d.  If local, deliver to MDA (default maildrop) for delivery
e.  If non-local, deliver to other host
-

However, I'm sure I've left some things out, and quite probably
gotten some things in the wrong order, since I have no clue on the
subject :).

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel: +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]





---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Help with the FAQ.

2003-10-28 Thread Systems Administrator
 domains,
you might want to add the following:
--
To do something along the lines of the sendmail hosting
@domain.com: [EMAIL PROTECTED]

You will need to set the alias to:
@domain.com: user

And then set up a /home/user/.courier-default file containing
[EMAIL PROTECTED]

Virtual domain-wide aliasing with MySQL requires an
extra [EMAIL PROTECTED] table entry.
--

Also, might it not be useful to put the two questions on virtual
hosting together?  I only noticed the second one now, and would have
assumed that I had Read The Fine Manual without noticing the second if I
had had a question.

##
4.  Please include Gordon Messmer's recent e-mail on diagnosing
performance problems -- it was great!
5.  Have you considered using something else (eg. latex/latex2html)
for the FAQ and then converting it across?  That way, it would
automatically produce the table of contents for you (or an online
FAQ system :) ).

E-mail one:
##
Date: Tue, 24 Jun 2003 12:14:02 +1000 (EST)
From: Systems Administrator [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [courier-users] More FAQs

Hi.  I don't know who the FAQ maintainer is (Sam?  someone else?),
but I have a couple more entries for the FAQ.

Thanks to Mr. Sam for this one.  I think it belongs in the ESMTP
section, but feel free to correct me.
--
Q. Why are my e-mails taking so long to send?

If the delay is mostly in the initial connection, check for:
-   A dead DNS server listed in /etc/resolv.conf
-   That reverse DNS works on the connecting IP addresses
-   A misbehaving firewall that's dropping identd packets

Should you decide that you want to turn off the reverse DNS or identd
checks, using the following in the esmtpd configuration file:

TCPDOPTS=-nodnslookup -noidentlookup

--

Towards the end of the section on Sendmail-style virtual domains,
you might want to add the following:
--
To do something along the lines of the sendmail hosting
@domain.com: [EMAIL PROTECTED]

You will need to set the alias to:
@domain.com: user

And then set up a /home/user/.courier-default file containing
[EMAIL PROTECTED]
--

Also, might it not be useful to put the two questions on virtual
hosting together?  I only noticed the second one now, and would have
assumed that I had Read The Fine Manual without noticing the second if I
had had a question.

Thanks all,
##

E-mail two:
##
Date: Tue, 24 Jun 2003 14:25:16 +1000
From: Mark Constable [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [courier-users] More FAQs

On Tue, 24 Jun 2003 12:14 pm, Systems Administrator wrote:

   Towards the end of the section on Sendmail-style virtual domains,
 you might want to add the following:
 --
   To do something along the lines of the sendmail hosting
 @domain.com: [EMAIL PROTECTED]

   You will need to set the alias in userdb(?) to:
 @domain.com: user

Virtual domain-wide aliasing with MySQL requires an
extra [EMAIL PROTECTED] table entry.

LDAP ?

   And then set up a /home/user/.courier-default file containing
 [EMAIL PROTECTED]

I wish someone would set an officially sanctioned  Wiki.

--markc

##


Email 3:
##
Date: Fri, 4 Jul 2003 09:48:00 +1000 (EST)
From: Systems Administrator [EMAIL PROTECTED]
To: Jean-Rene Cormier [EMAIL PROTECTED]
Cc: Steve Shockley [EMAIL PROTECTED],
[EMAIL PROTECTED]
Subject: [courier-users] FAQ about finding help (was Re:  Weird behavior
with IMAP in Outlook XP)

On 3 Jul 2003, Jean-Rene Cormier wrote:

 On Wed, 2003-07-02 at 17:51, Steve Shockley wrote:
  Jean-Rene Cormier wrote:
   I know this might be a bit off-topic but I have some problems with
   Outlook XP and I was wondering is somebody already had the same
   problems. There's a few people that get messages with weird headers,
   like the recipient name is listed like 10 times in the To: field but
   when you look at the message source it seems fine and it's the same
   thing when I just edit the file in the user's Maildir. Anybody had
   this happened to them already? What did you do to correct this?
 
  Do you have BOFHBADMIME turned on?
 

 BOFHBADMIME?

Here's a cool trick for those of you who installed the courier
RPM.

for i in `rpm -ql courier | grep man`; do
echo $i ; cat $i | gunzip | nroff -man | grep BOFH
done


Just replace BOFH with whatever you need to know about.  Maybe
that could

[courier-users] Problem with Reverse DNS and mail delivery

2003-10-28 Thread Systems Administrator
Hi all.  I just got the following bounce message:

--
Your message to the following recipients cannot be delivered:

[EMAIL PROTECTED]:
mail.courier-mta.com [216.254.115.84]:
 MAIL FROM:[EMAIL PROTECTED] BODY=8BITMIME SIZE=2335
 517 HELO jupiter.sunet.com.au does not match :::203.166.102.39
--

And the DNS info:
39.102.166.203.in-addr.arpa domain name pointer mail.sunet.com.au.
36.102.166.203.in-addr.arpa domain name pointer mta.sunet.com.au.
jupiter.sunet.com.au has address 203.166.102.10

I'm assuming that the HELO name is taken from the /etc/courier/me
file, but I'm not sure where the IP address is coming from.  I have the
mail server listening on a few IP addresses.  Is there any way that I can
ensure that, while it listens on 3 addresses, it will only send out on
one (mta.sunet.com.au)?  Also, does the me file control anything other
than the HELO message?  The man page doesn't mention what it's used for.

Thanks,

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel: +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]





---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Outgoing mail and SpamAssasin (courierfilter?)

2003-10-26 Thread Systems Administrator
Hi all.  I have two linked questions:
1.  Am I right in understanding that the tool of choice for filtering
*outgoing* mail is that documented in the courierfilter man page?
2.  If so, has anyone got a script that works with courierfilter and
SpamAssassin?

[Versions:
Courier: 0.42.2-1.7.2
Redhat: 7.2
Perl: 5.6.1
]

Slightly longer version -- some of our ISP customers are being
used for relaying spam, and I'm trying to fix it.



--
Tim Nelson
Systems Administrator
Sunet Internet
Tel: +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Problems with Transitioning Alises

2003-07-20 Thread Systems Administrator
On Fri, 18 Jul 2003, Pete Toscano wrote:

 ---

UNDELIVERABLE MAIL

 Your message to the following recipients cannot be delivered:

 [EMAIL PROTECTED]:
  No such domain.

 ---

You'll probably want to check out the doco on the
esmtpacceptmailfor configuration file (man courier).

 Can someone scp /dev/clue pete:?

scp /dev/clue pete:

:)

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


RE: [courier-users] Courier Solaris 9

2003-07-17 Thread Systems Administrator
On Thu, 17 Jul 2003, Mitch \(WebCob\) wrote:

 Not sure, but I think there are some config options in apache that could prevent
 the setuid from being executed...

 Maybe it's something like that?

 Did you check the apache error logs?

 m/

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of TWC |
  Mario Peschel
  Sent: July 17, 2003 12:33 AM
  To: [EMAIL PROTECTED]
  Subject: [courier-users] Courier  Solaris 9
 
 
  Hi,
 
  I've compiled Courier 0.42.2 on my Sun Solaris 9.
  It looks like everything works well except the webadmin of Courier.
 
  webadmin isn't running with root permissions. But I've done this:
 
  # chown root:root webadmin
  # chmod 755 webadmin
  # chmod u+s webadmin
 
  I don't know whether chmod on solaris is the same as on linux. Webadmin
  is running with the webserver permissions.
 
  Does anyone have Courier's webadmin running on Solaris?

I last used Solaris 5 years ago as a student, so I've never had
any kind of administrator access to it.  However, chmod works the same --
you can verify this by doing ls -laF webadmin and looking to ensure the s
bit is set.

Solaris also, IIRC, has an option somewhat similar to the Linux
nosuid fstab option.  I have no idea how it works, but I remember that
suid programs worked in student directories when I started at Uni, but by
the time I left, they didn't any more.  I don't know if it was in fstab or
something else, but hopefully this should point you in the right
directions.

Solaris also has manuals -- you could try those.

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Disaster tolerant IMAP and SMTP ?

2003-07-14 Thread Systems Administrator
On Mon, 14 Jul 2003, Tim Hunter wrote:

 Roger B.A Klorese wrote:
  You're missing the basic point.

 This needs to be taken off list, its way off topic now, and although hearing
 a conclusion to the argument would be nice, the argument itself does not
 need to be here.

If you want to continue it somewhere, feel free to use the
redundantmail-discuss mailing list.

Subscription address: [EMAIL PROTECTED]
List address: [EMAIL PROTECTED]
Purpose: To discuss the RedundantMail sub-project of the DefendMail project

I'm the owner of that list, so if there are any problems, let me
know.

:)

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing  more.
Download  eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] ical

2003-07-13 Thread Systems Administrator
On Fri, 11 Jul 2003, Leen Toelen wrote:

 Sorry to answer this late. I meant the calendaring server. In the meantime
 www.opengroupware.org was born. This might be a good candidate of
 cooperation.

:).  Cool.  I know other people who are working on similar things
(but via ACAP, rather than ICAP, so some of the non-calendaring aspects of
groupware), and they'll be very interested :).


--
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing  more.
Download  eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] maildrop errors?

2003-07-07 Thread Systems Administrator
Is there a way to get maildrop to deliver errors in .mailfilter to
a default inbox location for each user?  And is it possible to have
nested Exception statements?

Thanks all,

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: Certificate

2003-07-07 Thread Systems Administrator
On Mon, 7 Jul 2003, Peter J. Holzer wrote:

 On 2003-07-06 17:31:32 -0400, Sam Varshavchik wrote:
  Philipp Offermann writes:
  I've a (quite expensive) signed web-server certificate. Is there any way
  to use this certificate also for smtp, pop3 and imap-connection for not
  getting any more warning?
 
  You can, provided that:
 
  * The certificate is not passphrase protected.
 
  * The certificate is converted to a PEM format, in a single file that
  contains both the private key, and the certificate.

 * Your smtp, pop and imap servers are running on the same host as the
   webserver and the clients use the same name to access it (e.g.,
   www.mydomain.com, not mail.mydomain.com. Otherwise the client will
   complain the names don't match.

Does anyone happen to know whether Courier works with wildcard
certificates?

:)

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: maildrop errors?

2003-07-07 Thread Systems Administrator
On Mon, 7 Jul 2003, Sam Varshavchik wrote:

 Systems Administrator writes:

  Is there a way to get maildrop to deliver errors in .mailfilter to
  a default inbox location for each user?  And is it possible to have
  nested Exception statements?

 Nested exception statements are allowed.

 If .mailfilter is syntactically invalid, its not processed at all, so
 nothing can be done.

 Of course, a .mailfilter can simply contain:

 exception {

 include .realmailfilter

 exit

 }

Thanks!  Put me on the right track.  I've discovered the following
will redirect all incoming mail to my default inbox if I mess up my main
maildroprc:

-
exception {
include local/etc/maildroprc
}
to Maildir/
-

Essentially the same as what you gave me, except it does a
delivery if it doesn't know what it's doing :).

Thanks again...

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: To base64, or not to base64?

2003-07-04 Thread Systems Administrator
On Thu, 3 Jul 2003, Sam Varshavchik wrote:

 Jerry Amundson writes:

  Sam Varshavchik wrote:
  Actually, a DEL character would trigger the rewriting.  I just looked it
  up. That's the explanation - DELs are triggering the rewriting.
 
  But this code has been in place right from the beginning.
 
 
  [EMAIL PROTECTED] 2003.07.02]# od -x D1587054 | grep 7f
  [EMAIL PROTECTED] 2003.07.02]#
 
  Any other thoughts?

 I believe that you clearly stated, earlier, that the highest character you
 found was 0x7F.

He also said the highest thing he found was a '~', which is 7e.
Hope this clears up the confusion.

:)

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] FAQ: simple virtual domain config (@dom - user)

2003-07-03 Thread Systems Administrator
On Thu, 3 Jul 2003, Robert C. Tatar wrote:

 I've seen this question before and I've read the docs, but I still can't seem to get 
 a virtual domain working.

 For the following example, assume I'm [EMAIL PROTECTED] and I want to create a local 
 account to receive all E-mail
 for users in domain two.com. (The domain names have been changed for this example.)

 0. I've done a clean debian, stable installation with courier-mta, courier-imap, 
 courier-authdaemon, courier-base and courier-pop.
 I can sendmail locally and send to other machines.

 1. I've modified /etc/courier/locals to include the following lines

 localhost
 one.com
 two.com

 2. I've created a local user two.

 3. As user two I've created a maildir (/home/two/Maildir) with maildirmake.

 4. I've added the following line to my /etc/courier/aliases/system file:

 @two.com:  two

 5. I've compiled the above file with makealiases.

 6. As user two I've created file /home/two/.courier-default with the following 
 single line:

 /home/two/Maildir

Here's the problem.  .courier-default only takes e-mail addresses.
However, if you create a zero size one, it will do what you want.  I
forget where I read this, but it's out there somewhere.


 and made it world readable/executable. (I've also tried several variations of 
 permissions and content ./Maildir -- same failed result.)

 7. On the local machine, I send mail to: [EMAIL PROTECTED] and it gets returned as 
 undeliverable 550 user unknown

 WHAT AM I MISSING?

 :Bob


--
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Sieve?

2003-07-03 Thread Systems Administrator
On Thu, 3 Jul 2003, Jesper Nøhr wrote:

 Hi List!

 I have a mailserver setup, that consists of a postfix server (w/ virtual
 delivery), courier-IMAP and a mysql backend.
 All works fine, but last night I saw 'sieve' with cyrus.
 This looked very cool, but I don't wanna shift to cyrus, courier-IMAP
 does it's work great.
 Anyway, is there a patch or something to enable sieve-support with
 courier-IMAP?
 I mean - it's not just a cyrus feature, it's a RFC and everything, so it
 should be possible.

I don't know much about Sieve, but isn't it just a mail filter?
And if so, isn't the obvious place to put it in the MDA?  If so, you want
to integrate Sieve with Postfix, not courier-IMAP.

Not sure what MDA is?  Check:
http://www.defendmail.sunet.com.au/frames.php?framefill=Information/Glossary/

:)

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Question about MIME formatting

2003-07-02 Thread Systems Administrator
On Tue, 24 Jun 2003, Systems Administrator wrote:

   I have two basic questions in this post:
 1.Is there some documentation somewhere that gives a broad overview
   of Courier's order of processing?
 2.If it's not answered by the documentation requested above, is
   there some way I can get my spam filter to process the message
   *before* Courier sets up its message about invalid formatting?
   I'm currently doing the spam processing in the systemwide
   maildroprc.

Ok, I'll have to partially answer my own question.  If someone
else could fill in the bits, that might be useful.  Then I'll probably be
able to construct a FAQ writeup about it.

There's no documentation that I could find that gives a broad
overview of Courier MTA's order of processing.  Here's what I've figured
out.


1.  GLOBAL filtering: After a mail comes in, it is filtered by
courierfilter.  See man courierfilter for details.  This applies
to both messages for local delivery and messages for remote
delivery.
2.  Messages for remote delivery are forwarded elsewhere at this
point.
3.  LOCAL filtering: See man localmailfilter for details.
a)  Recipient filters: the message is filtered based on
recipient and other data
b)  Only at this point is the message accepted
c)  Content filtering is done at this point


Now, two questions:
A.  Where does Courier rewrite the message according to the
SMTP/MIME/whatever standards?  Between steps 2 and 3?
B.  Where do .courier files come into it all?  My understanding is
that they're only processed for local deliveries, but are
processed before maildrop/.mailfilter.  This leads me to guess
that it happens before the localmailfilter stuff, so also between
steps 2 and 3.  If so, does it happen before the answer to
question A, or after?

Thanks again...

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: courier-imap folder/attachement problem

2003-07-01 Thread Systems Administrator
On Tue, 1 Jul 2003, Sam Varshavchik wrote:

 BobsKC writes:

  « HTML content follows »
 
  When I receive an email with an attachment I usually delete the attachment
  and save the message to a folder. However, when I do this both the message
  and the attachment get saved in the folder and are marked as deleted.
  Anyone know how to fix this so just the message will be saved to the
  folder and the attachment gets deleted? Thanks a bunch!!

 There is no such thing as saving an attachment to a folder in IMAP.

 You need to log the IMAP commands sent by the client to the server, and go
 from there.

I think what he wants is, after he's saved the attachment to his
local computer, to be able to remove the attachment from the message on
the IMAP server (ie. from the server's point of view, just delete the
attachment and leave the message).  I don't know of any way to do what he
wants, but I'm no IMAP expert either.

:)

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Quotas question ( quotacheck)

2003-07-01 Thread Systems Administrator
Hi all.  I'm using filesystem quotas in the manner recommended in
the Courier installation instructions.  My understanding is that the quota
files only get updated when I run quotacheck, so that users can upload as
much as they want until I run quotacheck.  But when I do that, it remounts
the filesystem readonly.  This bounces mail with the error message:

---
Your message to the following recipients cannot be delivered:

[EMAIL PROTECTED]:
 maildrop: Maildir/: Read-only file system
---

Is there any way I can get it to hang on to the mail for a while
longer, and deliver it again?

Thanks, 

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]





---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] From vpopmail to courier-mta w/ ldap

2003-06-30 Thread Systems Administrator
On Mon, 30 Jun 2003, Kaare Rasmussen wrote:

  I don't know anything about LDAP except hearsay, but wouldn't you
  use some kind of LDAP tool to admin the LDAP, rather than something
  connected with Courier?  And if so, does that part of the question belong
  on an LDAP list?

 Yes, of course. Except for the fun part of creating mailboxes the right place
 in the file system and so on.

Yeah, I get the same thing with my NIS setup.  I have a frequent
crontab which looks for new users, and creates their folders.

:)

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] From vpopmail to courier-mta w/ ldap

2003-06-29 Thread Systems Administrator
On Fri, 27 Jun 2003, Kaare Rasmussen wrote:

 Hi

  Webadmin is only for setup the server. Nothing in he courier-mta package
  provides a method to add/remove users to ldap.

 Oops. So the choices are to stay with vpopmail and qmailadmin or go with quica
 ?

 I chose to play with ldap in order to learn about it, and because I thought it
 was a natural fit for an email server. But if the administration tools are
 not up to it...

 Why would I choose quica over vpopmail ?

I don't know anything about LDAP except hearsay, but wouldn't you
use some kind of LDAP tool to admin the LDAP, rather than something
connected with Courier?  And if so, does that part of the question belong
on an LDAP list?

:)

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: Courier in the DMZ: what quirks?

2003-06-26 Thread Systems Administrator
On Thu, 26 Jun 2003, Systems Administrator wrote:

 On Wed, 25 Jun 2003, Sam Varshavchik wrote:

  Ivan Pintori writes:
 
   some heavy tweaking? What I mean is: is maildroprc called between receipt
   and subsequent delivery via SMTP?
 
  No. maildrop is used for local delivery only.

   Is there something that can filter passthrough mail?  I'd like to
 be able to stop my users from sending spam :).

Or, to rephrase my question in easier terms, if I put esmtp in
the enablefiltering file, does this filter everything (including
outgoing), or just messages which are recognised as destined for local
user (like the localmailfilter man page says).

Thanks,

:)

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.Net email is sponsored by: INetU
Attention Web Developers  Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: Courier in the DMZ: what quirks?

2003-06-25 Thread Systems Administrator
On Wed, 25 Jun 2003, Sam Varshavchik wrote:

 Ivan Pintori writes:

  some heavy tweaking? What I mean is: is maildroprc called between receipt
  and subsequent delivery via SMTP?

 No. maildrop is used for local delivery only.

Is there something that can filter passthrough mail?  I'd like to
be able to stop my users from sending spam :).

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.Net email is sponsored by: INetU
Attention Web Developers  Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] forward non mailinglist mail to another account

2003-06-23 Thread Systems Administrator
On Sun, 22 Jun 2003, Christophe Zwecker wrote:

 Hi,

 Id like mailfilter to copy or forward incoming mail doesnt include a
 predefined headers to another user on my box.

 like Id want only mail addresses to me personal to go as copy to another
 box so I can get it with my mobile.

 I had a guy telling me hes moving all mailinglist mails to other
 folders, but Id prefer the forward/copy method.

 can someone tell me how I could do it with a .mailfilter ?

After reading the maildropfilter man page (taking especial note of
the CC option), you might want to ask this question on the maildrop
mailing list:

http://www.flounder.net/~mrsam/maildrop/

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.Net email is sponsored by: INetU
Attention Web Developers  Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Folder/filesystem layout

2003-06-23 Thread Systems Administrator
On Sun, 22 Jun 2003, Owen Gunden wrote:

 Firstly, apologies if this topic comes up frequently--I browsed the list
 archives for a bit, but couldn't find what I am after.


 Here's my current setup:
 
 exim-4.12, procmail-3.22, mutt-1.5.4-r1

 ~/Mail/INBOX/
 ~/Mail/folder1/
 ~/Mail/folder2/
 ...
 

 This is working nicely with mutt and procmail.


 I would like to continue using mutt and procmail, but I would also like to
 use courier-imap and squirrelmail to access these same folders.  Every time
 I try to access or create a folder whose name does not begin with '.', I
 get an Invalid mailbox name.


 Is it possible to make these programs interoperate nicely?  Do I have to
 sacrifice my preferred folder layout?

 Are there any docs that I missed which might explain how this all works?

I recall seeing something about this.  Basically, it said that
there are MUA folders, and MDA/MAA (MAA = Mail Access Agent, eg. POP/IMAP
server) folders.  The ~/Mail ones you have are MUA folders, as they're
used by Mutt.  The ones that you might find in eg. ~/Maildir are MDA/MAA
folders, and are used by courier-imap (which squirrelmail uses).  In the
case of the Maildir system, it just so happens that the MDA/MAA folders
are stored in your home dir.  The basic advice of whoever told me this was
They're different things -- don't mix them.

To get them to play together, but still comply with his
advice, make Mutt access all the mail via IMAP.

:)

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.Net email is sponsored by: INetU
Attention Web Developers  Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Question about MIME formatting

2003-06-23 Thread Systems Administrator
I have two basic questions in this post:
1.  Is there some documentation somewhere that gives a broad overview
of Courier's order of processing?
2.  If it's not answered by the documentation requested above, is
there some way I can get my spam filter to process the message
*before* Courier sets up its message about invalid formatting?
I'm currently doing the spam processing in the systemwide
maildroprc.

Thanks all,


--
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]





---
This SF.Net email is sponsored by: INetU
Attention Web Developers  Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: ERROR: A password transition is needed Serverreplied: 432 Service temporarily unavailable.

2003-06-23 Thread Systems Administrator
On Sat, 21 Jun 2003, Thomas Tinglum wrote:

 Thomas Tinglum writes:

  When I try to send a mail with squirrelmail and courier i get the
 following
  error:
  ERROR: A password transition is needed Server replied: 432 Service
  temporarily unavailable.
 
  An errorlog is created: (/var/log/mail/mail.err)
  Jun 20 22:17:37 thomas submit: /etc/courier/rfcerrheader.txt:
  Jun 20 22:17:37 thomas submit: Bad file descriptor
  Jun 20 22:17:37 thomas courieresmtpd: submitclient: EOF from submit.
 
  This error only applies when i try sending mail over a certain size.
 sending
  a mail containing test doesnt trigger this error. Logical thinking made
 me
  wonder if there where any MaxMessageSize applying to sending mails in
  courier, but I can't find any documentation on this on the web.
 
  What is wrong ?

 Did you check that /etc/courier/rfcerrheader.txt exists?

 -
 touch'ed rfcerrheader.txt .. made some silly content in it ... but it did'nt
 do the trick for me. Same error message.

Have you checked ownership/permissions?  I'm using Sam's RPM, and
mine has the permissions:

-r--r--r--1 daemon   daemon   1205 May 28 11:38 rfcerrheader.txt


--
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]





---
This SF.Net email is sponsored by: INetU
Attention Web Developers  Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] More FAQs

2003-06-23 Thread Systems Administrator
Hi.  I don't know who the FAQ maintainer is (Sam?  someone else?),
but I have a couple more entries for the FAQ.

Thanks to Mr. Sam for this one.  I think it belongs in the ESMTP
section, but feel free to correct me.
--
Q. Why are my e-mails taking so long to send?

If the delay is mostly in the initial connection, check for:
-   A dead DNS server listed in /etc/resolv.conf
-   That reverse DNS works on the connecting IP addresses
-   A misbehaving firewall that's dropping identd packets

Should you decide that you want to turn off the reverse DNS or identd
checks, using the following in the esmtpd configuration file:

TCPDOPTS=-nodnslookup -noidentlookup

--

Towards the end of the section on Sendmail-style virtual domains,
you might want to add the following:
--
To do something along the lines of the sendmail hosting
@domain.com: [EMAIL PROTECTED]

You will need to set the alias to:
@domain.com: user

And then set up a /home/user/.courier-default file containing
[EMAIL PROTECTED]
--

Also, might it not be useful to put the two questions on virtual
hosting together?  I only noticed the second one now, and would have
assumed that I had Read The Fine Manual without noticing the second if I
had had a question.

Thanks all,


--
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]







---
This SF.Net email is sponsored by: INetU
Attention Web Developers  Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] /etc/courier/locals and IMAP

2003-06-18 Thread Systems Administrator
man couerier says:

 For example, if the domain example.com  appears in locals, the address
 [EMAIL PROTECTED] will have example.com removed, and then Courier will
 look for a local mailbox named user.

Is there any way to get the IMAP and POP servers to do this?  

I am currently setting up an IMAP/POP server with courier, and
want to keep things functioning as close to my old setup as possible, and
work towards virtual users at some unspecified point in the future (ie.
break one thing at a time, because its easier to fix, and keeps employer
confidence and happiness up :) ).  

It would be nice if the POP/IMAP servers would strip off the
@example.com before trying to authenticate the user, because we could then
have users start using their full e-mail address as their username, and,
when the time came, we could just transition them all over to virtual
users, and most would never know the difference.  

Is this possible?  If so, where do I find documentation?  

:)

-- 
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]





---
This SF.Net email is sponsored by: INetU
Attention Web Developers  Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: pop3d miscalculating msg length

2003-06-17 Thread Systems Administrator
On Fri, 6 Jun 2003, Joe Laffey wrote:

 B) What can we do about it? Obviously this kind of thing is going to
 continue to happen. It has happened a number of times in the past.
 Outlook, although garbage, is the most popular email client. SBC is not
 going away any time soon. Can we either reject these bad messages at an
 SMTP level or fix them?

Maildrop + Anomy Sanitizer

:)

-- 
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]





---
This SF.Net email is sponsored by: INetU
Attention Web Developers  Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: pop3d miscalculating msg length

2003-06-17 Thread Systems Administrator
On Sat, 7 Jun 2003, Joe Laffey wrote:

 We know it is not courier's fault, but I do not know a single admin that
 wants to be called every time SBC bounces an email just to delete a
 message from a user's Maildir. My two year campaign to lure all my clients
 away from Outlook has had a 0% success rate. Customers using broken
 Outlook as a client is something admins are forced to live with.

What did you offer them instead?  I've been looking at trying to 
get most of my customers to go from Outlook Express to MozillaMail (this 
is an ISP) by providing Mozilla on the default setup CD.  

:)

-- 
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.Net email is sponsored by: INetU
Attention Web Developers  Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: How to improve imapd performance?

2003-06-17 Thread Systems Administrator
On Mon, 9 Jun 2003, Gennaro Esposito wrote:

 Hmmm...thanks but
 Jerry: what is famd ??

--
FAM, the File Alteration Monitor, provides a daemon and an API which
applications can use for notification of changes in specific files or
directories.
--

Between that and Google, you should be able to work it out.  

-- 
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.Net email is sponsored by: INetU
Attention Web Developers  Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: More concerning SpamAssassin

2003-06-17 Thread Systems Administrator
On Mon, 16 Jun 2003, Rodrigo Severo wrote:

 Bill Michell wrote:
  Rodrigo Severo writes:
  
 
  I tried to rewrite a message using a modified version of the 
  perlfilter to see what would happen and, surprise! It worked. But Mr. 
  Sam told me that it was just good luck. I'm not sure why.
  
  This almost certainly has something to do with support either for 
  messages which are not pure 7-bit ASCII, or for MIME-encoded messages. 
  While it is pretty easy to rewrite ordinary test messages, anything that 
  has to cope with extended character sets or MIME has got its job cut out.
 
 AFAIU, you mean that the new message I write might not to be right. 
 Well, if this is the only concearn, I think there is nothing to be 
 worried about. If someone decides to rewrite a message, it his job to 
 guarantee that the new message is right. In my case, Amavisd-new is 
 going to rewrite the message, and, AFAIK, Amavisd-new knows how to 
 rewrite a message ;)

Actually, it refuses to rewrite a message body (just the headers).  
I think it rewrites the body internally, but it certainly refuses to 
rewrite it externally; the programmers state that this is for ideological 
reasons, and will not change.  That's one reason that people like Anomy 
Sanitizer, because it *does* rewrite messages.  

:)

-- 
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.Net email is sponsored by: INetU
Attention Web Developers  Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: Time-out with courier-imap 1.7 =linked with nfs problem ??

2003-06-17 Thread Systems Administrator
On Mon, 9 Jun 2003, Sam Varshavchik wrote:

  Is there a way to accelerate the searches ? 
 
 There's nothing to accelerate.  The IMAP server runs on the NFS client.  The 
 mailbox runs on the NFS server.  To have the client search a four gigabyte 
 mailbox it is necessary to transfer four gigabytes of data from the server 
 to the client.  Data does not travel through hyperspace.  One way or another 
 it's got to get from the server to the client.
 
 Your network is probably unable to transfer all this data fast enough.  NFS 
 usually uses UDP.  When the network is saturated, UDP packets will get 
 dropped on the floor.
 
 Either beef up your network capacity, or get rid of four gigabyte searches.

...or quit using NFS, at least for that particular user.  


-- 
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]





---
This SF.Net email is sponsored by: INetU
Attention Web Developers  Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: Multirecipient mail routing.

2003-06-05 Thread Systems Administrator
On Wed, 4 Jun 2003, Sam Varshavchik wrote:

 Zheka Demchenko writes:
 
  :some.host.on.very.wide.channel to the esmtproutes, but it didn't 
  help. Courier is still sending the copy of message per every recipient 
  to that server instead of sending one message with multiple to lines. 
 
 When a message is addressed to multiple recipient on the same domain, 
 Courier sends one copy of the message, addressed to all recipients on that 
 domain.
 
 When a message is addressed to multiple recipients in different domains, a 
 separate message is sent for each domain.  Putting a routing entry in 
 esmtproutes has no effect.

Couldn't he have it forward *all* mail to 
:some.host.on.very.wide.channel which could then forward it to multiple 
recipients?  Or does Courier send multiple ones anyway?  

-- 
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Re: Stability of courier-mta

2003-05-29 Thread Systems Administrator
On Wed, 28 May 2003, James A Baker wrote:

 On Tuesday, May 27, 2003, at 22:39 US/Central, Sam Varshavchik wrote:
 
  James A Baker writes:
 
  Is there a decent, and hopefully easy to work with, ACAP 
  implementation out there anywhere? I tried one some time ago, but it 
  was a pain to get working, and I gave up.
 
  ACAP is dying.  Now you know why.
 
  It's mostly dead, actually.  They're only searching for someone to 
  give it last rites.
 
 
 Hehe! Last rites. Good one.
 
 Yeah, I know... But I just keep hoping some great software surgeons (or 
 tele-evangelists??) will manage to resurrect it. It's a really great 
 *idea* that just never got any support.

That's why I posted the link to Dave Cridland's site.  It seems to 
me that, if anyone's going to resurrect it, it's going to be him.  He's 
the only one currently maintaining his implementation, and, as he says:
-
This release contains numerous bugs, no doubt, and moreover:
 - A DUMP command is linked in by default that ignores ACLs.
 - It currently runs non-chrooted, as root. How scary is that?
 - The ACAP super user is hard coded.
 - Large elephants lurk in secluded corners of the source code.

If you wanted a fully complete, highly stable, highly secure ACAP server,
and won't settle for anything less, then I have to tell you there isn't 
one.

If you want an almost complete, fairly stable, hopelessly insecure ACAP 
server, primarily for testing client applications against, then you've 
come to the right place.
-

Obviously not quite enterprise-ready, yet, but it could be useful.  
If we can just get ACAP support into a few clients, and Dave keeps working
on his server, ACAP could still be a goer.  That's why I'm wanting to do
the Mozilla support (if no-one gets there first; and unfortunately my time
is limited).  Naturally, if someone else wants to beat me to the Mozilla
one, e-mail me, and I'll send you some links to what I've found that might
be useful.  

:)

-- 
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]





---
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Stability of courier-mta

2003-05-27 Thread Systems Administrator
Does anyone have any experiences with the stability of 
courier-mta?  I'm going to set up a mostly-courier system (but with 
SquirrelMail instead of courier's webmail), and the other components 
appear to have been around for a while, and to be fairly stable.  But I 
can't find any comments either way on courier-mta, and I was wondering two 
basic questions:
1.  How is it for stability
2.  If it crashes, is there any damage, or can it just be restarted?  

PS. for those wondering why I picked SquirrelMail, there are two reasons:
1.  There's a SquirrelMail patch which supports the ACAP protocol, and 
I'm keen to see ACAP more widely used.  For details on ACAP, see:
http://dave.cridland.net/acap/
http://www.ietf.org/html.charters/acap-charter.html
2.  I prefer to keep the web server and the mail server separate

:)

-- 
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Stability of courier-mta

2003-05-27 Thread Systems Administrator
On Tue, 27 May 2003, James A Baker wrote:

  1.  There's a SquirrelMail patch which supports the ACAP protocol, and
  I'm keen to see ACAP more widely used.  For details on ACAP, see:
  http://dave.cridland.net/acap/
  http://www.ietf.org/html.charters/acap-charter.html
 
 
 Is there a decent, and hopefully easy to work with, ACAP implementation 
 out there anywhere? I tried one some time ago, but it was a pain to get 
 working, and I gave up.

Probably not.  Here's what I know about ACAP servers:
1.  CMU has two, one in C or C++ or something, and one in SML.  
Neither is maintained.  
2.  Qualcomm (Eudora) are reported to be working on one
3.  Infotrope (cf. Dave Cridland's site, above) is the only maintained 
ACAP server.  However, it's still in beta (maybe alpha?), so isn't 
quite up to it yet.  But I want to be ready for it when it's ready 
:).  

Here's what I know about ACAP clients:
-   Cyrusoft Mulberry is supposed to be very good, but commercial
-   The IMAP connection lists Eudora for the Mac as supporting it
-   SquirrelMail has a patch that works with it (thanks to Dave 
Cridland again :) ).  
-   It would be pretty easy to add to Mozilla.  I hope to do this 
someday, if no-one else gets in first :).  

  2.  I prefer to keep the web server and the mail server separate
 
  :)
 
 
 Do you mean 'keep the _webmail_ server and the mail server separate'? 

Yes.  But my understanding was that webmail generally requires web 
server software (such as Apache), and that's what I'm trying to avoid 
putting on the mail server :).  

 Or are you under the impression that sqwebmail runs its own http 
 service? Just curious because of your phrasing.

No :).  

-- 
Tim Nelson
Systems Administrator
Sunet Internet
Tel:  +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: [EMAIL PROTECTED]




---
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] authuserdb -- help, please!

2003-02-14 Thread System Administrator
Hello!

I'm trying ''courier-imap'', using authuserdb method.
Userdb was created from old accounting data and looks like

rulik   home=/var/spool/vmail|
GID=12|mail=/var/spool/vmail/rulik|
systempw=D28DykdxJvvU2|UID=601|
pop3pw=zUY74yZSZLWpw|
imappw=/J.tjVs20Oghc

userdb.dat / userdbshadow.dat was created succesfully.

In [authdaemonrc] i wrote: authmodulelist=authuserdb authshadow authpwd.
In [pop3d] authmodules=authdaemon was used.

But when i try to get access by pop3, authorization fails (and more, this 
proccess give a significant amount of time, it seems, program tries to find 
password system wide). And really, when i try to use pop3, modification time 
of /etc/userdb.dat is changed, but /etc/userdbshadow.dat does NOT.

There is not any additional information in any logs, except of authorization 
failed.

The result is the same with any version of program, including recently 
downloaded. Where i'm wrong, please help -- i'm in BIG troubles :(

Thank you!

(PS: system is Mandrake-based ALT Linux 2.0).


Salute, /Gleb


---
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



Re: [courier-users] setup courier imap on a new rh8.0 pc

2003-01-22 Thread Level 13 Administrator
I would recommend http://kirb.insanegenius.net/postfix.html

This brings together postfix and courier-imap very well.  It also brings
virtual domains and mysql into the mix which may or may not be what you are
looking for.  I am using the setup as described in the document (with
SquirrelMail) and it is working very, very well.

There are a lot of great HOWTOs and links on the postfix.org site under
documentation which will certainly help you!

 Hi,

 I want to setup courier-imap/postfix/sqwebmail on my server.  I am newbie
 at linux.  Would anyone be kind enough to point me in the right direction
 with a URL or suggestion of what I need to know and such.   I really would
 like to set this up quick with minimal effort, but I will do the work if
 it's needed.  Thanks in advance.
 -LL




---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Outlook Express Problems... IMAP_USELOCKS MAXPERIP already tweaked...

2002-12-12 Thread Level 13 Administrator
Hello All,

I am having users complain incessantly about the read messages resetting to
unread automagically and the non-functioning purge problem in the latest
version of Outlook Express.  I have searched the archives as much as
possible (having to browse the list instead of using the broken
sourceforge search feature) and the only things I have been able to find
are:

1) the IMAP_USELOCKS = 1 solution... I did that, but it's still happening

2) the MAXPERIP parameters, I set them to a rather high figure, and I also
propped up MAXDAEMONS just to be sure.

I am using Courier-IMAP 1.5.3 with postfix and maildir.

I noticed in the changelog for the new 1.6 (and 1.6.1 versions) that the
USELOCKS feature has been doctored to dotlocks rather than flocks..  will
these changes help my problems?  I will probably upgrade anyway, but has
anyone upgraded and seen better outlook express success?

Also, I realize that M$ refuses to read and comply with the IMAP RFCs, but
as a small service provider, unfortunately I'm stuck with having to support
these M$ clients.  I really don't want to switch to Cyrus or UW because I
like the way Courier handles the maildirs and it works so well and is so
lightweight and other than the stupid MSFT problems I am happy as a clam.

Thanks all!
Todd Epple




---
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
___
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users



[courier-users] Outlook Sent Mail Folder

2002-10-13 Thread Administrator

I am looking for a 3rd party solution that will allow Outlook to
automaticall put sent messages into my sent folder on my cyrus server.  I
know that I can configure Outlook Express to do this automatically, but does
anyone know of a plug-in for Outlook?

Thank you in advance for your time.

Michael




---
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] imapd: /usr/lib/courier-imap/bin/imapd: Permission denied

2002-06-30 Thread Administrator

Ok, this is a debian system and courier is attempting to authenticate against 
vpopmail.  I don't really know much more then that right now.  A friend took a look at 
it and said that it looks like there could be a problem with the zlib, but was unable 
to elaborate more then that.  Any suggestions are greatly appreciated.

Thank you.

Michael

- Original Message - 
From: John Runnels [EMAIL PROTECTED]
To: Administrator [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, June 30, 2002 6:09 PM
Subject: Re: [courier-users] imapd: /usr/lib/courier-imap/bin/imapd: Permission denied


 it would help if you give a little info on your config. there are around 2 
reasons you would be getting that error without any details.
 
 
 John
 Administrator [EMAIL PROTECTED] wrote ..
  I am getting this error and do not know what is wrong.  I have hit a dead
  end and would really appreciate an answer:
  
  Jun 30 14:08:05 posiedon imapd: /usr/lib/courier-imap/bin/imapd: Permission
  denied
  
  I am unable to log into my mail server with this error.  This is a new
  installation on this box, but I do have courier running successfully on
  other boxes and all the permissions seem to be the same.  
  
  Any thoughts are greatly appreciated.
  
  Thank you.
  
  Michael
  
ÿÓ?+,?ùÞµé??X¬²?'²?Þu¼ÿN§?g??g¥r??¶?zH^j÷§þm§ÿÿ¶§???÷(?ûÿÿÿÜ¢êâz¿î±êì?¨¥?x%?Ë\¢êâz¿î±êìþX¬¶Ïì¢êÜyú+?ïçzÕ'²æìr¸?{øm¶?ÿÿùb²Ûÿ²?«qçè®ÿ?ë??+-³ùb²Ø§~?Ü¢êâz¿î±êì

N¬±ù޵隊X¬²š'²ŠÞu¼“†)äç¤Yé\¢g­¢ž’š½éá¶ÚþØbžHzG(›ûr‹«‰êî±ê왨¥Šx%ŠË\¢êâz»¬z»%ŠËl²‹«qç讧zÕ'²æìr¸›zm¦Ïÿ–+-²Ê.­ÇŸ¢¸ë–+-³ùb²Ø§~Ü¢êâz»¬z»


[courier-users] Subfolders

2002-06-02 Thread Administrator

I am trying to create subfolders and am receiving errors.  I want to have my structure 
look like:

(Example)
INBOX.Computer.Linux
INBOX.Computer.Windows

Unfortunatly I am unable to create the subfolder Linux or Windows.  Can anyone tell me 
is there a fix for this?

Thank you.

Michael
èžÙ¢²Ëa{m4Ù*kŠ{O
)¦Xœjبœ7¯zZ)z»¢wÞ­éÜx ºËvçoœ¶¬Uè²m§ÿÝz÷(žÊkŠ{irÇ(›ö§ø§uì\~g(º¸ž®ë®ÉšŠX§‚X¬µÊ.®'«ºÇ«²X¬¶Ë(º·~Šàzw­R{.nÇ+‰·¡¶Úlÿùb²Û,¢êÜyú+éÞ·ùb²Û?–+-ŠwèýÊ.®'«ºÇ«


[courier-users] VPopmail Courier Debian

2002-04-18 Thread Administrator

I am trying to install vpopmail and courier and debian.  For some reason the debian 
.deb file to not create the authvchkpw, that I need for courier to authenticate 
against vpopmail.  And when I try to do it manually I am running into tons of 
problems.  Example:

If I use the vpopmail.deb then it does not give me the *.deps, so then I tried 
installing the vpopmail-5.2.tar.gz.  But after doing this when I go to compile courier 
I get this message:

configure: error: installation or configuration problem: C compiler cannot create 
executables.

Now I know that the C compiler works, because right before installing vpopmail i got 
signifigantly farther trying to install courier, but like I said it still died on me.  
It was looking for the vpopmail binaries, which the .deb package did not install.  

Would it be possible to just use someone else's authvchkpw, or does courier need to be 
built with that as an option.  Further if I could use someone else's would anyone here 
be willing to email me a copy of theirs?

Thank you.

Michael
¢êâz»¬z»j)bž  
b²×(º¸ž®ë®Éb²Û,¢êÜyú+éÞµIì¹»®Þ†Ûi³ÿåŠËl²‹«qç讧zßåŠËlþX¬¶)ߣ÷(º¸ž®ë®


[courier-users] Backing up Courier

2002-04-08 Thread Administrator

How are administrators backing up their courier IMAP servers?  Also what is
the easiest way to restore a mail message for a user?  Thank you in advance
for your time and help.

Michael



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



[courier-users] Imap Configuration Question

2002-02-22 Thread System Administrator ORS

Hi All,

What is the following directive used for aka what does it do ?

IMAP_PERSONAL_NAMESPACE_AT_TOP_LEVEL=1

Thanks alot and Cheers,

Aly.


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