error message after make all CFLAGS=-O

2003-09-21 Thread Ezra
Hello all:

I'm receiving this error message after running make all CFLAGS=- O

make[1]: *** [imap/Makefile] Error 126
make[1]: Leaving directory `/usr/cyrus-imapd-2.1.15/perl'
make: *** [all] Error 1
SYSTEM SETUP:

Redhat Linux Advance server 2.1
cyrus-sasl-2.1.15
postfix 2.0.14
NOTE: I TRIED TO INSTALL ONLY THE NECCESSARY FILES FOR THIS SERVER. NO 
X,GNOME,KDE OR ANY OF THE PRETTY FEATURES THAT COME WITH LINUX.

configure command:

./configure --with-auth=unix --with-idle=poll --with-perl=/usr/bin/ 
--with-sasl=/usr/local/lib/sasl2 --with-dbdir=/usr/lib 
--with-openssl=/usr/lib --with-libwrap=/usr/lib --disable-cyradm

I know perl is working(I executed a hello world perl script)

I looked inside the imap/Makefile and notice  LDFLAGS=/usr/lib/lib.  
There is no directory ( /usr/lib/lib ) like this on my system.  If you 
people need more info please inform me.  Also, I did look in the 
archives and only found one similar problem and no solutions.

Thank You
Ezra Taylor


pop3 stalls - doesnt answer

2003-09-21 Thread J.D. Bronson
myhost:~ # telnet 0 110
Trying 0.0.0.0...
telnet: Unable to connect to remote host: Connection refused
But then I try again right away:
# telnet 0 110
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
+OK myhost Cyrus POP3 v2.1.15 server ready
I dont understand what is wrong. I have prefork'd 2 POP3 programs and there 
is little use on this machine.

Any idea why at times pop3 doesnt answer requests but then does in the very 
next attempt?

...nothing in the logs on this and IMAPD works just perfect each and every 
time.

Thanks for any tips.





--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Fax: 414.328.8282 // Pager: 414.314.8282


Hi!

2003-09-21 Thread Dasmeet Singh
Hi! I am new to Cyrus and Linux.. Need little help.. i want to install 
Cyrus and Postfix on a Redhat 8 server.. I am using apt-get for Redhat 8 
and i easily installed postfix.. but i am not able to install cyrus.. 
can you tell me how to do it?
Thanks in advance..
Dasmeet



sendmail TCP lmtp - local auth needed?

2003-09-21 Thread J.D. Bronson
I setup sendmail 8.12.10 to use TCP for lmtp rather than UNIX sockets.

define(`confLOCAL_MAILER', `cyrusv2')dnl
define(`CYRUSV2_MAILER_FLAGS', [EMAIL PROTECTED]/:|m')dnl
define(`CYRUSV2_MAILER_ARGS', `TCP localhost lmtp')dnl
this works, but I now end up with this:

Sep 21 11:55:38 myhost sendmail[14567]: to=<[EMAIL PROTECTED]>, 
ctladdr=<[EMAIL PROTECTED]> (100
/10), delay=00:00:01, xdelay=00:00:00, mailer=cyrusv2, pri=30591, 
relay=localhost.mydomain.com. [127.0.0.1], dsn=4.0.0, stat=Deferred: 4
30 Authentication required

I know if I run 'lmtpd -a' it will deliver, but that could open up some 
trouble. I have searched the archives at sendmail and cyrus and dont see a 
solution to this. I have been told to tell sendmail to use SASL to 
authenticate when it connects - but I am looking for an example of how to 
do this...I do have SASL installed and it does work fine

I hope someone can at least point me towards some answer?





--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Fax: 414.328.8282 // Pager: 414.314.8282


[no subject]

2003-09-21 Thread ¹ãÖݶ¦»ª¿Æ¼¼ÓÐÏÞ¹«Ë
 =?ISO-8859-1?Q?=BE?= <[EMAIL PROTECTED]>
Subject: =?ISO-8859-1?Q?=D3=CA=BC=FE=D7=A8=BC=D2?=
To: [EMAIL PROTECTED]
Content-Type: text/html;charset="GB2312"
Reply-To: [EMAIL PROTECTED]
Date: Mon, 22 Sep 2003 02:01:51 +0800
X-Priority: 3
X-Mailer: FoxMail 3.11 Release [cn]







ÉÌÕ½²Ð¿á




ÉÌÕ½²Ð¿á£¬ÆóÒµÏëÐû´«×Ô¼º¿É¾Þ¶î·ÑÓÃÁîÈËÍ·Í´¡£
http://www.dhkjweb.com";>Ö»ÒªÔڴ˵ã»÷¡¶Óʼþר¼Ò¡·Á¢¼´ÎªÄúÌṩ½â¾ö·½°¸£¡






