Re: [courier-users] Can't create new folder when use IMAP

2003-10-24 Thread Chatuporn Rungcharoensrichai



I use MS Outlook express after I login IMAPI 
use IMAP Folders -- Reset List for scanning all folders.
Now I can create new folder under INBOX by right 
click on Inbox and choose "New Folder".

Example If I create new folder under INBOX name 
test, I'll see INBOX and INBOX.TEST in courierimapsubscribed file
in my MailDir.
Figure 1
Mymailserver
 \___INBOX
\TEST 
( new folder under INBOX, I can do it )
 
Figure 2
But I can't do
 Mymailserver
\___INBOX
 \___TEST

Another things my LDAP_HOMEDIR is the same value as 
LDAP_MAILDIR ( real value = 
/vmail/hosting/system.pacific.net.th/chatuporn/Maildir/ ).
This has effect with the new folder creating, 
right? when I do as figure1 I found directory .TEST under Maildir/ , If I 
do as figure 2 where is directory of TEST folder
will be located ?

Thank you for your help.

Chatuporn RungcharoensrichaiSystem EngineerPacific Internet ( 
Thailand ) Limited

  - Original Message - 
  From: 
  David Gomillion 
  To: 'Chatuporn Rungcharoensrichai' 
  
  Sent: Thursday, October 23, 2003 12:10 
  AM
  Subject: RE: [courier-users] Can't create 
  new folder when use IMAP
  
  
  What client are you 
  using? On many clients, you need to set it to “subscribe” to the folders 
  in your maildir. This might explain both problems…
  
  Have you tried using 
  SqWebMail to access your email? That would tell you whether or not you 
  successfully created the folders through your IMAP client, without having to 
  worry about the subscription garbage.
  
  I hope this points 
  you on the right track!
  
  
  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Chatuporn 
  RungcharoensrichaiSent: 
  Wednesday, October 22, 2003 6:51 AMTo: 
  [EMAIL PROTECTED]Subject: [courier-users] Can't create new 
  folder when use IMAP
  
  
  Dear All courier 
  users,
  
  
  
  This is first time I use 
  courier-imap and use MAILDIR styles.
  
  I configure courier-imap by 
  authenticate with LDAP server, everythings seem ok but
  
  when I useIMAP client 
  program I found I can't create new folder, and I useMAILDIR 
  style.
  
  
  
  Another thing I see only my 
  INBOXbut I'm not sure it's strange or not.
  
  I don't know what's information to 
  give you, so if you want more information about my 
  configuration.
  
  I'll tell you 
  soon.
  
  
  
  
  
  Thank you
  
  
  
  Below is my 
  
  
  ADDRESS=0PORT=143MAXDAEMONS=40MAXPERIP=4PIDFILE=/var/run/imapd.pidTCPDOPTS="-nodnslookup 
  -noidentlookup"AUTHMODULES="authdaemon"AUTHMODULES_ORIG="authdaemon"DEBUG_LOGIN=0IMAP_CAPABILITY="IMAP4rev1 
  UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT 
  QUOTA IDLE"IMAP_CAPABILITY_ORIG="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE 
  THREAD=ORDEREDSUBJECTTHREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 
  AUTH=CRAM-SHA1 
  IDLE"IMAP_IDLE_TIMEOUT=60IMAP_CAPABILITY_TLS="$IMAP_CAPABILITY 
  AUTH=PLAIN"IMAP_CAPABILITY_TLS_ORIG="$IMAP_CAPABILITY_ORIG 
  AUTH=PLAIN"IMAP_DISABLETHREADSORT=0IMAP_CHECK_ALL_FOLDERS=0IMAP_OBSOLETE_CLIENT=0IMAP_ULIMITD=65536IMAP_USELOCKS=0IMAP_ENHANCEDIDLE=0IMAP_TRASHFOLDERNAME=TrashIMAP_EMPTYTRASH=Trash:7IMAP_MOVE_EXPUNGE_TO_TRASH=0SENDMAIL=/usr/sbin/sendmailHEADERFROM=X-IMAP-SenderIMAPDSTART=NO
  
  
  
  Chatuporn 
  RungcharoensrichaiSystem EngineerPacific Internet ( Thailand ) 
  Limited


[courier-users] upgrading to the current version 0.43.2 and gmake fails...

2003-10-24 Thread Mitch \(WebCob\)
Running FreeBSD 4.8.

Building as a non-root user.

Configure ran ok. What am I missing?

Thanks.

when I run gmake I see this:

Compiling maildir.C
In file included from /usr/include/g++/stl_tree.h:56,
 from /usr/include/g++/set:31,
 from ../maildir/maildirkeywords.h:435,
 from maildir.C:28:
