Subject: Re: Fetchmail can no longer fetch mail FROM Citadel via IMAP
Changing the debug options for citserver provided no error messages.
Wed Jun 20 2012 06:13:06 EDT from ChojinDSL @ Uncensored Subject: Re: Fetchmail can no longer fetch mail FROM Citadel via IMAPThis problem still persists. Fetchmail is capable of retrieving emails from citadel via POP3, but not via IMAP.
The fetchmail error "status 7" means, according to fetchmail's man page :
"7 There was an error condition reported by the server. Can also fire if fetchmail timed out while waiting for the server."
I've also tried specifying a timeout of 30 seconds, but it's the same error regardless.
How can I display debug output from citadel to see if there are any error messages generated by citadel which might provide further clues?
I'm runnin Citadel 8.11 by the way.
Thu Feb 23 2012 11:34:29 EST from ChojinDSL @ Uncensored Subject: Fetchmail can no longer fetch mail FROM Citadel via IMAPI use fetchmail to train Spamassassin.
Basically I have a cron script which runs every 5 minutes. Fetchmail connects to a account which has a Spam and Ham folder. These two folders are shared with all users on the system, so that there is a central place to store spam and ham mails for training. The script pipes the download mails from fetchmail to sa-learn with the respective ham or spam flag.
However, no all of a sudden fetchmail is no longer to fetchmail from Citadel.
Here's an example of the fetchmail output:
#################################
fetchmail: IMAP< From: "subject" <name@email.com>
fetchmail: IMAP< )
fetchmail: IMAP< A0009 OK FETCH completed
fetchmail: Incorrect FETCH response: * 1 FETCH (.
fetchmail: IMAP> A0010 LOGOUT
fetchmail: IMAP< * BYE mail.server.com logging out
fetchmail: IMAP< A0010 OK Citadel IMAP session ended.
fetchmail: client/server synchronization error while fetching from SpamTrainer@192.168.192.8
fetchmail: 6.3.21 querying 192.168.192.8 (protocol IMAP) at Thu Feb 23 17:29:42 2012: poll completed
Merged UID list from 192.168.192.8: <empty>
fetchmail: Query status=7 (ERROR)
fetchmail: normal termination, status 7#################################
I've tried all sorts of fetchmail options, but to no avail. This happens regardless of trying to train spam or ham. I thought it might have to do with some Spam mails having some weird headers that fetchmail craps out on, but I can't even fetch legitimate test emails that I sent myself.
Subject: Re: Fetchmail can no longer fetch mail FROM Citadel via IMAP
can you please provide a sniff of such a session?
http://www.citadel.org/doku.php?id=faq:mastering_your_os:net_sniff
please turn of TLS (if) and change for a temporary password.
provide the errormessage along the sniff please.
I have installed citadel 3 times now, but in the life of me I am unable to make webcit listen on ipv4 interfaces!
This is FreeBSD 9.x and sockstat -l | grep cit gives:
root webcit 74724 6 tcp6 *:2000 *:*
How do I make webcit listen only on tcp4, not tcp6?
BTW, if anyone can alert the developers, I a small change is required in install script for a successful build on FreeBSD:
Line 112 and 113 does not require a space:
LDADD="-L/usr/local/lib" # no need fo the space between -L and /usr/local/lib
INCADD="-I/usr/local/include" # remove space between -L and /usr/local/include
Those changes make the build succeed on FreeBSD.
Subject: Re: How do I force webcit on ipv4
hm, did they change the matrix? or do I have a dejavu?
the question was answered before btw.
Subject: Using Citadel as an SMTP Server
I cannot see this in the FAQ.
I want Citadel to allow relay from my subnet a.b.c.d/XX
Howdy?
Subject: Re: Using Citadel as an SMTP Server
Try turning on the following option while logged into WebCit as an Aide:
Administration -> Edit site-wide Configuration -> Network -> "Allow unauthenticated SMTP clients to spoof this sites domains"
If that doesn't work, then Citadel may not support e-mail relaying. In that case, you'd have to use an additional mail transport agent (MTA) like postfix.
Spell
Subject: Re: Using Citadel as an SMTP Server
If you need a general purpose mail relay, you should install one.
Subject: 'Too many open files' errors after upgrade to 8.11-2 on Debian
On Mon, Jun 18, 2012 at 10:26 PM, Robert J. Clay <rjclay@gmail.com> wrote:Same thing happened again this afternoon. Successfully recovered,
I used db_recover .... to successfully recover yesterday and was able to start upSame kind of thing happened again this afternoon. Successfully
again. Found this afternoon, however, that the same thing happened again.
Successfully recovered again.
recovered again. I'll see how it goes now.
but what might be causing this?
--
Robert J. Clay
rjclay@gmail.com
Subject: Re: Citadel issues after upgrade to 8.11-2 on Debian
DB: /var/lib/citadel/data/log.0000013793: log file unreadable: Too many
open files
DB: PANIC: Too many open files
bdb(): PANIC: Too many open files
DB: PANIC: fatal region error detected; run recovery
citserver[2472]: bdb(): PANIC: DB_RUNRECOVERY: Fatal error, run database
recovery
citserver[2472]: localcursor: DB_RUNRECOVERY: Fatal error, run database
recovery
How many database logs do you have sitting around? Are you automatically purging committed logs or have you elected to delete them manually?
An error which reads "Too many open files" usually occurs because there are too many open files.
Subject: Re: 'Too many open files' errors after upgrade to 8.11-2 on Debian
can you set up a cron job doing
lsof | grep citserver > `date +%x-%X`. txt
once per minute and corelate the files which belong to such an error message?
Subject: Re: Using Citadel as an SMTP Server
or.. authenticate your mails.
i.e. msmtp is sufficient for sending cron mails & co from your remote hosts.
Hi
Please can anyone point me towards what to do next?
I ran easy install on CentOS6 on a VPS. It aborted, this is the last bit of the error log:
mkdir /usr/local/citadel/techdoc
/usr/bin/install -c -m 644 ./techdoc/package-setup.txt /usr/local/citadel/./techdoc/package-setup.txt
/usr/bin/install -c -m 644 ./techdoc/hack.txt /usr/local/citadel/./techdoc/hack.txt
/usr/bin/install -c -m 644 ./techdoc/binaries.txt /usr/local/citadel/./techdoc/binaries.txt
/usr/bin/install -c -m 644 ./techdoc/PAM.txt /usr/local/citadel/./techdoc/PAM.txt
/usr/bin/install -c -m 644 ./techdoc/developers.txt /usr/local/citadel/./techdoc/developers.txt
/usr/bin/install -c -m 644 ./techdoc/build.txt /usr/local/citadel/./techdoc/build.txt
/usr/bin/install -c -m 644 ./techdoc/views.txt /usr/local/citadel/./techdoc/views.txt
/usr/bin/install -c -m 644 ./techdoc/delivery-list.txt /usr/local/citadel/./techdoc/delivery-list.txt
/usr/bin/install -c -m 644 ./techdoc/netconfigs.txt /usr/local/citadel/./techdoc/netconfigs.txt
/usr/bin/install -c -m 644 ./techdoc/citadelapi.txt /usr/local/citadel/./techdoc/citadelapi.txt
/usr/bin/install -c -m 644 ./techdoc/test_suite.txt /usr/local/citadel/./techdoc/test_suite.txt
/usr/bin/install -c -m 644 openldap/./citadel.schema /usr/local/citadel/./citadel.schema
/usr/bin/install -c -m 644 openldap/./rfc2739.schema /usr/local/citadel/./rfc2739.schema
/usr/bin/install -c -m 644 README.txt /usr/local/citadel/README.txt
gmake[1]: msgfmt: Command not found
gmake[1]: *** [../../locale/ar/LC_MESSAGES/citadel-setup.mo] Error 127
gmake: *** [install-locale] Error 2
Operating system: Linux RedHat 6.2(Final 2.6.18-238.5.1.el5.028stab085.2 i686)
[root@server tmp]#
I would be very grateful for any suggestions.
on debian:
dpkg -S `which msgfmt `
gettext: /usr/bin/msgfmt
did you give the OBS rpms a try yet?
Wed Jun 20 2012 17:22:53 EDT from dothebart @ Uncensored Subject: Re: Easy install abortson debian:
dpkg -S `which msgfmt `
gettext: /usr/bin/msgfmtdid you give the OBS rpms a try yet?
OBS?
Wed Jun 20 2012 17:28:39 EDT from JohnG @ Uncensored Subject: Re: Easy install aborts
Wed Jun 20 2012 17:22:53 EDT from dothebart @ Uncensored Subject: Re: Easy install abortson debian:
dpkg -S `which msgfmt `
gettext: /usr/bin/msgfmtdid you give the OBS rpms a try yet?
OBS?
http://citadel.org/doku.php?id=installation:start#citadelrpmsforsusefedoramandriva
Subject: Re: [Citadel Support] Re: 'Too many open files' errors after upgrade to 8.11-2 on Debian
<dothebart@uncensored.citadel.org> wrote:
can you set up a cron job doingI can't do that just yet but I did do a quick look at what that's
lsof | grep citserver > `date +%x-%X`. txt
once per minute and corelate the files which belong to such an error
message?
showing now & found a large number of lines for
/var/spool/citadel/network/spoolout/trada; trada (trada.rocasa.us) is
the Citadel uplink for that particular server. I shut citadel down,
removed the file, then started it back up again. It showed back up
again after a few minutes. And, if I'm reading the logs at this end
correctly, there were several lines showing (from lsof) for that file
even after I thought it had a successful session with trada.
--
Robert J. Clay
rjclay@gmail.com
Subject: Re: Fetchmail can no longer fetch mail FROM Citadel via IMAP
Any preference to the software used? Will a filtered tcpdump output suffice? Or should I use something like wireshark?
Wed Jun 20 2012 09:09:39 EDT from dothebart @ Uncensored Subject: Re: Fetchmail can no longer fetch mail FROM Citadel via IMAPcan you please provide a sniff of such a session?
http://www.citadel.org/doku.php?id=faq:mastering_your_os:net_sniff
please turn of TLS (if) and change for a temporary password.
provide the errormessage along the sniff please.
Subject: Re: [Citadel Support] Re: 'Too many open files' errors after upgrade to 8.11-2 on Debian
Thu Jun 21 2012 02:31:09 EDTfrom "Robert J. Clay" <rjclay@gmail.com> Subject: Re: [Citadel Support] Re: 'Too many open files' errors after upgrade to 8.11-2 on DebianOn Wed, Jun 20, 2012 at 5:03 PM, dothebart
<dothebart@uncensored.citadel.org> wrote:
I can't do that just yet but I did do a quick look at what that's
showing now & found a large number of lines for
/var/spool/citadel/network/spoolout/trada; trada (trada.rocasa.us) is
the Citadel uplink for that particular server. I shut citadel down,
removed the file, then started it back up again. It showed back up
again after a few minutes. And, if I'm reading the logs at this end
correctly, there were several lines showing (from lsof) for that file
even after I thought it had a successful session with trada.
--
Robert J. Clay
rjclay@gmail.com
ah, thats a well known and hot trace.
current GIT Master contains several changes to the citadel networking module.
can you retest with it whether this fixes your problems?
You need to upgrade libcitadle too;
heres howto compile the debs:
http://citadel.org/doku.php?id=installation:debian#tobuildfromsource
(you need to ./bootstrap to do that with git master)
heres howto obtain a clone of the git tree:
http://citadel.org/doku.php?id=installation:sourcecode
Subject: Re: [Citadel Support] Re: Lightning and Citadel groupdav calendar
entries.
1. create new calendar room or delete/move all calendar-mails to another
rooms
2. add a new event
3. download ical-file
BEGIN:VEVENT
DTSTAMP:20120621T141142
UID:35ece188-5311-4014-a244-72d2269aaafcñïO·Æÿµ\r
ORGANIZER:MAILTO:mail@domain.tld
SUMMARY:test 21.06
DESCRIPTION:Details2
DTSTART;VALUE=DATE:20120621
DTEND;VALUE=DATE:20120622
TRANSP:OPAQUE
SEQUENCE:2
END:VEVENT
Note the weird UID at the end.
The bug was introduced in 8.11 (or the version before), since then
parsing of ical-Files in lightning fails.
greetings
Stefan
P.S. dothebart: your reply-to is incorrect (it says "Citadel
Support@uncensored.citadel.org" instead of
"room_Citadel_Support@uncensored.citadel.org")
Subject: Re: [Citadel Support] Re: 'Too many open files' errors after upgrade to 8.11-2 on Debian
<dothebart@uncensored.citadel.org> wrote:
Thu Jun 21 2012 02:31:09 EDTfrom "Robert J. Clay" <rjclay@gmail.com>I'll see about doing that over the weekend..,.
I can't do that just yet but I did do a quick look at what that's
showing now & found a large number of lines for
/var/spool/citadel/network/spoolout/trada; trada (trada.rocasa.us) is
the Citadel uplink for that particular server. ...
ah, thats a well known and hot trace.
current GIT Master contains several changes to the citadel networking
module.
can you retest with it whether this fixes your problems?
You need to upgrade libcitadle too;
--
Robert J. Clay
rjclay@gmail.com