Re: Hi!

2003-09-21 Thread Ezra
Dasmeet Singh wrote:

Hi! I am new to Cyrus and Linux.. Need little help.. i want to install 
Cyrus and Postfix on a Redhat 8 server.. I am using apt-get for Redhat 
8 and i easily installed postfix.. but i am not able to install 
cyrus.. can you tell me how to do it?
Thanks in advance..
Dasmeet


Hello Dasmeet:

I'm having problems installing imap myself, maybe we can help each 
other. What does you configure options look like? What errors are you 
getting? Please post as much infomation as possible. I'm stepping out 
for about an hour, I respond to you next post around 3:40 New York time.

Thank You
Ezra Taylor


Re: sendmail TCP lmtp - local auth needed?

2003-09-21 Thread Andrew Morgan


On Sun, 21 Sep 2003, J.D. Bronson wrote:

>
> I setup sendmail 8.12.10 to use TCP for lmtp rather than UNIX sockets.
>
> define(`confLOCAL_MAILER', `cyrusv2')dnl
> define(`CYRUSV2_MAILER_FLAGS', [EMAIL PROTECTED]/:|m')dnl
> define(`CYRUSV2_MAILER_ARGS', `TCP localhost lmtp')dnl
>
>
> this works, but I now end up with this:
>
> Sep 21 11:55:38 myhost sendmail[14567]: to=<[EMAIL PROTECTED]>,
> ctladdr=<[EMAIL PROTECTED]> (100
> /10), delay=00:00:01, xdelay=00:00:00, mailer=cyrusv2, pri=30591,
> relay=localhost.mydomain.com. [127.0.0.1], dsn=4.0.0, stat=Deferred: 4
> 30 Authentication required
>
> I know if I run 'lmtpd -a' it will deliver, but that could open up some
> trouble. I have searched the archives at sendmail and cyrus and dont see a
> solution to this. I have been told to tell sendmail to use SASL to
> authenticate when it connects - but I am looking for an example of how to
> do this...I do have SASL installed and it does work fine
>
> I hope someone can at least point me towards some answer?

We are using postfix as the mail relay here, but maybe our solution will
work for you too.  On the Cyrus box, we have lmtp accepting TCP
connections with "lmtpd -a" (preauth).  However, we have compiled Cyrus
with tcp-wrappers and have the following in /etc/hosts.deny:

lmtp: ALL EXCEPT LOCAL, smtp1.oregonstate.edu, smtp2.oregonstate.edu

This avoids the whole issue of setting up authentication with the mail
relays.  In our case, we only want to accept lmtp mail from the mail
relays anyways, even if we did use authentication.

Andy



Re: Hi!

2003-09-21 Thread Ezra
Ezra wrote:

Dasmeet Singh wrote:

Hi! I am new to Cyrus and Linux.. Need little help.. i want to 
install Cyrus and Postfix on a Redhat 8 server.. I am using apt-get 
for Redhat 8 and i easily installed postfix.. but i am not able to 
install cyrus.. can you tell me how to do it?
Thanks in advance..
Dasmeet


Hello Dasmeet:

I'm having problems installing imap myself, maybe we can help each 
other. What does you configure options look like? What errors are you 
getting? Please post as much infomation as possible. I'm stepping out 
for about an hour, I respond to you next post around 3:40 New York time.

Thank You
Ezra Taylor

Hello again Dasmeet:

Follow the howto at : http://www.delouw.ch/linux/postfix.phtml
if you haven't done so already.
Thank You
Ezra Taylor



Cyrus to USENET gateway

2003-09-21 Thread Nils Vogels
Hi all,

I'm currently looking for some kind of solution, that will allow me to 
gateway between Cyrus and USENET.

Right now I'm using an MLM solution, that fetches certain groups from a 
server, drops and drops them in a Cyrus bb, but I'm trying to see if 
threre is anything around that will allow me to integrate this further.

The things that currently trouble me are:

1) I've found the feedcyrus shellscript, but this only seems to work for 
an INN install. I do not have the resources to install INN as well on 
the mailserver, and I do not want articles to be both in the INN system, 
and in the Cyrus system. Would it be possible to use for instance an 
slrn-pull setup for this as well ?

2) When people put new postings in the BB, I would like some way to gate 
it out into the USENET world again. For this setup, I have no clues ... :/

Could you guys maybe give me a few hints & tips, or URL's that I can visit ?

Thx a bunch,

Nils.



Bad IPLOCALPORT value

2003-09-21 Thread J.D. Bronson
ok. More issues! - what is causing this and how do I trouble shoot it?

Everything -is- working fine..but these messages are tossed on the console 
of my sun box anytime anything related to cyrus happens:

sun1 console login: Sep 21 20:06:38 sun1 pop3d[9053]: Bad IPLOCALPORT value
Sep 21 20:06:38 sun1 pop3d[9053]: Bad IPREMOTEPORT value
Sep 21 20:06:38 sun1 pop3d[9052]: Bad IPLOCALPORT value
Sep 21 20:06:38 sun1 pop3d[9052]: Bad IPREMOTEPORT value
Sep 21 20:06:45 sun1 pop3d[9051]: Bad IPLOCALPORT value
Sep 21 20:06:45 sun1 pop3d[9051]: Bad IPREMOTEPORT value
Sep 21 20:08:09 sun1 lmtpd[9066]: Bad IPLOCALPORT value
Sep 21 20:08:09 sun1 lmtpd[9066]: Bad IPREMOTEPORT value
Sep 21 20:08:12 sun1 lmtpd[9066]: Bad IPLOCALPORT value
Sep 21 20:08:12 sun1 lmtpd[9066]: Bad IPREMOTEPORT value
Sep 21 20:09:24 sun1 lmtpd[9159]: Bad IPLOCALPORT value
Sep 21 20:09:24 sun1 lmtpd[9159]: Bad IPREMOTEPORT value
Sep 21 20:10:04 sun1 lmtpd[9159]: Bad IPLOCALPORT value
Sep 21 20:10:04 sun1 lmtpd[9159]: Bad IPREMOTEPORT value
Sep 21 20:10:04 sun1 lmtpd[9159]: Bad IPLOCALPORT value
Sep 21 20:10:04 sun1 lmtpd[9159]: Bad IPREMOTEPORT value
Sep 21 20:10:45 sun1 pop3d[9062]: Bad IPLOCALPORT value
Sep 21 20:10:45 sun1 pop3d[9062]: Bad IPREMOTEPORT value
I am running Cyrus SASL and IMAP 2.1.15 compiled with BerkeleyDB 4.1.25 and 
sendmail 8.12.10.
Delivery to cyrus is via TCP LMTP.

Please help!



--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Fax: 414.328.8282 // Pager: 414.314.8282


Re: pop3 stalls - doesnt answer

2003-09-21 Thread J.D. Bronson
I also noticed this in the log files:

[sun1] 8:34:22pm /var/log> tail cyrus.log
Sep 21 20:34:01 sun1 pop3d[9215]: accepted connection
Sep 21 20:34:01 sun1 master[9231]: about to exec /usr/cyrus/bin/pop3d
Sep 21 20:34:01 sun1 master[9048]: process 9215 exited, status 75
so...pop3d tries to execute and then dies with status 75.

any clues?





--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Fax: 414.328.8282 // Pager: 414.314.8282


Re: Cyrus to USENET gateway

2003-09-21 Thread Rob Siemborski
On Mon, 22 Sep 2003, Nils Vogels wrote:

> 1) I've found the feedcyrus shellscript, but this only seems to work for
> an INN install. I do not have the resources to install INN as well on
> the mailserver, and I do not want articles to be both in the INN system,
> and in the Cyrus system. Would it be possible to use for instance an
> slrn-pull setup for this as well ?

Probably.  I'm not familiar with slrn-pull.  You can also use imapfeed
(which I believe ships with INN).

> 2) When people put new postings in the BB, I would like some way to gate
> it out into the USENET world again. For this setup, I have no clues ... :/

Look at a program called lmtp2nntp, then set your MTA's routing to handle
a plus address like [EMAIL PROTECTED]

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper



Re: Cyrus to USENET gateway

2003-09-21 Thread Ken Murchison
Nils Vogels wrote:

Hi all,

I'm currently looking for some kind of solution, that will allow me to 
gateway between Cyrus and USENET.

Right now I'm using an MLM solution, that fetches certain groups from a 
server, drops and drops them in a Cyrus bb, but I'm trying to see if 
threre is anything around that will allow me to integrate this further.

The things that currently trouble me are:

1) I've found the feedcyrus shellscript, but this only seems to work for 
an INN install. I do not have the resources to install INN as well on 
the mailserver, and I do not want articles to be both in the INN system, 
and in the Cyrus system. Would it be possible to use for instance an 
slrn-pull setup for this as well ?
Cyrus 2.2 has a fully functional NNTP server so you can feed articles 
directly into Cyrus (or pull them from another server) and have them 
served via IMAP/POP3 and/or NNTP.

2) When people put new postings in the BB, I would like some way to gate 
it out into the USENET world again. For this setup, I have no clues ... :/
As Rob said, lmtp2nntp is what you want:

http://www.ossp.org/pkg/tool/lmtp2nntp/

--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp