[courier-users] pop-before-smtp

2002-01-07 Thread Robert Penz

Hi!

I want to use courier for pop/imap and mta, but I didn't find anything about 
pop-before-smtp if I only use courier, I found some infos how to use courier 
pop/imap with other mta's, but nothing about courier-pop with courier-imap.

thx, for your help.

-- 
Regards,
Robert

Robert Penz
[EMAIL PROTECTED]

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



Re: [courier-users] Re: Suggestion about the RFC Checking of 8-bit-headers

2002-01-07 Thread MH - Entwicklung

well maybe I should study the relevant RFCs before making suggestions :-)
Sorry for that.

Well, one thing I could think of is to build in some extra intelligence into courier.
1. Never accept outgoing mail with bad headers.
2. Accept local mail with bad headers, but add a notification to the e-mail that it is 
corrupted. Maybe there could be introduced a switch how to handel local corrupted 
mail: 1. attach as plaintext (the existing implementation), 2. attach a notification 
to the original mail but keep it a Mime formatted mail (This will lead into troubles, 
too, but is not as worse as turning off the checks completely).

As I mentioned in an earlier mail I tried to build a new Mime message around the 
corrupted message. The result was an at-the-first-glance-correct Mime message saying 
corrupted message. The original mail could be read via pop3 but not via imap. Imap 
didn't show the message body. My suggestion of using message/rfc822 is indeed just 
moving the problem from the mta to the delivery agents and clients - but not solving 
it.


Regards
Manfred


- Original Message - 
From: Sam Varshavchik [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, January 05, 2002 3:21 AM
Subject: [courier-users] Re: Suggestion about the RFC Checking of 8-bit-headers


 MH - Entwicklung writes: 
 
 
  No can do.  A MIME content type of message/rfc822 must be a valid MIME 
  message.  And we already know it's not.  
  
  
  Well of course I should have mentioned this. But as the corrupted message is 
encapsulated into a well formatted message,
 
 No it's not.  It's a part of the original message.  Encapsulated 
 message/rfc822 content must also be parsed by IMAP servers, to access the 
 individual sections of the encapsulated MIME message.  Essentially, the 
 encapsulated message/rfc822 content is attached into its parent MIME tree.  
 Think of it as multipart content with only one section. 
 
  the result is a valid mail message
 
 Nope.  If message/rfc822 is corrupted, its parent message is corrupted as 
 well. 
 
 -- 
 Sam 
 
 
 ___
 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] pop-before-smtp

2002-01-07 Thread Sysop

Robert Penz wrote:

Hi!

I want to use courier for pop/imap and mta, but I didn't find anything about 
pop-before-smtp if I only use courier, I found some infos how to use courier 
pop/imap with other mta's, but nothing about courier-pop with courier-imap.

thx, for your help.

What exactly are you looking for?  What is pop-before-smtp?  POP and 
IMAP are both protocols to download/view mail, not send mail  



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



Re: [courier-users] pop-before-smtp

2002-01-07 Thread Robert Penz

On Monday, 7. January 2002 10:19, you wrote:
 What exactly are you looking for?  What is pop-before-smtp?  POP and
 IMAP are both protocols to download/view mail, not send mail
sure, but we need to use pop for authentification before allowing the user to 
send a mail over other smtp, as they are using dynamic ips (dail in), so I 
can't add specific ips to a list, which are allowed to send mails.

I know about  Authenticated SMTP, but not all clients to support that.

ps: even didn't find a setting for it in kmail which is shiped with kde 
2.2.2, but thats off topic.

postfix does support that feature, we use currrently sendmail with a program 
called pop-watch for that and there is also a patch available for qmail.

But didn't find anything about courier, if I use courier also as mta.

for courier pop/imap with other mtas like qmail, I have found some small 
programs.

-- 
Regards,
Robert

Robert Penz
[EMAIL PROTECTED]


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



[courier-users] NAMESPACE?

2002-01-07 Thread Lee Ming



Hello

I have install courier-imap. When I telnet to my imap port(143) and 
try "1 capability", it only show up "CAPABILITY IMAP4rev1".

I try some other imap server will have "NAMESPACE" also.
It is the reason that I cannot create folder at the same level with 
INBOX?
If it true, how can I setup my courier-imap server with NAMESPACE 
support?

Thanks you

Ming.


[courier-users] Re: NAMESPACE?

2002-01-07 Thread Sam Varshavchik

Lee Ming writes: 

 Hello 
 
 I have install courier-imap.  When I telnet to my imap port(143) and try 1 
capability, it only show up CAPABILITY IMAP4rev1.

You did not install Courier-IMAP properly. 

 I try some other imap server will have NAMESPACE also.
 It is the reason that I cannot create folder at the same level with INBOX?
 If it true, how can I setup my courier-imap server with NAMESPACE support?

Follow the instructions in INSTALL. 

-- 
Sam 


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



[courier-users] Re: Re-using lf_accept in libfilter

2002-01-07 Thread Sam Varshavchik

Alessandro Vesely writes: 

 Sam,
 I have troubles using lf_accept in my filter. That's
 because I to catch a HUP signal by getting out of select
 with errno set to EINTR (the so-called SysV signal semantics.)
 Since lf_accept returns -1 in that case and trusting errno is
 not very reliable, I should either test again descriptor 0 or
 call select on my own. Both alternatives involve duplicating
 code that is already there. 
 
 I include a zip file containing libfilter.[ch].patch where

Your patch does not make any sense.  Instead of returning -1, you're 
returning 0, and changing it to -1 in a wrapper function. 

In other words, your patch does absolutely nothing. 

-- 
Sam 


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



[courier-users] customize webmail

2002-01-07 Thread Armin Fuerst


hi!

is there a documentation of the posibilities to customize the webmail
interface? mainly, i'm interested in a list of [#command#]...

tnx,
armin fuerst


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



[courier-users] secure esmtp transmissions

2002-01-07 Thread alan milligan

I think the answer to my problem lies in their server not supporting 
STARTTLS:

Escape character is '^]'.
220 [195.10.127.37] ESMTP Sendmail 8.10.2/8.10.2; Mon, 7 Jan 2002 14:12:50 
GMT
EHLO balclutha.org
250-ns3.iomol.net Hello host213-122-222-77.btinternet.com [213.122.222.77], 
pleased to meet you
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-SIZE
250-DSN
250-ONEX
250-ETRN
250-XUSR
250-AUTH LOGIN PLAIN CRAM-MD5
250 HELP

Cheers, Alan


_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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



[courier-users] (no subject)

2002-01-07 Thread Octavian Ciobanu

I have a problem after I've installed the curier-webmail - the configuration 
and make directives worked ok, but when I try to access the site I receive an 
page with incomplect links (EX: [#s#]empty=1) in all the pages. Can you give 
me some advice on this matter?

Thank you in advance

Tavi

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



Re: [courier-users] (no subject)

2002-01-07 Thread Armin Fuerst

On Mon, 7 Jan 2002, Octavian Ciobanu wrote:

 I have a problem after I've installed the curier-webmail - the configuration
 and make directives worked ok, but when I try to access the site I receive an
 page with incomplect links (EX: [#s#]empty=1) in all the pages. Can you give
 me some advice on this matter?

are you sure, you really installed it correctly? to me, it seems as if you
would look directly into the html-documents (templates) and don't use the
webmail script...

armin


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



[courier-users] Binding serveral interfaces but not all

2002-01-07 Thread Olivier Poitrey

Hello,

I have to bind 2 of my interfaces: the localhost and the mail dedicated
interface. I can figure out how to bind a single address -- with ADDRESS
directive -- or how to bind all interfaces. But I haven't found how to 
limit binding to only some interfaces.

Is it possible ?

Best regards,

-- 
 __
 O  l  i  v  i  e  rP  o  i  t  r  e  y

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



Re: [courier-users] Re: Replacing maildir message storage with SQL

2002-01-07 Thread Andrew Newton

Simon Cocking wrote:


Has anyone contemplated modifying Courier to support the storage of
messages in SQL tables rather than Maildirs?

Why?  Give me a logical reason other than it sounds cool.
 
 Two words -- replication and redundancy.  We already have systems in 
 place which make use of replicated MySQL databases for load-balancing and 
 redundancy.


I'll have to admit, it does sound cool.  But I can't get much beyond 
that point.  You can replicate the mail for redundacy to another system 
or folder or whatever using a .courier file and maildrop or procmail. 
It seems to me the ultimate goal is to replicate not just the mail, but 
the state of the mail back and forth.  So your message may flow into 
server A and then get replicated to server B.  Then, the user deletes 
half of the messages in a session with server B and those messages get 
deleted from server A (hopefully before the user carries out another 
session with server A).  Does MySQL do all that for you?

 If there's an easier way, I'm all ears :o)
 
Impossible.
 
 Hmm.. I like a challenge :o)


Well, to get it into the database, you could just setup a .courier file 
to pipe the mail into your sql-loading app.  The hard part would be 
getting the IMAP and POP servers to look there.  And any other 
application.  The think I like about Maildir is that mutt and other 
things also know how to read it.

-andy





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



Re: [courier-users] Re: Courier smtpd

2002-01-07 Thread Roland Schneider

--Darrell Cunningham wrote on 06.01.2002 20:52 -0700:

 Hey guys,  I am trying to figure our how to make the makehosteddomains
 command even work.  Everytime i try to run the script it tells me that there
 is no such command.  even when I'm in the sme directory as the
 makhosteddomains command.  Please help

#!/bin/sh
PREFIX=/usr/lib/courier
export PATH=$PREFIX/bin:$PREFIX/sbin:$PATH
cd $PREFIX/sbin

echo makeacceptmailfor; ./makeacceptmailfor || echo *** ERROR ***
echo makealiases; ./makealiases || echo *** ERROR ***
echo makehosteddomains; ./makehosteddomains || echo *** ERROR ***
echo makesmtpaccess; ./makesmtpaccess || echo *** ERROR ***
# ./makesmtpaccess-msa
echo makeuserdb; ./makeuserdb || echo *** ERROR ***
echo courier reload; ./courier reload

# tail -4 -f /var/log/maillog



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



Re: [courier-users] Re: Replacing maildir message storage with SQL

2002-01-07 Thread [EMAIL PROTECTED]

hi Simon,
   Has anyone contemplated modifying Courier to support the storage of
   messages in SQL tables rather than Maildirs?

I have been mulling over this very thought for a year or so 
as a nice way to preserve mail and so SELECTS on whatever. Simply 
have not got round_2_it .. There are some issues however. Usually 
one would use AFAIK LDAP to scale. But the SQL .db would be a very 
good way IMHO to store the strings or if you like records. However 
there are securing issues as well that the jury still out on. 
So with each seemingly great idea there are issues. My plan was/is
that if i get a 26 hour day this would be a fascinating project.
Best Regards,
[EMAIL PROTECTED]


-- 

/*  Security is a work in progress - dreamwvr */
# 
# Note: To begin Journey type man afterboot,man help,man hier[.]  
# 
// Who's Afraid of Schrodinger's Cat? /var/(.)?mail/me \?  ;-]


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



Re: [courier-users] pop-before-smtp

2002-01-07 Thread [EMAIL PROTECTED]

hi hi,
 I want to use courier for pop/imap and mta, but I didn't find anything about 
 pop-before-smtp if I only use courier, I found some infos how to use courier 
 pop/imap with other mta's, but nothing about courier-pop with courier-imap.
That is a good question. I know it works because I use it myself 
with postfix. However the concepts would be the same. pop-before-smtp 
is a PERL script that does all the hard work. It is very well documented 
so if you know the equivalent hash files you will be fine. Then simply 
change the program to meet your needs. 
Hope that helps.

Regards,
[EMAIL PROTECTED]

-- 

/*  Security is a work in progress - dreamwvr */
# 
# Note: To begin Journey type man afterboot,man help,man hier[.]  
# 
// Who's Afraid of Schrodinger's Cat? /var/(.)?mail/me \?  ;-]


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



[courier-users] Q: How to allow users login via IMAP only when allowed to, but all users via POP3

2002-01-07 Thread Stefan Wagler

Hello,

I'd like to know, how I can allow only privileged users to
login using IMAP, but all users to login using POP3. I'm
using LDAP to authenticate users.

So, has anyone already achieved this? If not, where should
the source code of the authldap part be extended to use an
extra LDAP attribute with content IMAP or POP?

Thank you very much in advance
S. Wagler

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



[courier-users] imap login: root OK, other: FAIL

2002-01-07 Thread Thorsten Zenker

my friends  it's time to ask,

accessing the root Maildir with Outlook works.
Also telnet ... 143 . login root XXX works.

But:
accessing imapd as another user tzenker does not work and telnet
tells me that I cannot login and responds connection closed by foreign host
(attached below).

./authtest -s imap with tzenker and root work both.
courier imap is 1.4.1, authdaemon is running.

I have appended the telnet ... 143 output for root and tzenker.

Where/what should I check next?
Hints are very much welcome.

Cheers,
Thorsten

--
login as root:
Trying 192.168.2.5...
Connected to 192.168.2.5.
Escape character is '^]'.
* OK Courier-IMAP ready. Copyright 1998-2001 Double Precision, Inc.  See
COPYING
 for distribution information.
. login root XXX
. OK LOGIN Ok.
. logout
* BYE Courier-IMAP server shutting down
. OK LOGOUT completed
Connection closed by foreign host.
--
login as another user:
telnet 192.168.2.5 143
Trying 192.168.2.5...
Connected to 192.168.2.5.
Escape character is '^]'.
* OK Courier-IMAP ready. Copyright 1998-2001 Double Precision, Inc.  See
COPYIN
 for distribution information.
. login tzenker XXX
Connection closed by foreign host.
--
endorphin:/home/tzenker/webmail/courier-imap-1.4.1/authlib # ./authtest -s
imap tzenker XXX
Authenticated: module authdaemon
Home directory: /home/tzenker
UID/GID: 500/100
AUTHADDR=tzenker
AUTHFULLNAME=Thorsten Zenker



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



Re: [courier-users] authpgsql don't authenticate ... but authuserdbdo .. need help please ...

2002-01-07 Thread Theo Cabrerizo Diem

Are you using courier with postgres auth ? ... if yes, can you send me
your table schema and your authpgsql ?
If you like, you can send directly to me at [EMAIL PROTECTED]

Thanks ...

On Mon, 2002-01-07 at 04:39, Peter C. Norton wrote:
 On Mon, Jan 07, 2002 at 12:20:33AM -0200, Theo Cabrerizo Diem wrote:
  Hummm ... I don't think so ... I'm running Debian/Linux unstable distro
  ;o) ... and postgres aways create this socket :
  /var/run/postgresql/.s.PGSQL.5432
 
 Ah, so the name is based on the IP port number.  I'll have to check that
 out.
 
 -- 
 The 5 year plan:
 In five years we'll make up another plan.
 Or just re-use this one.
 




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



[courier-users] Re: imap login: root OK, other: FAIL

2002-01-07 Thread Bill Michell

Thorsten Zenker writes:

 my friends  it's time to ask, 
 
 accessing the root Maildir with Outlook works.
 Also telnet ... 143 . login root XXX works. 
 
 But:
 accessing imapd as another user tzenker does not work and telnet
 tells me that I cannot login and responds connection closed by foreign host
 (attached below). 
 
 ./authtest -s imap with tzenker and root work both.
 courier imap is 1.4.1, authdaemon is running. 
 
 I have appended the telnet ... 143 output for root and tzenker. 
 
 Where/what should I check next?
 Hints are very much welcome. 
 
 Cheers,
 Thorsten 
 
 --
 login as root:
 Trying 192.168.2.5...
 Connected to 192.168.2.5.
 Escape character is '^]'.
 * OK Courier-IMAP ready. Copyright 1998-2001 Double Precision, Inc.  See
 COPYING
  for distribution information.
 . login root XXX
 . OK LOGIN Ok.
 . logout
 * BYE Courier-IMAP server shutting down
 . OK LOGOUT completed
 Connection closed by foreign host.
 --
 login as another user:
 telnet 192.168.2.5 143
 Trying 192.168.2.5...
 Connected to 192.168.2.5.
 Escape character is '^]'.
 * OK Courier-IMAP ready. Copyright 1998-2001 Double Precision, Inc.  See
 COPYIN
  for distribution information.
 . login tzenker XXX
 Connection closed by foreign host.
 --
 endorphin:/home/tzenker/webmail/courier-imap-1.4.1/authlib # ./authtest -s
 imap tzenker XXX
 Authenticated: module authdaemon
 Home directory: /home/tzenker
 UID/GID: 500/100
 AUTHADDR=tzenker
 AUTHFULLNAME=Thorsten Zenker 
 
 
What authentication modules does courier-IMAP think it is using? Check the 
configuration file in the /etc directory. 

Have yopu restarted the server since adding the new user, just to be 
certain? 

-- 
Bill Michell
[EMAIL PROTECTED] (home) 

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



[courier-users] Suggested patch: check mail before entering IDLE mode

2002-01-07 Thread Tomas Fasth

Sam,
Attached to this message is a small patch for imapd.c in courier-0.36.1. 
It could be categorised as a slight usability improvement patch. It 
gives the user faster feedback if new mail has arrived at the point 
where the client is commanding the server to enter IDLE mode, instead of 
having to wait until the IDLE loop times out. I know, it's not as if 
your life was at stake, but why not give the user the smallest of favors? :)
It's been running on my production systems for the last 8 months or so 
without any problem. My systems is running Debian Potato i386, soon to 
be upgraded to Woody (which already runs in my production test environment).

