Re: [courier-users] no such file or directory?!

2004-09-30 Thread Dino
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Alle 01:23, giovedì 30 settembre 2004, Ben Kennedy ha scritto:
 Hi all,

 For reasons I cannot fathom, courier occasionally fails to make
 deliveries to Rogers ATT text messaging recipients.  The mail will sit
 in queue for awhile, producing messages like this (phone number altered):

 Sep 29 19:16:51 basil courieresmtp: i
 d=000302B3.415B416A.2A51,from=be
 [EMAIL PROTECTED],addr=[EMAIL PROTECTED]: No such file or directory
 Sep 29 19:16:51 basil courieresmtp: i
 d=000302B3.415B416A.2A51,from=be
 [EMAIL PROTECTED],addr=[EMAIL PROTECTED],status: deferred
 Sep 29 19:16:51 basil courierd: completed,id=000302B3.415B416A.2A51
 Sep 29 19:16:51 basil courierd: Waiting.  shutdown time=Wed Sep 29 20:09:
 02 2004, wakeup time=Wed Sep 29 19:21:51 2004, queuedelivering=1,
 inprogress=0

 Eventually if I cancelmsg, I get a DNS that looks like this:
 Your message to the following recipients cannot be delivered:
 
 [EMAIL PROTECTED]:
 rr-mail.rogers.page.ca [216.220.37.23]:
 rr-mail.rogers.page.ca [216.220.37.20]:
  No such file or directory

 What's this no such file or directory business?

 I cannot explain the failure, because telnetting to 25 on either of those
 MX and manually speaking SMTP sends the message fine.

 Much of the time, though, deliveries to pcs.rogers.com addresses work
 flawlessly as one would expect.

 -ben

I sometimes get the same error, and I don't know what does it means!
What's the file or directory is courier looking for?

Ciao,
- -- 
- 
|  Dino Ciuffetti - Network Administrator  |
|      +**+   Pro-Netics S.r.l.  +**+      |
- 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBW8PT1BX1tlfg/BwRAh4ZAJ9tMY0tBcnQ7Fr3BqHrUNsUrYshTwCgiubG
JEZ40ypY4pBKuCs+uw46P7U=
=72Sp
-END PGP SIGNATURE-


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


[courier-users] Re: ssl certificates problem

2004-09-30 Thread m
Andrei Iordache writes: 

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

courier-key.pem: 

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

courier-cert.crt: 

-BEGIN CERTIFICATE-
Certificate stuff
-END CERTIFICATE-

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


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

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

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


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

Am I doing something wrong ?

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

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

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

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

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

HTH,
M4
--
Courier-mta rocks! 


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


Re: [courier-users] Courier and sieve - possible?

2004-09-30 Thread Sam Varshavchik
Steffen Zieger writes:
Is it possible to use sieve with courier?
There is no sieve support in Courier.


pgpWwHjyOSRpS.pgp
Description: PGP signature


Re: [courier-users] no such file or directory?!

2004-09-30 Thread Sam Varshavchik
Dino writes:
I sometimes get the same error, and I don't know what does it means!
What's the file or directory is courier looking for?
This is probably a slightly older version of Courier, which sometimes does 
not report the right error code when there's a network connection problem.




pgp4rENSu7NV0.pgp
Description: PGP signature


Re: [courier-users] Courier and sieve - possible?

2004-09-30 Thread Steffen Zieger
On Thursday 30 September 2004 13:10, Sam Varshavchik wrote:
 There is no sieve support in Courier.
Are there any plans to add this support?

HAND,
Steffen

-- 
Freiheit ist die Freiheit zu sagen, dass zwei und zwei gleich vier ist.
Sobald das gewährleistet ist, ergibt sich alles andere von selbst.
1984 - George Orwell


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


Re: [courier-users] courier filter question

2004-09-30 Thread Robert Penz
On Wednesday 29 September 2004 20:22, Robert Penz wrote:
 where can I find a documentation of the control file. I currently know only
 that tags which are implemented in pythonfilter. I'm specially searching
 for a way to detect the mails which are sent via smtp auth, as I want to
 whitelist them.

is the question that obvious that I don't deserve an answer? ;-((

-- 
Regards,
Robert
--
Robert Penz
robert dot penz at outertech dot com


pgpBqSSNUEBFR.pgp
Description: PGP signature


Re: [courier-users] courier filter question

2004-09-30 Thread Bill Schindler
On Wednesday 29 September 2004 20:22, Robert Penz wrote:
where can I find a documentation of the control file. I currently know 
only
that tags which are implemented in pythonfilter. I'm specially 
searching
for a way to detect the mails which are sent via smtp auth, as I want 
to
whitelist them.
Detecting smtp auth requires examining the message headers. There's 
nothing in the control file about auth. Back in February or March, 
someone posted python code that pulled the auth state from the headers. 
Look for the subject Definitive way to determine whether there's been 
authorization? in the list archives.

--Bill

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


[courier-users] Webmail attachment limit

2004-09-30 Thread Eugenio Ruivo
Title: Message



Hi 
everyone.

Although I have a 
larger limit on courier's max size for an e-mail with attachments I've 
discovered that both Squirrelmail and SqWebmail won't let me attach anything 
above around 2Mb.
Can anyone tell me 
where this limit is coming from (apache.???) and how to increase 
it.

Thanks,


Eugenio Ruivo



Re: [courier-users] Webmail attachment limit

2004-09-30 Thread Federico Baraldi
Il giorno 30/set/04, alle 20:54, Eugenio Ruivo ha scritto:

Although I have a larger limit on courier's max size for an e-mail with attachments I've discovered that both Squirrelmail and SqWebmail won't let me attach anything above around 2Mb.
Can anyone tell me where this limit is coming from (apache.???) and how to increase it.

Just configure SqWebmail with the following options if you'd like to have a 20MB attachment:

x-tad-bigger--with-maxmsgsize=2000 --with-maxformargsize=2000 --with-maxargsize=2000/x-tad-bigger
--
Federico Baraldi

GPG FP:6907 438C 403E C896 5D67  75FD 9E17 7BA6 E975 5C08
GPG Key:   http://www.fbaraldi.it/chiave.asc

http://thisurlenablesemailtogetthroughoverzealousspamfilters.org



Re: [courier-users] no such file or directory?!

2004-09-30 Thread Ben Kennedy
On 30 9 2004 at 7:10 am -0400, Sam Varshavchik wrote:

This is probably a slightly older version of Courier, which sometimes does 
not report the right error code when there's a network connection problem.

How old is slightly old?  This is with 0.46.20040902.

As I mentioned though, I was unable to find evidence of any network
problem, since speaking SMTP by hand via telnet to the remote host
worked (with the no such file or directory being logged both before and
after).

-ben


-- 
Ben Kennedy, chief magician
zygoat creative technical services
613-228-3392 | 1-866-466-4628
http://www.zygoat.ca




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


Re: [courier-users] New releases: Courier 0.48, Courier-IMAP 3.0.8, Courier-analog 0.12

2004-09-30 Thread Sam Varshavchik
Thomas von Hassel writes:
On Sep 21, 2004, at 00:23, Sam Varshavchik wrote:
Thomas von Hassel writes:
On Sep 20, 2004, at 13:07, Sam Varshavchik wrote:
Thomas von Hassel writes:
On Sep 20, 2004, at 03:42, Sam Varshavchik wrote:
Thomas von Hassel writes:
On Sep 19, 2004, at 07:04, Sam Varshavchik wrote:
 New package - courier-analog - generate IMAP, POP3, and SMTP
usage
summary
from syslog files.
gives me this:
/usr/local/bin/courier-analog /var/log/maillog
Can't call method badd without a package or object reference at
/usr/local/bin/courier-analog line 1242,  chunk 469.
Install the Math::BigInt package from CPAN
I got that one installed ... still gives me errors ... this is on
freebsd 4.7 and perl 5 something ...
What version of Math::BigInt?  Mine is 1.68.

1.72, straigh from cpan
Ugh, I'll have to investigate this further.
Did you find out something ?
No.
That line reads: $msg_size=$msg_size-badd($size);
Try changing it to: $msg_size=$msg_size-badd(new Math::BigInt $size);



pgpvM1TDYK8Ra.pgp
Description: PGP signature


Re: [courier-users] Webmail attachment limit

2004-09-30 Thread Nerijus Baliunas
On Thu, 30 Sep 2004 19:54:32 +0100 Eugenio Ruivo [EMAIL PROTECTED] wrote:

 Although I have a larger limit on courier's max size for an e-mail with
 attachments I've discovered that both Squirrelmail and SqWebmail won't let
 me attach anything above around 2Mb.
 Can anyone tell me where this limit is coming from (apache.???) and how to
 increase it.

php.ini:

memory_limit = 8M  ; Maximum amount of memory a script may consume (8MB)

; Maximum allowed size for uploaded files.
upload_max_filesize = 2M

Regards,
Nerijus


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


Re: [courier-users] no such file or directory?!

2004-09-30 Thread Sam Varshavchik
Ben Kennedy writes:
On 30 9 2004 at 7:10 am -0400, Sam Varshavchik wrote:
This is probably a slightly older version of Courier, which sometimes does 
not report the right error code when there's a network connection problem.
How old is slightly old?  This is with 0.46.20040902.
That should be good enough.
As I mentioned though, I was unable to find evidence of any network
problem, since speaking SMTP by hand via telnet to the remote host
worked (with the no such file or directory being logged both before and
after).
I don't have an answer.  Some additional debugging would be required to get 
to the bottom of this.



pgp2eJzIIIJlt.pgp
Description: PGP signature


[courier-users] test

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


[courier-users] maildrop: Unable to open mailbox

2004-09-30 Thread savages
Hi
I am lost.  I have tried about everything to debug this problem
I have changed the to statement form absloute to relative, the only 
way I can get it it to work is to use Maildir

the permission on Maildir and .Spam is 700 owner.owner
why can't it open the mailbox?
maildroprc

if (/^X-Spam-Status: Yes/:h)
{
 `logger $HOME $RECIPIENT`
 `test -d $HOME/Maildir/.Spam/`
 

  if ($RETURNCODE != 0)
  {
  `cp -Rp /etc/skel/Maildir/ $HOME/Maildir/`
  }
  xfilter subjadd [SPAM]
  SBOX=Maildir/.Spam
  `logger $SBOX`
  `touch $SBOX/zot`
  log $SBOX
  to Maildir/.Spam
#to Maildir
}

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


Re: [courier-users] maildrop: Unable to open mailbox

2004-09-30 Thread Gordon Messmer
On Fri, 2004-10-01 at 05:52 -0700, savages wrote:

 why can't it open the mailbox?
...
to Maildir/.Spam

Is Maildir/.Spam actually a maildir?  Was it created originally using
'maildirmake' or some other means?




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