/usr/include/g++/stl_algobase.h:91: `template class _Tp const _Tp 
min(const _Tp , const _Tp )' redeclared as different kind of symbol
mio.h:80: previous declaration of `class MioStdio min'
mio.h:80: previous non-function declaration `class MioStdio min'
/usr/include/g++/stl_algobase.h:91: conflicts with function declaration
`template class _Tp const _Tp  min(const _Tp , const _Tp )'
/usr/include/g++/stl_algobase.h:103: `template class _Tp, class _Compare
const _Tp  min(const _Tp , const _Tp , _Compare)' redeclared as different
kind of symbol
mio.h:80: previous declaration of `class MioStdio min'
mio.h:80: previous non-function declaration `class MioStdio min'
/usr/include/g++/stl_algobase.h:103: conflicts with function declaration
`template class _Tp, class _Compare const _Tp  min(const _Tp , const _Tp
, _Compare)'
/usr/include/g++/stl_algobase.h: In function `bool
lexicographical_compare(const unsigned char *, const unsigned char *, const
unsigned char *, const unsigned char *)':
/usr/include/g++/stl_algobase.h:442: no match for call to `(MioStdio) (const
size_t , const size_t )'
/usr/include/g++/stl_algobase.h: In function `int
__lexicographical_compare_3way(const unsigned char *, const unsigned char *,
const unsigned char *, const unsigned char *)':
/usr/include/g++/stl_algobase.h:490: no match for call to `(MioStdio) (const
ptrdiff_t , const ptrdiff_t )'
gmake[2]: *** [maildir.o] Error 1
gmake[2]: Leaving directory
`/usr/home/sysop/wce-install/courier-0.43.2/maildrop'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/usr/home/sysop/wce-install/courier-0.43.2/maildrop'
gmake: *** [all-recursive] Error 1

Configure used was:

./configure \
--prefix=/usr/lib/courier \
--with-mailuser=courier \
--with-mailgroup=courier \
--with-paranoid-smtpext \
--without-authpam \
--without-authldap \
--without-authpwd \
--with-authmysql \
--without-authpgsql \
--without-authshadow \
--without-authuserdb \
--without-authvchkpw \
--without-authcram \
--enable-https=auto \
--enable-workarounds-for-imap-client-bugs \
--with-certdb=/usr/local/ssl/certs \
--enable-webpass=no \
--with-ispell=/usr/local/bin/ispell \
--without-ipv6 \
--enable-mimetypes=/etc/mime.types



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

2003-10-24 Thread Jeff Jansen
On Friday 24 October 2003 08:00, Jan Gehring wrote:
 i want to create a mail relay server with courier. The courierserver
 runs at mail.mydomain.edu. And when someone sends a mail to
 [EMAIL PROTECTED] the mail should be redirect to a second (not
 available from the internet) mailserver mail.intern.mydomain.edu.

 Can i use the esmtproutes file for this like the example below ?
 # /etc/courier/esmtproutes
 mydomain.edu: mail.intern.mydomain.edu

That should work fine.  You also need to put mydomain.edu into 
/etc/courier/esmtpacceptmailfor.dir/default (or any file inside the 
esmtpacceptmailfor.dir directory) and run 'makeacceptmailfor'.  Do not put 
mydomain.edu into either locals or hosteddomains or else courier will think 
those addresses are local and will bounce all the mail since the recipient is 
an unknown address.

Jeff Jansen



---
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] Outgoing filter - add a footer

2003-10-24 Thread Mitch \(WebCob\)
Scott.

I think I know how to do it - and would love it to exist, but have no time
to do it...

The filter needs to check for a special header - if it isn't there, it
disassebles the message and resubmits it with the special header after
adding the special footer - assuming you have a few known clients to test,
you will probably find you have to add it to both the plain text and html
versions of the first alternate section you find

Then you simply change the control file on the existing message to cancel
it.

The new message takes over where the old one left off.

m/

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Scott
Sent: Thursday, October 23, 2003 1:12 PM
To: courier-users
Subject: [courier-users] Outgoing filter - add a footer


I know this has been discussed, but in a different context.  Is it possible
for a filter to delay an outgoing message so it can be modified by adding a
footer (disclaimer etc) while it's in the outgoing queue?  I'm not
interested
in doing this in sqwebmail.  I'm not an expert at writing filters, but this
would definately be a useful feature of courier.  Is there any way to do
this
presently?

-Scott



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



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


[courier-users] Strange behaviour in courier

2003-10-24 Thread Garcia Martinez, Raul Lorenzo
Title: Strange behaviour in courier





Hello.


Yesterday we had a strange behaviour in our production courier servers. 
At 15:12 there was a normal courierd: completed,id=xxx message. It was the last completed during 3 hours.
After that message, there were a lot of courieresmtpd: started,ip=[::xxx incoming messages which caused the queue to grow.

There was also this message: courierd: Waiting. shutdown time=none, wakeup time=none, queuedelivering=306, inprogress=1 repetead always with the same values for the 3 hours.

Past 3 hours we detected that there were no outgoing mails neither local delivered mails. We made a courier restart and courier began to deliver messages and empty the queue.

The main courierd process, the one owned by root, was running all the time (because it is several weeks old). 


What has happened? Any ideas?


As info, we make a courier restart everytime we set up a new hosteddomain through our provisioning system. Maybe something related with this restart (quite frequent, I have to say) ?

Indeed we have two balanced servers and both had the same problem, more or less at the same time.


Thanks for your help.


Regards,
Ral.






_ 
Uni2 Telecomunicaciones, S.A.U. 
Aviso legal: 


Este mensaje electrnico est dirigido nicamente a la(s) direccin(es) indicadas anteriormente; el carcter confidencial, personal e intransferible del mismo est protegido legalmente. Cualquier revelacin, uso o reenvo no autorizado, completo o en parte, est prohibido. 

Si ha recibido este mensaje por equivocacin, notifquelo inmediatamente a la persona que lo ha enviado y borre el mensaje original junto con sus ficheros anexos sin leerlo ni grabarlo, total o parcialmente. 

Gracias 





RE: [courier-users] upgrading to the current version 0.43.2 and gmake fails...

2003-10-24 Thread Mitch \(WebCob\)
Found one other reference to something similar... seems to have to do with
my gcc 2.95.4 - I know this is off topic, but the last time I tried to
switch compilers it got REALLY nasty - anyone made a recent version work on
FreeBSD 4.8?

What do I have to do? Or anyone have a simple and reliable way to upgrade
gcc? What did that break?

This happened a while into the build process - can someone more c++ friendly
than me give me apointer on fixing the code so I can avoid that ugliness?

Alternatively - how old do I have to do for this to work?

Any options appreciated.

Thanks.

m/

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mitch
(WebCob)
Sent: Friday, October 24, 2003 12:51 AM
To: courier-users
Subject: [courier-users] upgrading to the current version 0.43.2 and
gmake fails...


Running FreeBSD 4.8.

Building as a non-root user.

Configure ran ok. What am I missing?

Thanks.

when I run gmake I see this:

Compiling maildir.C
In file included from /usr/include/g++/stl_tree.h:56,
 from /usr/include/g++/set:31,
 from ../maildir/maildirkeywords.h:435,
 from maildir.C:28:
/usr/include/g++/stl_algobase.h:91: `template class _Tp const _Tp 
min(const _Tp , const _Tp )' redeclared as different kind of symbol
mio.h:80: previous declaration of `class MioStdio min'
mio.h:80: previous non-function declaration `class MioStdio min'
/usr/include/g++/stl_algobase.h:91: conflicts with function declaration
`template class _Tp const _Tp  min(const _Tp , const _Tp )'
/usr/include/g++/stl_algobase.h:103: `template class _Tp, class _Compare
const _Tp  min(const _Tp , const _Tp , _Compare)' redeclared as different
kind of symbol
mio.h:80: previous declaration of `class MioStdio min'
mio.h:80: previous non-function declaration `class MioStdio min'
/usr/include/g++/stl_algobase.h:103: conflicts with function declaration
`template class _Tp, class _Compare const _Tp  min(const _Tp , const _Tp
, _Compare)'
/usr/include/g++/stl_algobase.h: In function `bool
lexicographical_compare(const unsigned char *, const unsigned char *, const
unsigned char *, const unsigned char *)':
/usr/include/g++/stl_algobase.h:442: no match for call to `(MioStdio) (const
size_t , const size_t )'
/usr/include/g++/stl_algobase.h: In function `int
__lexicographical_compare_3way(const unsigned char *, const unsigned char *,
const unsigned char *, const unsigned char *)':
/usr/include/g++/stl_algobase.h:490: no match for call to `(MioStdio) (const
ptrdiff_t , const ptrdiff_t )'
gmake[2]: *** [maildir.o] Error 1
gmake[2]: Leaving directory
`/usr/home/sysop/wce-install/courier-0.43.2/maildrop'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/usr/home/sysop/wce-install/courier-0.43.2/maildrop'
gmake: *** [all-recursive] Error 1