Regards, Tomas

NOTE
For some reason the major part of the code being replaced (marked @@ 
-1379,25 +1420,32 @@) was using space instead of tab and was slightly 
misaligned with one space missing.
I'm afraid it originates from my original IDLE patch. There is a similar 
space-instead-of-tab section at the imapidle() function body which 
probably also was part of that same IDLE patch. Just wanted to give you 
a hint if you haven't noticed it before. The code format in general 
seems to be using tabs, correct me if I'm wrong...
/NOTE


--- ./imap/imapd.c- Wed Nov 14 05:14:51 2001
+++ ./imap/imapd.c  Mon Jan  7 19:57:30 2002
@@ -1077,6 +1085,7 @@
 const int idleTimeout = envp ? atoi(envp) : 60;

writes(+ entering idle mode\r\n);
+   noop();
writeflush();
while (!doidle(idleTimeout))
{
@@ -1379,25 +1420,32 @@
writes( OK NOOP completed\r\n);
return (0);
}
-   if (strcmp(curtoken-tokenbuf, IDLE) == 0)
-   {
-   if (nexttoken()-tokentype != IT_EOL)   return (-1);
-   if (current_mailbox)
-   {
-   read_eol();
-   imapidle();
-   curtoken=nexttoken();
-   if (strcmp(curtoken-tokenbuf, DONE) == 0)
-   {
-   if (current_mailbox)
-   noop();
-   writes(tag);
-   writes( OK IDLE completed\r\n);
-   return (0);
-   }
-   }
-   return (-1);
-   }
+   if (strcmp(curtoken-tokenbuf, IDLE) == 0)
+   {
+   if (nexttoken()-tokentype != IT_EOL)   return (-1);
+   if (!current_mailbox)
+   {
+   char * p=decode_valid_mailbox(inbox,1);
+   if (imapscan_maildir(current_mailbox_info, p, 1, 1))
+   {
+   free(p);
+   return (-1);
+   }
+   current_mailbox=p;
+   }
+   read_eol();
+   imapidle();
+   curtoken=nexttoken();
+   if (strcmp(curtoken-tokenbuf, DONE) == 0)
+   {
+   if (current_mailbox)
+   noop();
+   writes(tag);
+   writes( OK IDLE completed\r\n);
+   return (0);
+   }
+   return (-1);
+   }
if (strcmp(curtoken-tokenbuf, LOGOUT) == 0)
{
if (nexttoken()-tokentype != IT_EOL)   return (-1);




[courier-users] Re: (no subject)

2002-01-07 Thread Sam Varshavchik

Octavian Ciobanu writes: 

 I have a problem after I've installed the curier-webmail - the configuration 
 and make directives worked ok, but when I try to access the site I receive an 
 page with incomplect links (EX: [#s#]empty=1) in all the pages. Can you give 
 me some advice on this matter?

Sounds like you're trying to view the HTML templates, instead of running the 
sqwebmail cgi binary.  See INSTALL. 


-- 
Sam 


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



[courier-users] Re: secure esmtp transmissions

2002-01-07 Thread Sam Varshavchik

alan milligan writes: 


 [EMAIL PROTECTED]:
  mail.offshore-iom.com [195.10.127.37]:
   SECURITY=STARTTLS REQUESTED FOR THIS MESSAGE
   500 Unable to set minimum security level. 
 
 Is this because this feature is only available when the remote server is a 
 Courier/ESMTP server as well?

Correct, this is a Courier-specific extension that requires a separate 
certificate authority, and some additional configuration. 

You can always use plain garden-variety STARTTLS, which will work with any 
relay that supports TLS.  No additional configuration is necessary to 
implement STARTTLS. 

-- 
Sam 


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



[courier-users] Re: Binding serveral interfaces but not all

2002-01-07 Thread Sam Varshavchik

Olivier Poitrey writes: 

 Hello, 
 
 I have to bind 2 of my interfaces: the localhost and the mail dedicated
 interface. I can figure out how to bind a single address -- with ADDRESS
 directive -- or how to bind all interfaces. But I haven't found how to 
 limit binding to only some interfaces. 
 
 Is it possible ?

Yes.  Use the PORT setting: 

PORT=127.0.0.1.25,192.68.0.1.25 

-- 
Sam 


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



[courier-users] Re: problem with QP decoding

2002-01-07 Thread Sam Varshavchik

Nerijus Baliunas writes:

 Hello,

 courier-imap gives subject
 Re: Re: Mozilla, OpenOffice lietuvoje (Atviro kodo programø problemø sprendimas)
 which was encoded as
 Re: 
=?windows-1257?Q?Re:_Mozilla,_OpenOffice_lietuvoje_=28Atviro_kodo_programø_problemø_sprendimas=29?=
 as (excerpt from log):

 00:33:23: Mail log: 0009 FETCH 1,2 (ENVELOPE BODY.PEEK[HEADER.FIELDS (Path 
Message-ID Newsgroups Followup-To References)] UID INTERNALDATE RFC822.SIZE FLAGS)
 00:33:23: Mail log: * 1 FETCH (ENVELOPE (Wed, 2 Jan 2002 17:32:58 +0100 Re: 
=?x-unknown?Q?=?windows-1257?Q?Re:_Mozilla,_OpenOffice_lietuvoje_=28At?= 
=?x-unknown?Q?viro_kodo_program=F8_problem=F8_sprendimas=29?=?= ((Mantas K NIL 
monte mail.lt)) (([EMAIL PROTECTED] NIL owner-komp_lt 
news.konferencijos.lt)) (([EMAIL PROTECTED] NIL monte mail.lt)) ((Gintautas 
Grigas NIL grigas julius.ktl.mii.lt)([EMAIL PROTECTED] NIL komp_lt konf.lt)) 
NIL NIL NIL [EMAIL PROTECTED]) BODY[HEADER.FIELDS 
(Path Message-ID Newsgroups Followup-To References)] {64}

 Why there are these x-unknown? Is the subject incorrectly encoded?

Yes.  There are still several 8-bit characters, ø that have not been
encoded in the headers.


--
Sam


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



[courier-users] Re: Replacing maildir message storage with SQL

2002-01-07 Thread Sam Varshavchik

Simon Cocking writes: 

 The beauty of using SQL as a message back-end would be that you could set 
 up an array of SMTP/POP/IMAP servers in a DNS round-robin arrangement, 
 and users could hit any one of them at any time and it would appear to 
 them to be the same server.  Need more horsepower?  Just add a new server 
 to the pool.

Fancy that?  That's exactly how at least half a dozen ISPs I know of have 
their iron set up. 

And they don't need an SQL server to do that. 

 Need better availability?  Distribute your servers over 
 multiple physical sites with different bandwidth providers.  Want 

Just add more servers.  You don't need a bloated SQL monster to do that. 

 centralised stats  reporting?  It's all *already* in the database.  

Or, /var/log/messages. 

 Plus, user management is just an SQL query away.  All without a central 

Or a mkdir/rmdir. 

 point of failure.

Right. 

Words to live by: the more you overthink the plumbing, the easier it becomes 
to back up the drain. 

-- 
Sam 


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



Re: [courier-users] Re: Replacing maildir message storage with SQL

2002-01-07 Thread Charlie Watts

On Tue, 8 Jan 2002, Simon Cocking wrote:

 My need is purely IMAP  POP3.  Command-line access to mail is not in the
 picture, although I agree that interfacing filesystem-based mail readers
 would be a challenge :o)  Having said that, at least Pine / Elm support
 IMAP anyway.

If you are addicted to the idea of SQL message store, you might look at
http://www.dbmail.org/

-- 
Charlie Watts
[EMAIL PROTECTED]
Frontier Internet, Inc.
http://www.frontier.net/


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



Re: [courier-users] Re: Replacing maildir message storage with SQL

2002-01-07 Thread Peter C. Norton

On Tue, Jan 08, 2002 at 10:15:40AM +1100, Simon Cocking wrote:
  It seems to me the ultimate goal is to replicate not just the mail, but
  the state of the mail back and forth.
 
 *Exactly* :o)

Then use a cluster filesystem or something like drdb.  SQL databases are
really really slow compared to a filesystem, when you can't control the
usage profile.  Using maildirs on top of gfs would get you better
replication, better speed, and better and easier redundancy then using a
database.

-- 
The 5 year plan:
In five years we'll make up another plan.
Or just re-use this one.

___
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 Sysop

David M . Stowell wrote:

 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--

Do you have auth through SMTP enabled?  Do the clients have 
Username/password for SMTP enabled?  



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



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

2002-01-07 Thread Sysop

Sysop wrote:

 David M . Stowell wrote:

 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--

 Do you have auth through SMTP enabled?  Do the clients have 
 Username/password for SMTP enabled? 


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

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?



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



[courier-users] another problem with headers

2002-01-07 Thread Nerijus Baliunas

Hi,

Actual header in a message is:

To: Aida \(E-mail\) [EMAIL PROTECTED]

If a message is viewed through IMAP, my mail client displays it as:

To: Aida \\(E-mail\\) [EMAIL PROTECTED]

Log:
02:48:50: Mail log: * 3 FETCH (ENVELOPE (Mon, 29 Oct 2001 22:22:43 +0100 ku rtu 
((Modesta NIL modesta xxx.com)) ((Modesta NIL modesta xxx.com)) 
(([EMAIL PROTECTED] NIL modesta xxx.com)) ((Aida \\(E-mail\\) NIL aida 
xxx.lt)) NIL NIL NIL

If a message is in mbox file, my mail client displays it as:

To: Aida (E-mail) [EMAIL PROTECTED]


Is the header bad? It is created by MS Outlook.

Regards,
Nerijus


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



Re: [courier-users] another problem with headers

2002-01-07 Thread Sysop

Nerijus Baliunas wrote:

Hi,

Actual header in a message is:

To: Aida \(E-mail\) [EMAIL PROTECTED]

If a message is viewed through IMAP, my mail client displays it as:

To: Aida \\(E-mail\\) [EMAIL PROTECTED]

Log:
02:48:50: Mail log: * 3 FETCH (ENVELOPE (Mon, 29 Oct 2001 22:22:43 +0100 ku rtu 
((Modesta NIL modesta xxx.com)) ((Modesta NIL modesta xxx.com)) 
(([EMAIL PROTECTED] NIL modesta xxx.com)) ((Aida \\(E-mail\\) NIL aida 
xxx.lt)) NIL NIL NIL

If a message is in mbox file, my mail client displays it as:

To: Aida (E-mail) [EMAIL PROTECTED]


Is the header bad? It is created by MS Outlook.

Regards,
Nerijus


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

Looks like somewhere along the line, the first \ gets read as an actual 
character, and then it tries to escape the space with another \... odd



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



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] Re: another problem with headers

2002-01-07 Thread Sam Varshavchik

Nerijus Baliunas writes: 

 Hi, 
 
 Actual header in a message is: 
 
 To: Aida \(E-mail\) [EMAIL PROTECTED] 
 
 If a message is viewed through IMAP, my mail client displays it as: 
 
 To: Aida \\(E-mail\\) [EMAIL PROTECTED] 
 
 Log:
 02:48:50: Mail log: * 3 FETCH (ENVELOPE (Mon, 29 Oct 2001 22:22:43 +0100 ku rtu 
((Modesta NIL modesta xxx.com)) ((Modesta NIL modesta xxx.com)) 
(([EMAIL PROTECTED] NIL modesta xxx.com)) ((Aida \\(E-mail\\) NIL aida 
xxx.lt)) NIL NIL NIL 
 
 If a message is in mbox file, my mail client displays it as: 
 
 To: Aida (E-mail) [EMAIL PROTECTED] 
 
 
 Is the header bad? It is created by MS Outlook.

No.  This is simply a by-product of rather poor choices that went into the 
original design of a number of related standards - RFC 822, RFC 2060, and 
others - which makes the interaction between these protocols full of various 
pitfalls and gotchas which end up manifesting themselves in these kinds of 
things... 

Just avoid using unnecessary punctuation in mail addresses.  Otherwise, the 
only thing you should expect to happen - or NOT to happen as the case may be 
 - is the various applications not crashing on you. 


-- 
Sam 


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



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

2002-01-07 Thread Peter C. Norton

You need to have domains listed in files in esmtpaccpetmailfor.dir/
and then you need to run makeacceptmailfor.  Check out the man page for it.

-Peter

On Mon, Jan 07, 2002 at 07:48:50PM -0600, David M . Stowell wrote:
 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



-- 
The 5 year plan:
In five years we'll make up another plan.
Or just re-use this one.

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



Re: [courier-users] Suggested patch: check mail before entering IDLE mode

2002-01-07 Thread Peter C. Norton

On Tue, Jan 08, 2002 at 12:15:14AM -0500, Sam Varshavchik wrote:
 This is definitely wrong.  If no mailbox is open, you SHOULD NOT open 
 INBOX due to IDLE!

Sam,

Not having looked carefully at the patch, are you speaking in all caps
because you're quoting an RFC (in which case SHOULD NOT could be == to YOU
CAN) or can you expand on this?

-- 
The 5 year plan:
In five years we'll make up another plan.
Or just re-use this one.

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



[courier-users] Re: Suggested patch: check mail before entering IDLE mode

2002-01-07 Thread Sam Varshavchik

Peter C. Norton writes: 

 On Tue, Jan 08, 2002 at 12:15:14AM -0500, Sam Varshavchik wrote:
 This is definitely wrong.  If no mailbox is open, you SHOULD NOT open 
 INBOX due to IDLE!
 
 Sam, 
 
 Not having looked carefully at the patch, are you speaking in all caps
 because you're quoting an RFC (in which case SHOULD NOT could be == to YOU
 CAN) or can you expand on this?

No.  You simply can't open a mailbox except by, well, actually opening it.  
That's it. 

-- 
Sam 


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



Re: [courier-users] secure esmtp transmissions

2002-01-07 Thread Gordon Messmer

On Mon, 7 Jan 2002, alan milligan wrote:

 I have been following the changes Gordon made for secure esmtp, but am a 
 little lost, and think I am using the full-blown Courier extensions instead.

The changes I made were for incoming SMTP over SSL (using alternate port 
rather than STARTTLS).  They don't apply to mail being delivered from your 
mail server out.


-- 
If I had a dollar for every brain that you don't have,
I'd have one dollar. - Squidward to SpongeBob


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