Configure used was:

./configure \
--prefix=/usr/lib/courier \
--with-mailuser=courier \
--with-mailgroup=courier \
--with-paranoid-smtpext \
--without-authpam \
--without-authldap \
--without-authpwd \
--with-authmysql \
--without-authpgsql \
--without-authshadow \
--without-authuserdb \
--without-authvchkpw \
--without-authcram \
--enable-https=auto \
--enable-workarounds-for-imap-client-bugs \
--with-certdb=/usr/local/ssl/certs \
--enable-webpass=no \
--with-ispell=/usr/local/bin/ispell \
--without-ipv6 \
--enable-mimetypes=/etc/mime.types



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



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


[courier-users] Re: Authentication Problem

2003-10-24 Thread Ryan w.b
I also noticed that most problems occure when trying to login to the default 
domain. I have three domains setup, and one is set as default in vpopmail so 
users would just have to enter their usernames for sqwebmail.  This is the 
account that keeps asking me for a password in any e-mail client, and proves 
the most troublesome with IMP.  Does this give anyone any other ideas?  
Thanks. 

Ryan w.b writes: 

I have already removed all the authentication modules I don't need.  It's 
not just a simple password remember issue or enterer incorrectly, because 
I type it a few times and it works.  Random amount of times I have to 
enter it before it works...sometimes it doesnt at all.  This is what the 
horde.log says, if anyone can make sense of it:  

Oct 23 09:46:43 HORDE [notice] [imp] Login success for [EMAIL PROTECTED] 
[131.137.210.39] to {localhost:143} [on line 92 of 
/home/apache/htdocs/horde/imp/redirect.php]Oct 23 09:47:44 HORDE [error] 
[imp] FAILED LOGIN 130.134.210.39 to localhost:143[imap/notls] as 
[EMAIL PROTECTED] [on line 281 of 
/home/apache/htdocs/horde/imp/lib/IMP.php]  

I replaced my e-mail with the user example.  I get this after I log in, 
then when browsing around I get knocked back to the login screen with the 
second error.  The folling is what's on those lines  

line 92:  Horde::logMessage($entry, __FILE__, __LINE__, LOG_NOTICE);
line 281: Horde::logMessage($entry, __FILE__, __LINE__, LOG_ERR);  

Has anyone seen this before or know how to resolv this annoying issue?  

Thanks,
ryan.  

David Gomillion writes:  

I know this won't solve the root of the problem, but...  

I suggest a workaround: use POP for horde.  Last time I did this (and
it's been a while, so check before you do this), using POP did not
remove the messages from the server.  It just meant that it grabbed all
of the mail and stuck it in the MySQL database.  

As to why you are getting disconnected, I don't understand that.  Are
you having your windows clients remember the password?  If so, then the
fact that it is presenting a login box indicates (to me, at least) that
you are having unsuccessful authentication.  

I had problems with some authentication with Courier, so I went through
and removed all of the authentication modules I don't use.  That cleared
up a few weird bugs.  I know the readme says you shouldn't have to, but
hey, it works like a champ now...  

Another thought that just crossed my mind: Is your server advertising
any authentication methods that it's not really supporting?  I had this
happen around a year ago... I had told it to accept some type of
authentication (don't remember which now...) that I hadn't compiled
support for.  Actually, I thought I had, but I was missing a library
that it needed.  

Anyway, these are all the ideas I have right off the bat.  Good luck,
and I hope some of my rambling might give you an idea of what to try
next!  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ryan
Burton
Sent: Wednesday, October 22, 2003 7:09 PM
To: [EMAIL PROTECTED]
Subject: [courier-users] Authentication Problem  

Ok, I am still having problems authenticating using either IMP, Mozilla 
Mail, Outlookdoesn't matter.  I have increased the allowable 
connections from on IP, and the number of daemons, but doesn't help.  
Here are some symptoms:  

- Mail client works sometimes, then says Login to server failed, then I 
have to enter my login information again.  Sometimes it asks me 3 or 4  

times before finally accepting.
- IMP webmail is the same thing.  Sometimes I can login ok, but it will 
log me out at radom times.  Sometimes while clicking on mail, options, 
folders...whatever.  Then I get back to the login prompt...try again a 
few times, and it might let me back in.
- Sometimes I log in to Horde, but when it lists the modules (email, 
calendar, address book..), under mail it says 'Please log in', even 
though I just did.  

I have read 5.3.9 of the Horde FAQ, and that did not help.  I have tried  

other suggestions from people who responded to me before, but nothing has 
worked.  This is what the maillog looks like, but doesn't really say  

much.  The ones with internal IP are from Windows mail client, external 
is from webmail.  

Oct 22 17:54:47 blasted imapd: Connection, ip=[:::192.168.104.30]
Oct 22 17:55:02 blasted imapd: LOGIN FAILED, ip=[:::192.168.104.30]
Oct 22 17:55:22 blasted last message repeated 2 times
Oct 22 17:56:01 blasted imapd: Connection, ip=[:::192.168.104.30]
Oct 22 17:56:06 blasted imapd: LOGIN FAILED, ip=[:::192.168.104.30]
Oct 22 17:56:12 blasted imapd: LOGIN, user=user%example.com, 
ip=[:::192.168.104.30], protocol=IMAP
Oct 22 17:56:33 blasted imapd: Connection, ip=[:::25.113.71.62]
Oct 22 17:56:33 blasted imapd: LOGIN, [EMAIL PROTECTED], 
ip=[:::25.113.71.62], protocol=IMAP
Oct 22 17:56:33 blasted imapd: LOGOUT, [EMAIL PROTECTED], 
ip=[:::25.113.71.62], headers=0, body=0
Oct 22 

[courier-users] .courier howto identify status

2003-10-24 Thread Keith Pettit
.courier is executed every time a email is atempted, weather or not it's 
a re-send.

I need a way to identify final sends, or successfull send.  But I can't 
see how to grab those options from courier.

When I do mailq I can see messages in the que and on it's final attempt 
I can see fail and if there is someway I can grab that value in my 
.courier file I'm set.

The only other way I can think to do it have my .courier file send a 
exit code that tell courier it's a failed message, but that kind of 
sucks becuase it doesn't let courier do it's job and try to re-send failues.

I'm really at a loss on how to do this so I'd apprecaite any help

Thanks,

Keith



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


[courier-users] HELP with sqwebmail?

2003-10-24 Thread Scott Sharkey
Hi All,

I am having problems with sqwebmail authentication.  I've done this
before on other systems without problems, but it's not working on this
one.

Red Hat 9, sqwebmail 3.6.0, MySQL

I have a database defined in MySQL.  I can login to that database
using the userid and password specified in authmysqlrc, and do
a query to get a password, so I know the db is working.

When I connect to the server:

http://webmail.server.dom/cgi-bin/sqwebmail

I get connection refused messages and the following logged in
the apache Access Log (NOT the error log!)

GET /cgi-bin/sqwebmail HTTP/1.1 303 0 - Mozilla/5.0 Galeon/1.2.7
(X11; Linux i686; U;) Gecko/20030131

The 303 error indicates a redirection.  Not sure what that means,
exactly.

I can get a cgi-test program in the same directory without problems,
so I don't THINK it's a problem with Apache, but I'm not sure.

Any suggestions?

Thanks!

-Scott




---
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] upgrading to the current version 0.43.2 and gmake fails...

2003-10-24 Thread Gordon Messmer
Mitch (WebCob) wrote:
Found one other reference to something similar... seems to have to do with
my gcc 2.95.4 - I know this is off topic, but the last time I tried to
switch compilers it got REALLY nasty - anyone made a recent version work on
FreeBSD 4.8?
Don't switch compilers.  Install a newer gcc in a location that doesn't 
interfere with the system, like /opt/gcc33:

./configure --prefix /opt/gcc33 .
make
make install
Then build courier with that version of gcc:

CC=/opt/gcc33/bin/gcc ./configure 
make
make install


---
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] upgrading to the current version 0.43.2 and gmake fails...

2003-10-24 Thread Mitch \(WebCob\)
Ok - upgraded my compiler to 30... not the system libraries though... and re
ran... then dug a little more:

Conflict seems to arise because something in :
./maildrop/mio.h
conflicts with:
/usr/include/g++/stl_algobase.h

What now?

m/

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mitch
(WebCob)
Sent: Friday, October 24, 2003 8:59 AM
To: Mitch (WebCob); courier-users
Subject: RE: [courier-users] upgrading to the current version 0.43.2 and
gmake fails...


Found one other reference to something similar... seems to have to do with
my gcc 2.95.4 - I know this is off topic, but the last time I tried to
switch compilers it got REALLY nasty - anyone made a recent version work on
FreeBSD 4.8?

What do I have to do? Or anyone have a simple and reliable way to upgrade
gcc? What did that break?

This happened a while into the build process - can someone more c++ friendly
than me give me apointer on fixing the code so I can avoid that ugliness?

Alternatively - how old do I have to do for this to work?

Any options appreciated.

Thanks.

m/

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mitch
(WebCob)
Sent: Friday, October 24, 2003 12:51 AM
To: courier-users
Subject: [courier-users] upgrading to the current version 0.43.2 and
gmake fails...


Running FreeBSD 4.8.

Building as a non-root user.

Configure ran ok. What am I missing?

Thanks.

when I run gmake I see this:

Compiling maildir.C
In file included from /usr/include/g++/stl_tree.h:56,
 from /usr/include/g++/set:31,
 from ../maildir/maildirkeywords.h:435,
 from maildir.C:28:
/usr/include/g++/stl_algobase.h:91: `template class _Tp const _Tp 
min(const _Tp , const _Tp )' redeclared as different kind of symbol
mio.h:80: previous declaration of `class MioStdio min'
mio.h:80: previous non-function declaration `class MioStdio min'
/usr/include/g++/stl_algobase.h:91: conflicts with function declaration
`template class _Tp const _Tp  min(const _Tp , const _Tp )'
/usr/include/g++/stl_algobase.h:103: `template class _Tp, class _Compare
const _Tp  min(const _Tp , const _Tp , _Compare)' redeclared as different
kind of symbol
mio.h:80: previous declaration of `class MioStdio min'
mio.h:80: previous non-function declaration `class MioStdio min'
/usr/include/g++/stl_algobase.h:103: conflicts with function declaration
`template class _Tp, class _Compare const _Tp  min(const _Tp , const _Tp
, _Compare)'
/usr/include/g++/stl_algobase.h: In function `bool
lexicographical_compare(const unsigned char *, const unsigned char *, const
unsigned char *, const unsigned char *)':
/usr/include/g++/stl_algobase.h:442: no match for call to `(MioStdio) (const
size_t , const size_t )'
/usr/include/g++/stl_algobase.h: In function `int
__lexicographical_compare_3way(const unsigned char *, const unsigned char *,
const unsigned char *, const unsigned char *)':
/usr/include/g++/stl_algobase.h:490: no match for call to `(MioStdio) (const
ptrdiff_t , const ptrdiff_t )'
gmake[2]: *** [maildir.o] Error 1
gmake[2]: Leaving directory
`/usr/home/sysop/wce-install/courier-0.43.2/maildrop'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/usr/home/sysop/wce-install/courier-0.43.2/maildrop'
gmake: *** [all-recursive] Error 1

Configure used was:

./configure \
--prefix=/usr/lib/courier \
--with-mailuser=courier \
--with-mailgroup=courier \
--with-paranoid-smtpext \
--without-authpam \
--without-authldap \
--without-authpwd \
--with-authmysql \
--without-authpgsql \
--without-authshadow \
--without-authuserdb \
--without-authvchkpw \
--without-authcram \
--enable-https=auto \
--enable-workarounds-for-imap-client-bugs \
--with-certdb=/usr/local/ssl/certs \
--enable-webpass=no \
--with-ispell=/usr/local/bin/ispell \
--without-ipv6 \
--enable-mimetypes=/etc/mime.types



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



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



---
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open

RE: [courier-users] upgrading to the current version 0.43.2 and gmake fails...

2003-10-24 Thread Stephen Arnold
On Fri, 2003-10-24 at 08:59, Mitch (WebCob) wrote:
 Found one other reference to something similar... seems to have to do with
 my gcc 2.95.4 - I know this is off topic, but the last time I tried to
 switch compilers it got REALLY nasty - anyone made a recent version work on
 FreeBSD 4.8?
 
[snip]

As you can see below, gcc expects something different in the g++
headers.  Your gcc (2.95.4) is getting really old, so it looks like that
is the cause of your compilation issue (my Gentoo and RedHat boxes are
all running at least gcc version 3.2.2 or better).  I just ran across a
similar issue recently on an old RedHat 6.2 machine that still has
kernel 2.2.18 and gcc 2.96 - I couldn't even compile a 2.2.20 kernel on
that machine because gcc was too old...

I'm not sure how far you'd have to go back in terms of courier code, but
I'd recommend upgrading your gcc/glibc if you can.  Doesn't *BSD use
ports?  You should be able to upgrade your system base and gcc
toolchain; you may have to bootstrap the gcc stuff (I'm not a BSD guy,
but I'll bet it's not to different form Gentoo/portage).

HTH, Steve

 Compiling maildir.C
 In file included from /usr/include/g++/stl_tree.h:56,
  from /usr/include/g++/set:31,
  from ../maildir/maildirkeywords.h:435,
  from maildir.C:28:
 /usr/include/g++/stl_algobase.h:91: `template class _Tp const _Tp 
 min(const _Tp , const _Tp )' redeclared as different kind of symbol
 mio.h:80: previous declaration of `class MioStdio min'
 mio.h:80: previous non-function declaration `class MioStdio min'
 /usr/include/g++/stl_algobase.h:91: conflicts with function declaration


-- 
Stephen Arnold [EMAIL PROTECTED]
ENSCO, Inc.



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


[courier-users] RPM build script and SuSE

2003-10-24 Thread Tom Allison
I tried to run the RPM builds on SuSE 8.2.

They fail on a number of pacakge dependencies:
bash.rpm is one
coreutils.rpm is another.
I tried to work around these but am not expert enough to be able to fix 
as many as I was (potentially) running into.

Is there any effort under way to provide some SuSE compatability to the 
RPM scripts?



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


[courier-users] Strange error.. Operation now in progress

2003-10-24 Thread Bill Long
Hi all, I'm encountering a strange error when my system tries to deliver to
a particular AOL address.


The logs show this...
Oct 24 13:07:52 courier courieresmtp: id=000282E9.3F969B66.7785,
from=[EMAIL PROTECTED],addr=[EMAIL PROTECTED]: Operation now in
progress
Oct 24 13:07:52 courier courieresmtp:
id=000282E9.3F969B66.7785,from=[EMAIL PROTECTED],
addr=[EMAIL PROTECTED],status: deferred


It seems its happening for only that one person. The email address in
question is an aliase to the AOL account. The user now has over 100 mails in
the mailq to be delivered. I grepped the source code for Courier but didn't
see any reference to Operation now in progress.

Do any of you know what might be causing this, or what I can do to
troubleshoot it or make it go away? Could that Operation now in progress
be a message sent from the AOL server?Is there anyway to turn up
verbosity on my ESMTP logging to get more output?

this one is killing me, so any help would be appreciated.


thanks,

bill



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


[courier-users] How to get courier to log original recipient address as it is before alias expansion

2003-10-24 Thread Bill Long
Is there anyway to get courier to log the recipient of a mail as it exists
before alias expansion?  I have a mostly forwarding only server and we are
seeing some errors where mails are being delivered to people they were not
addressed to. I think this is the problem of an external MTA, but it's
difficult to troubleshoot because in my courier logs, all i can see is the
recipient list AFTER alias expansion.

any ideas?

thanks,

bill



---
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] RPM build script and SuSE

2003-10-24 Thread Keith Pettit
SuSE 8.2 uses a old version of RPM which dosen't work well with the spec 
file that comes with courier.  I just made some courier RPM's that work, 
but to do that I had to remove some of the checks in the spec file which 
is probally a bad thing.

I just got SuSE 9.0 which looks like it has a newer version of RPM so 
I'll try it with the default .spec next week and see how it does.

Email me and I'll send you the .spec file I currently have that works 
with SuSE 8.2 and courier.

Keith
[EMAIL PROTECTED]
Tom Allison wrote:

I tried to run the RPM builds on SuSE 8.2.

They fail on a number of pacakge dependencies:
bash.rpm is one
coreutils.rpm is another.
I tried to work around these but am not expert enough to be able to 
fix as many as I was (potentially) running into.

Is there any effort under way to provide some SuSE compatability to 
the RPM scripts?



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


--
*
*Keith Pettit   *  
*System Administrator   *
*   Direct Solutions, Inc.  *
*   Phone: 1.801.226.5166 ext 207   *
* Fax: 1.801.226.5018   *
* Address: 763 North 530 East   *
*  Orem, Utah 84097 *
*



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


[courier-users] Relay-ctrl-allow 3.1.1 with Courier IMAP 1.7.3 failing as authmodule

2003-10-24 Thread Mark Adams
I have installed relay-ctrl-allow 3.1.1 and courier IMAP 1.7.3 on a Red Hat Linux 7.3 
box with vmailmgr 0.96.9 and qmail.

I'm having problems with the relay-ctrl-allow authmodule in 
/usr/lib/courier-imap/etc/imapd.

Courier imap is being started via couriertcpd:

root 16689 1  0 17:53 ?00:00:00 
/usr/lib/courier-imap/libexec/couriertcpd -address=0 
-stderrlogger=/usr/lib/courier-imap/libexec/courierlogger -stderrloggername=imapd 
-maxprocs=40 -maxperip=16 -pid=/var/run/imapd.pid -nodnslookup -noidentlookup 143 
/usr/lib/courier-imap/sbin/imaplogin 
/usr/lib/courier-imap/libexec/authlib/authvmailmgr 
/usr/lib/courier-imap/libexec/authlib/relay-ctrl-allow /usr/lib/courier-imap/bin/imapd 
Maildir

When I list my authmodules as this:

AUTHMODULES=authvmailmgr relay-ctrl-allow

the child IMAP process is started as root.

root 13710 12973  0 17:39 ?00:00:00 /usr/lib/courier-imap/bin/imapd Maildir

This child process should be started as the system user.

A file is successfully created in /var/spool/relay-ctrl/allow containing the 
appropriate information:

USER=pop110

If I list relay-ctrl-allow first:

AUTHMODULES=relay-ctrl-allow authvmailmgr

Then everything works great:

pop110   32638 24478  0 17:46 ?00:00:00 /usr/lib/courier-imap/bin/imapd Maildir

Only of course the file in /var/spool/relay-ctrl/allow is 0 bytes.

If I remove relay-ctrl allow completey:

AUTHMODULES=authvmailmgr

Then everything works great:

pop110   32638 24478  0 17:46 ?00:00:00 /usr/lib/courier-imap/bin/imapd Maildir

Only of course, no IP address file is added to /var/spool/relay-ctrl/allow.

I've added some debugging stuff to relay-ctrl-allow and rebuilt it, and it seems like 
it is getting through without errors.

is_authenticated() is true.
It's able to make_file ok.
argc ! 1
It's exiting with 0.

The obvious problem is that the child is being spawned as root instead of as the 
system user. This means that imap is then unable to create IMAP folders and lots of 
other problems. As to why this happens, I have no idea. Is relay-ctrl-allow 3.1.1 
totally incompatible with Courier IMAP 1.7.3 as an authentication mdoule? I haven't 
seen anyone mention this anywhere doing a google search.

Has anyone gotten this to work, or have any ideas?

Thank you.

Sincerely,

Mark.
-
Mark Adams ([EMAIL PROTECTED])  Greenview Data, Inc.
Web: http://SpamStopsHere.comPO Box 1586, Ann Arbor, MI 48106
Tel: (734) 996-1300 Fax: (734) 996-1308  Software and services since 1980



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


[courier-users] FreeBSD 4.8 and courier 0.43.2 - WAS: upgrading to the current version 0.43.2 and gmake fails...

2003-10-24 Thread Mitch \(WebCob\)
Here are my current install notes for FreeBSD 4.8 with stock gcc as a sytem
compiler.
I added the gcc 3.2.2 as a package, and then was able to build.

Thanks Gordon for the pointers...

Hope this helps someone one else with a long overdue upgrade.

If my FAM setup is wrong, please let me know... haven't got that far yet.

m/

#PREQUSITES: apache,gmake,ispell,openssl,djb-dns cache

#INSTALL FAM:
cd /usr/ports/devel/fam
make  make package
cp /usr/ports/devel/fam/fam-2.6.9_2.tgz /root/packages

#CONFIGURE FAM: (Not sure if this is complete yet)
cat /etc/inetd2.conf END
#inetd config for internal address
sgi_fam/1-2 stream rpc/tcp wait root /usr/local/bin/fam fam

END

/usr/sbin/portmap -h 10.1.0.4
/usr/sbin/inetd -a 10.1.0.4 -p /var/run/inetd2.pid /etc/inetd2.conf
echo /usr/sbin/inetd -a 10.1.0.4 -p /var/run/inetd2.pid /etc/inetd2.conf
/etc/rc.local
echo /usr/sbin/portmap -h 10.1.0.4 /etc/rc.local

#UPGRADE GCC - install freebsd port
cd /cd /usr/ports/lang/gcc32
make  make package

pw group add -n courier -g 65530
pw user add -c Courier -d /nonexistant -g courier -u 65530 -n courier -s
noshell

tar --use-compress-program bzip2 -xf courier-0.43.2.tar.bz2
cd courier-0.43.2

#copy required openssl script
su -
cp /usr/local/ssl/bin/c_rehash /usr/local/bin
exit

CFLAGS=-I/usr/local/include CXXFLAGS=-I/usr/local/include \
LDFLAGS=-L/usr/local/lib \
CXX=/usr/local/bin/g++32 CC=/usr/local/bin/gcc32 ./configure \
--prefix=/usr/local/courier \
--with-mailuser=courier \
--with-mailgroup=courier \
--with-paranoid-smtpext \
--without-authpam \
--without-authldap \
--without-authpwd \
--with-authmysql \
--without-authpgsql \
--without-authshadow \
--without-authuserdb \
--without-authvchkpw \
--without-authcram \
--enable-https=auto \
--enable-workarounds-for-imap-client-bugs \
--with-certdb=/usr/local/ssl/certs \
--enable-webpass=no \
--with-ispell=/usr/local/bin/ispell \
--without-ipv6 \
--enable-mimetypes=/usr/local/apache80/conf/mime.types

gmake
su -
cd $BUILD_DIRECTORY
gmake install
gmake install-configure

And then read the manual ;-)




---
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] Can't create new folder when use IMAP

2003-10-24 Thread Stephen Arnold
On Fri, 2003-10-24 at 00:40, Chatuporn Rungcharoensrichai wrote:
 I use MS Outlook express after I login IMAP I use IMAP Folders --
 Reset List for scanning all folders.
 Now I can create new folder under INBOX by right click on Inbox and
 choose New Folder.
  
 Example If I create new folder under INBOX name test, I'll see INBOX
 and INBOX.TEST in courierimapsubscribed file
 in my MailDir.
 
 Figure 1
  Mymailserver
   \___INBOX
\TEST( new folder under INBOX, I can do it )
   
 Figure 2
 But I can't do
  Mymailserver
   \___INBOX
   \___TEST
[snip]

Somebody else can explain this better, but AFAIK, the physical layout of
directories on the server has nothing to do with whether your IMAP
client shows folders hanging off your Inbox or not (this is strictly a
function of client behavior).

If you try another client, eg, Pegasus mail or even (ugh) LookOut!, you
should see something like figure 2, even though the real layout is like
figure 1.  For example, the Evolution client shows my folders like
figure 2.

Does that make sense?

HTH, Steve

-- 
Stephen Arnold [EMAIL PROTECTED]
ENSCO, Inc.



---
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] HELP with sqwebmail?

2003-10-24 Thread Tim Hunter
- Original Message - 
From: Scott Sharkey [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 24, 2003 10:00 AM
Subject: [courier-users] HELP with sqwebmail?


 Hi All,

 I am having problems with sqwebmail authentication.  I've done this
 before on other systems without problems, but it's not working on this
 one.

 Red Hat 9, sqwebmail 3.6.0, MySQL

 I have a database defined in MySQL.  I can login to that database
 using the userid and password specified in authmysqlrc, and do
 a query to get a password, so I know the db is working.

 When I connect to the server:

 http://webmail.server.dom/cgi-bin/sqwebmail

 I get connection refused messages and the following logged in
 the apache Access Log (NOT the error log!)

 GET /cgi-bin/sqwebmail HTTP/1.1 303 0 - Mozilla/5.0 Galeon/1.2.7
 (X11; Linux i686; U;) Gecko/20030131

 The 303 error indicates a redirection.  Not sure what that means,
 exactly.

You must have compiled sqwebmail with the option to force ssl connection
which means that its trying to redirect to
https://webmail.server.dom/cgi-bin/sqwebmail

 I can get a cgi-test program in the same directory without problems,
 so I don't THINK it's a problem with Apache, but I'm not sure.

 Any suggestions?

 Thanks!

 -Scott




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




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


[courier-users] Interesting Problem

2003-10-24 Thread Ryan Burton
Title: Interesting Problem






Ok, this is a weird problem and explains all the issues I have been having since I setup courier/horde. Would not authenticate sometimes, kick me back to the login prompt sometimes, not work at alletc. I have three domains setup and it seems that if there is an email address with 6 characters or less in the e-mail address before the @, it will cause issues or wont work at all. If there are 7 characters or more, everything seems to work fine. I have tested it by creating new accounts on all three domains, and the ones with 6 characters or less I couldnt login to horde, but if its more than 6 characters, seems to be no issues. Its not just in IMP; its also in any e-mail client. The logs dont say anything informative. Anyone understand this at all?? Thank you.

Ryan.