Re: Slow delivery to Outlook 2k/2k3
On Thu, 2 Feb 2006 21:42:18 -0500 "Bill Kearney" <[EMAIL PROTECTED]> wrote: >> I have seen such problems occur when Outlook is left running for long >> periods of time. Believe it or not, a complete reboot of Windows is >> often necessary. Simply restarting Outlook is not always sufficient. > > I'll second that rather grim pronouncement. Outlook's IMAP handling is > DEFECTIVE. It really cannot reliably stay connected to an IMAP server. > It's been broken in all versions but 2003 seems to be the MOST defective. > It plainly just doesn't work. I have seem it require a complete reboot of > the PC to free it up. > > If you use an IMAP server don't depend on getting Outlook to work with it. > > Now, Outlook Express? That works, quite handily. Hmm... About the only mention that I see in the documentation regarding Outlook is in the imapd.conf(5) man page under the allowallsubscribe option and in the install-murder document, both of which are, AFAIK, totally irrelevant to this context. Wouldn't it be nice if there were an Outlook FAQ specifically targeted at using backends *other* than Exchange? Does such a thing exist (Cyrus or not) or shall I perform a checkout on the imapd CVS tree? ;-) -- Anthony Chavez http://anthonychavez.org/ mailto:[EMAIL PROTECTED] jabber:[EMAIL PROTECTED] pgpVoIHKAgvKF.pgp Description: PGP signature Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: 2.3.1 replication and deliver problem
Patrick Radtke wrote: Maybe check the log on your replica. Possibly something is going wrong with sync_server (though it seems unlikely since sync_client -u works) Yes. Something is wrong with sync_server. Feb 3 09:10:28 backup syncserver[1899]: Fatal error: Virtual memory exhausted It hangs during replication of my mailbox which is about 600 Mb... Is it possible to get more verbose debug from sync_server? Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Slow delivery to Outlook 2k/2k3
On Thu, 02 Feb 2006, Anthony Chavez wrote: > On Fri, 3 Feb 2006 00:47:52 -0200 Henrique de Moraes Holschuh <[EMAIL > PROTECTED]> wrote: > > On Thu, 02 Feb 2006, Anthony Chavez wrote: > >> Nevertheless, either Cyrus still doesn't recognize that the mail has > >> been received (even though Postfix logs that it has been passed to > > > > Disable IDLE support in Cyrus. Does that fix the issue? > > I seem to remember having problems when IDLE was not enabled. I don't > remember the details, but it seems like Outlook requires it or the build > fails or something like that. Sound familiar at all? No, but I suggest a search on the list archives, there's a lot about outlook and also about IDLE in them. As for the build failing, it shouldn't. If it does, it is a bug. That said, I recall that if enabled, IDLE timeout must be kept fairly low, less than 30 minutes or somesuch, or else outcrook croaks. The archives will have more info. > > Get people using crap like outlook to use pop3, their clients are not good > > enough for anything else anyway. > > This is unfortunate, especially since we just performed a mass-migration > From POP3 to IMAP. I was exaggerating a bit, but the sad truth is that Outlook and friends are among the worst IMAP clients you will find (due to quirks and bugs in their IMAP code). There are others in this list with extensive Outlook support experience, they can tell you what is needed to get those things to work reasonably well with Cyrus. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Slow delivery to Outlook 2k/2k3
On Thu, 02 Feb 2006 20:43:04 -0500 Jorey Bump <[EMAIL PROTECTED]> wrote: > Anthony Chavez wrote: > >> Nevertheless, either Cyrus still doesn't recognize that the mail has >> been received (even though Postfix logs that it has been passed to >> Cyrus) or there is an issue with Outlook that prevents the recipient >> From seeing the message for a variable amount of time---I'd say about 5 >> minutes on average, though sometimes it takes hours. > > It's easy enough to monitor a mailbox to see if new messages are being > delivered. Okay, besides tcpdump (which really isn't an option in this case because all of my users are using imap over TLS), what do I have at my disposal? I had the following configured in /etc/syslog.conf: !imapd local6.=info/var/log/maillog I like to keep it at this level to keep the noise down in maillog. I changed the line to "*.* /var/log/maillog", SIGHUP'ed, and sent a test email. The logs that were generated by Cyrus in this new configuration did little more for me than confirm that the logs generated by postfix/lmtp framed the entire conversation between it and lmtpd and that if postfix/lmtp logs "250 2.1.5 Ok," then I can rest assured that the message has been recorded in Cyrus' mail store. I guess there really isn't much else to ask for, but I'd still be interested to know if there is anything else relevant that might be of assistance. > Also, you don't mention any other clients -- what happens with > Thunderbird, for example? I will be deploying a Webmail server (Horde) for this client in the very near future. Based on the responses I've received in this thread thus far, I'm not anticipating any problems. >> This problem trickled in slowly, but have become increasingly worse, to >> the point that many of my users are using Yahoo mail because our mail >> server is "unreliable." As such, I'm *EXTREMELY* interested in fixing >> this problem. > > I have seen such problems occur when Outlook is left running for long > periods of time. Believe it or not, a complete reboot of Windows is > often necessary. Simply restarting Outlook is not always sufficient. I seem to recall reading about some issue with Outlook throwing a temper tantrum when it can't get its way. I don't remember the exact details, but it seems like the end result of which is that it floods the server with multiple connection attempts (or something similar), which bogs down performance on the server to the point of affecting every user on the network. Can anyone confirm this? -- Anthony Chavez http://anthonychavez.org/ mailto:[EMAIL PROTECTED] jabber:[EMAIL PROTECTED] pgp9oWLijpEXf.pgp Description: PGP signature Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Slow delivery to Outlook 2k/2k3
On Fri, 3 Feb 2006 00:47:52 -0200 Henrique de Moraes Holschuh <[EMAIL PROTECTED]> wrote: > On Thu, 02 Feb 2006, Anthony Chavez wrote: >> Nevertheless, either Cyrus still doesn't recognize that the mail has >> been received (even though Postfix logs that it has been passed to > > Disable IDLE support in Cyrus. Does that fix the issue? I seem to remember having problems when IDLE was not enabled. I don't remember the details, but it seems like Outlook requires it or the build fails or something like that. Sound familiar at all? >> This problem trickled in slowly, but have become increasingly worse, to >> the point that many of my users are using Yahoo mail because our mail >> server is "unreliable." As such, I'm *EXTREMELY* interested in fixing >> this problem. > > Get people using crap like outlook to use pop3, their clients are not good > enough for anything else anyway. This is unfortunate, especially since we just performed a mass-migration From POP3 to IMAP. -- Anthony Chavez http://anthonychavez.org/ mailto:[EMAIL PROTECTED] jabber:[EMAIL PROTECTED] pgps1qFNtPKf2.pgp Description: PGP signature Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Slow delivery to Outlook 2k/2k3
> I have seen such problems occur when Outlook is left running for long > periods of time. Believe it or not, a complete reboot of Windows is > often necessary. Simply restarting Outlook is not always sufficient. I'll second that rather grim pronouncement. Outlook's IMAP handling is DEFECTIVE. It really cannot reliably stay connected to an IMAP server. It's been broken in all versions but 2003 seems to be the MOST defective. It plainly just doesn't work. I have seem it require a complete reboot of the PC to free it up. If you use an IMAP server don't depend on getting Outlook to work with it. Now, Outlook Express? That works, quite handily. -Bill Kearney Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Slow delivery to Outlook 2k/2k3
On Thu, 02 Feb 2006, Anthony Chavez wrote: > Nevertheless, either Cyrus still doesn't recognize that the mail has > been received (even though Postfix logs that it has been passed to Disable IDLE support in Cyrus. Does that fix the issue? > This problem trickled in slowly, but have become increasingly worse, to > the point that many of my users are using Yahoo mail because our mail > server is "unreliable." As such, I'm *EXTREMELY* interested in fixing > this problem. Get people using crap like outlook to use pop3, their clients are not good enough for anything else anyway. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Slow delivery to Outlook 2k/2k3
Anthony Chavez wrote: Nevertheless, either Cyrus still doesn't recognize that the mail has been received (even though Postfix logs that it has been passed to Cyrus) or there is an issue with Outlook that prevents the recipient From seeing the message for a variable amount of time---I'd say about 5 minutes on average, though sometimes it takes hours. It's easy enough to monitor a mailbox to see if new messages are being delivered. Also, you don't mention any other clients -- what happens with Thunderbird, for example? This problem trickled in slowly, but have become increasingly worse, to the point that many of my users are using Yahoo mail because our mail server is "unreliable." As such, I'm *EXTREMELY* interested in fixing this problem. I have seen such problems occur when Outlook is left running for long periods of time. Believe it or not, a complete reboot of Windows is often necessary. Simply restarting Outlook is not always sufficient. Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: SpamAssassin help not learning
On Thursday 02 February 2006 22.39, Benjamin Adams wrote: > I'm running spamassassin on Mac OS X tiger > I created a mail account for for everyone to send their spam to be > submitted. > Then I created a script that would run: > > "su cyrusimap -c 'sa-learn -spam nameusername/*.' " > > This seamed to work but now I don't think its working > > I want to lower my hits required to 3.5 > I tried changing /var/mail/spamassassin/local.cf > > required_hits 3 > > But the mail coming in still says required 5, is this the wrong file? > Do I have to restart something? > > anyone have a other ideas to stop spam I'm getting slammed with it. > > Thanks for any help > Ben > > Cyrus Home Page: http://asg.web.cmu.edu/cyrus > Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html Run with "-D" for debug. Then you will see all the config files etc it reads so you can detect if /var/mail/spamassassin/local.cf is read at all. /Per-Olov Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Slow delivery to Outlook 2k/2k3
Hello, info-cyrus! My users are encountering a rather interesting phenomenon when using Outlook with Cyrus imapd 2.2.12 on FreeBSD 5.4-RELEASE-p4. The majority of these users are using 2003, but a handful use 2000. First of all, when mail is being delievered to their accounts in Postfix, the mail is passed through AMaViS to SpamAssassin and ClamAV then immediately on to Cyrus. As expected, this typically transpires over the course of 1 to 2 seconds for the average email without an attachment. Nevertheless, either Cyrus still doesn't recognize that the mail has been received (even though Postfix logs that it has been passed to Cyrus) or there is an issue with Outlook that prevents the recipient From seeing the message for a variable amount of time---I'd say about 5 minutes on average, though sometimes it takes hours. This problem trickled in slowly, but have become increasingly worse, to the point that many of my users are using Yahoo mail because our mail server is "unreliable." As such, I'm *EXTREMELY* interested in fixing this problem. I would appreciate knowing if anyone knows of a fix for this issue or of any tools / methods that I could use to debug this issue. Below are my cyrus.conf and imapd.conf files. Thanks! -- Anthony Chavez http://anthonychavez.org/ mailto:[EMAIL PROTECTED] jabber:[EMAIL PROTECTED] --8<---cut here---start->8--- # standard standalone server implementation START { # do not delete this entry! recover cmd="ctl_cyrusdb -r" # this is only necessary if using idled for IMAP IDLE idled cmd="idled" } # UNIX sockets start with a slash and are put into /var/imap/socket SERVICES { # add or remove based on preferences imap cmd="imapd" listen="localhost:imap" prefork=0 imaps cmd="imapd -s" listen="localhost:imaps" prefork=0 imaps cmd="imapd -s" listen="ext.imap.ip.1:imaps" prefork=0 imaps cmd="imapd -s" listen="ext.imap.ip.2:imaps" prefork=0 imaps cmd="imapd -s" listen="int.imap.ip.1:imaps" prefork=0 ### pop3 cmd="pop3d" listen="pop3" prefork=0 ### pop3s cmd="pop3d -s" listen="pop3s" prefork=0 ### sieve cmd="timsieved" listen="sieve" prefork=0 # these are only necessary if receiving/exporting usenet via NNTP # nntp cmd="nntpd" listen="nntp" prefork=0 # nntpscmd="nntpd -s" listen="nntps" prefork=0 # at least one LMTP is required for delivery # lmtp cmd="lmtpd" listen="lmtp" prefork=0 lmtpunix cmd="lmtpd" listen="/usr/local/var/imap/socket/lmtp" prefork=0 # this is only necessary if using notifications # notify cmd="notifyd" listen="/var/imap/socket/notify" proto="udp" prefork=1 } EVENTS { # this is required checkpointcmd="ctl_cyrusdb -c" period=30 # this is only necessary if using duplicate delivery suppression, # Sieve or NNTP delprune cmd="cyr_expire -E 3" at=0400 # this is only necessary if caching TLS sessions tlsprune cmd="tls_prune" at=0400 squatter cmd="squatter -r user" period 1440 } --8<---cut here---end--->8--- --8<---cut here---start->8--- # # $FreeBSD: ports/mail/cyrus-imapd22/files/imapd.conf,v 1.13 2004/11/22 08:15:15 ume Exp $ # # Sample configurations file for Cyrus IMAPd # Most lines in this file are commented; in this case the default is used. # The commented lines (usually) contain the default value # The pathname of the IMAP configuration directory # configdirectory: /usr/local/var/imap # The partition name used by default for new mailboxes # #defaultpartition: default # The directory for the different partitions # partition-default: /usr/local/var/spool/imap # Use the UNIX separator character '/' for delimiting levels of # mailbox hierarchy. The default is to use the netnews separator # character '.'. #unixhierarchysep: no # Use the alternate IMAP namespace, where personal folders reside at # the same level in the hierarchy as INBOX. # #altnamespace: no # If using the alternate IMAP namespace, the prefix for the other # users namespace. The hierarchy delimiter will be automatically # appended. # #userprefix: Other Users # If using the alternate IMAP namespace, the prefix for the shared # namespace. The hierarchy delimiter will be automatically appended. # #sharedprefix: Shared Folders # The umask value used by various Cyrus IMAP programs # #umask: 077 # This is the hostname visible in the greeting messages of the POP, # IMAP and LMTP daemons. If it is unset, then the result returned from # gethostname(2) is used. # servername: mail.mydomain.com # Whether to allow anonymous logins # allowanonymouslogin: no # Allow the use of cleartext passwords on the wire. # #allowplaintext: yes # The percent of quota utilization over which the server generates # warnings. # #quotawarn: 90 #
Re: SpamAssassin help not learning
Benjamin Adams wrote: I'm running spamassassin on Mac OS X tiger I created a mail account for for everyone to send their spam to be submitted. Then I created a script that would run: "su cyrusimap -c 'sa-learn -spam nameusername/*.' " This seamed to work but now I don't think its working If you're looking to build a global bayes database, this is probably the wrong approach. It's too high maintenance and gives your users way too much power. If you want to let users interact, you may also want to look at dspam. I run SpammAssassin in a postfix content filter (I use a before-queue content filter, but high volume sites should use an after-queue content filter). SA will prime the bayes database with its excellent builtin rules. It will kick in when it's reached a suitable number of tokens, so don't try to rush it. The only cron job I run is sa-learn --force-expire once a day offpeak, because opportunistic token expiration is a performance killer (set bayes_auto_expire 0 in local.cf). Once in a while, I'll run sa-learn on a small corpus of spam I've collected myself. I want to lower my hits required to 3.5 Don't do that. In most cases, SA knows best. Monitor the rules that kick in, and if you think that some contribute too many or too few points, adjust them in local.cf: # increase default score score DRUGS_ERECTILE_OBFU 2 # decrease default score score MISSING_SUBJECT 0.5 I only have a handful of these. Setting it too low will mark way too many messages as spam. I use a two-tiered approach, and quarantine or deliver scores between 5 and 7, but REJECT (not bounce) messages with scores of 7 or more. YMMV. Note that rejection is only possible before delivery (as with a postfix before-queue content filter, or a sendmail milter). I tried changing /var/mail/spamassassin/local.cf required_hits 3 But the mail coming in still says required 5, is this the wrong file? Do I have to restart something? It's required_score. For more info, run this command: perldoc Mail::SpamAssassin::Conf anyone have a other ideas to stop spam I'm getting slammed with it. There are many good ideas for stopping spam. But you should do it at the MTA level, not after delivery to your mailbox. A good start would be to learn about DNSBLs, and be sure to accept mail for valid users, only. If you're using OS X, you're probably running postfix, which has many excellent anti-UCE features. Here's an example restriction list from /etc/postfix/main.cf (I don't know if it's in the same location on the Mac) that will block a lot of spam (even more can be accomplished with content filters and access maps): smtpd_recipient_restrictions = reject_non_fqdn_sender reject_unlisted_sender reject_unknown_sender_domain reject_unknown_recipient_domain reject_unlisted_recipient permit_sasl_authenticated permit_mynetworks reject_unauth_destination reject_rbl_client sbl-xbl.spamhaus.org reject_rbl_client combined.njabl.org reject_rbl_client list.dsbl.org There are other DNSBLs that are more aggressive, greylisting, and sender address verification. All have good and bad points, so study the documentation well. Running an MTA is very complex. It's also a *little* off-topic, here, so my apologies to the list. Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: cyrus-imapd + dspam
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Benjamin Donnachie wrote: >> so .. what about sendmail+dspam+cyrus ? > That's exactly that I use - when I'm back on site, I'll send you a copy of > my config. In sendmail.mc I have... FEATURE(`preserve_local_plus_detail')dnl define(`LUSER_RELAY', `error:nouser User unknown')dnl MAILER(local)dnl MAILER_DEFINITIONS ## New mailer specs Mlocal, P=/usr/local/bin/dspam, F=1ulsDFMnPqAh5@/:|, U=cyrus:mail, S=EnvFromL, R=EnvToL/HdrToL, T=DNS/DNS/RFC822/X-Unix, A=dspam --deliver=innocent --user $u -e -m $h -- $u dspam uses LMTP delivery and contains the following: DeliveryHost/var/imap/socket/lmtp DeliveryPort24 DeliveryIdent localhost DeliveryProto LMTP EnablePlusedDetail on Cyrus is set to accept messages over lmtp and cyrus.conf contains: lmtpunix cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0 Alternatively, you could just as easily set dspam to use deliver - however, it wouldn't initially work properly for me so I opted for LMTP delivery instead. Hope this helps! Take care, Ben -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQIVAwUBQ+KHvegNmph0Y1E2AQIiXg//bBljLzSNdZcYSikpPjvhQkmlBwT47g0y RvyLKOwZOU5ysln90kav7K/7tjmkiUG0EJQm72Lrol36PCfIcemHDO+TrhbewlXP 4HkoJ6E8d8VhGvncI/eMXWiGlQOkiRvMzKJJ3uNMvvwxeAGlO5Zu3+04MLrUAw7q EUPiY5wy97Ecu/gX1p6QBzHsr1bMQA9qrSDHfiMk8uzjV9oceP1in8jgzD9RagF4 IqqN4f3e3MdefVDuZFa9OGtjfk3V2y0GoxwEyxbJETY1RYVzId6TGIwlFqdJJ0YC e/2yVO3Wmrm1wj9TDn4QIYn6ILbu/poArxggVgF9Jda+TG7L1/e36gBMtfE86HuR wcx860pa6YByEDs0/vS1urCTShxKck/uuXC28f9sWzGYk4RxlTS7kEOMxwKV4c7X /RA/Z1RgeI1cdbmCi65wNhrO/qkC7SKOQdKP6H6KHn7L4bF8d4P6DSbT0Pif7xhA u5rHCQ9yUmusxABgFdJakDAz9Npt54qbQulbpIVfoEv1fOfopL0QTW9wUu5UAbhQ PDlxs7MgrX7jgIDzLzCmuh9JNoZh848QkW3tTk0iJ4YRDmPq8J9KiP0paEW+5ccq xxSy4sK50wj/IA/jrsCXSM2ftFO5+OQGnE3CIOCDCGahrXbi7BHKUKEMpOD5VeGQ kCCL2HeAskI= =YsWh -END PGP SIGNATURE- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: SpamAssassin help not learning
Other thing is it just learning on the cyrusimap account? On Feb 2, 2006, at 4:39 PM, Benjamin Adams wrote: I'm running spamassassin on Mac OS X tiger I created a mail account for for everyone to send their spam to be submitted. Then I created a script that would run: "su cyrusimap -c 'sa-learn -spam nameusername/*.' " This seamed to work but now I don't think its working I want to lower my hits required to 3.5 I tried changing /var/mail/spamassassin/local.cf required_hits 3 But the mail coming in still says required 5, is this the wrong file? Do I have to restart something? anyone have a other ideas to stop spam I'm getting slammed with it. Thanks for any help Ben Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: 2.3.1 replication and deliver problem
Vincent Deffontaines wrote: Greetings, I am experimenting problems quite similar to those of Dmitry. I had the same TLS setup problem, now fixed. If interest is raised I can patch the replication documentation so that other users will get it straightforward. Any additions/clarifications to the documentation are always welcome. -- Kenneth Murchison Project Cyrus Developer/Maintainer Carnegie Mellon University Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
SpamAssassin help not learning
I'm running spamassassin on Mac OS X tiger I created a mail account for for everyone to send their spam to be submitted. Then I created a script that would run: "su cyrusimap -c 'sa-learn -spam nameusername/*.' " This seamed to work but now I don't think its working I want to lower my hits required to 3.5 I tried changing /var/mail/spamassassin/local.cf required_hits 3 But the mail coming in still says required 5, is this the wrong file? Do I have to restart something? anyone have a other ideas to stop spam I'm getting slammed with it. Thanks for any help Ben Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: cyrus email server in HA SAN configuration
On Thu, 2006-02-02 at 13:01 -0800, Chad A. Prey wrote: > I am about to realize my dream of having a cyrus email server with Fibre > Channel SAN storage. Could any of you out the that's got one of these > beasts RUNNING IN PRODUCTION tell me your setup and overall results? > > I am thinking about starting off with two cyrus frontends, in an active > passive failover using drb. However, I would much rather use multiple > frontend boxes behind a load balancer in a n+ active active > configuration. what's your time line? replication at application level would be best, but the 2.3 series is quite young. we have an old installation, so we're using LVS (2 directors in active/active) in front of Perdition (2 frontends) in front of 16 Cyrus instances running on three nodes sharing a SAN. the cluster software handling the three nodes is HP ServiceGuard. these days, Murder is the way to go, IMHO. but I don't have production experience with it myself. -- Kjetil T. Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: lmtpd dropping mail in wrong mailbox
> At the moment, I'm actually investigating what another subscriber mentioned -- > loss of sync on the socket as Postfix sends the message. To resolve this, > I've > turned off its lmtp connection cache. I won't know if this is actually a > sufficient fix for probably another week or so since the problem was so > random. Well it's been a couple of weeks here and the problem has apparently not gone away. In this case, "odduser" receives mail intended for "recipient" sent from "sender." Log entries: Jan 19 14:31:56 postal-b postfix/smtpd[26728]: connect from unknown[168.91.5.15] Jan 19 14:31:56 postal-b postfix/smtpd[26728]: BB3BD92B9: client=unknown[168.91.5 .15] Jan 19 14:31:56 postal-b postfix/cleanup[5763]: BB3BD92B9: message-id= Jan 19 14:31:56 postal-b postfix/qmgr[26568]: BB3BD92B9: from=<[EMAIL PROTECTED] du>, size=6396, nrcpt=2 (queue active) Jan 19 14:32:02 postal-b postfix/smtp[4457]: BB3BD92B9: to=<[EMAIL PROTECTED] du>, relay=127.0.0.1[127.0.0.1], delay=6, status=sent (250 2.6.0 Ok, id=05631-02, from MTA([127.0.0.1]:10025): 250 Ok: queued as 3D18992FA) Jan 19 14:32:02 postal-b amavis[5631]: (05631-02) Passed CLEAN, [168.91.5.15] <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>>, Message-ID: <[EMAIL PROTECTED]> , mail_id: OUokavILZ-XV, Hits: -104.249, 5497 ms Jan 19 14:32:02 postal-b postfix/smtp[4457]: BB3BD92B9: to=<[EMAIL PROTECTED]>, relay=127.0.0.1[127.0.0.1], delay=6, status=sent (250 2.6.0 Ok, id=056 31-02, from MTA([127.0.0.1]:10025): 250 Ok: queued as 3D18992FA) Jan 19 14:32:02 postal-b postfix/qmgr[26568]: BB3BD92B9: removed Jan 19 14:32:02 postal-b postfix/lmtp[30514]: 3D18992FA: to=<[EMAIL PROTECTED] edu>, relay=/var/imap/socket/lmtp[/var/imap/socket/lmtp], delay=0, status=sent (2 50 2.1.5 Ok) (The MTA on 127.0.0.1 is amavisd-new.) So [EMAIL PROTECTED] gets the message on LMTP but it ends up in odduser's mailbox: Return-Path: <[EMAIL PROTECTED]> Received: from postal.ivytech.edu ([unix socket]) by postal-b (Cyrus v2.2.12) with LMTPA; Thu, 19 Jan 2006 14:32:02 -0500 X-Sieve: CMU Sieve 2.2 Received: from localhost (localhost.localdomain [127.0.0.1]) by postal.ivytech.edu (Postfix) with ESMTP id 3D18992FA; Thu, 19 Jan 2006 14:32:02 -0500 (EST) Received: from postal.ivytech.edu ([127.0.0.1]) by localhost (postal.ivytech.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05631-02; Thu, 19 Jan 2006 14:31:56 -0500 (EST) Received: from frack.centraloffice.ad.ivytech.edu (unknown [168.91.5.15]) by postal.ivytech.edu (Postfix) with SMTP id BB3BD92B9; Thu, 19 Jan 2006 14:31:56 -0500 (EST) Received: from lafxchng.laf.ad.ivytech.edu ([172.18.247.233]) by frack.centralof Thu, 19 Jan 2006 14:31:01 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="_=_NextPart_001_01C61D2E.FF911317" Subject: CIS 102 Internet Class: NOTICE Date: Thu, 19 Jan 2006 14:31:51 -0500 Message-ID: <[EMAIL PROTECTED]> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: CIS 102 Internet Class: NOTICE Thread-Index: AcYdLwDZrDpYZYnKTTKWWKwROqLGpg== From: "Sender" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> X-OriginalArrivalTime: 19 Jan 2006 19:31:01.0272 (UTC) FILETIME=[E1540980:01C61D X-Virus-Scanned: amavisd-new at postal.ivytech.edu (We're talking postfix-2.1.5 with "lmtp_cache_connection = no", cyrus 2.2.12) How can this be? Is there any way to find out what lmtpd's doing with the transaction? Thanks, John -- John Madden Sr. UNIX Systems Engineer Ivy Tech Community College of Indiana [EMAIL PROTECTED] Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
cyrus email server in HA SAN configuration
All, I am about to realize my dream of having a cyrus email server with Fibre Channel SAN storage. Could any of you out the that's got one of these beasts RUNNING IN PRODUCTION tell me your setup and overall results? I am thinking about starting off with two cyrus frontends, in an active passive failover using drb. However, I would much rather use multiple frontend boxes behind a load balancer in a n+ active active configuration. Chad Prey -- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Re[2]: cyrus-imapd + dspam
maxxik <[EMAIL PROTECTED]> wrote: >so .. what about sendmail+dspam+cyrus ? That's exactly that I use - when I'm back on site, I'll send you a copy of my config. -- Benjamin [EMAIL PROTECTED] Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: (no subject)
I have the same problem with two users. Looks like it happen when we changed the mail server setup so it would work with apple. I would also like to know the answer to this problem. Thanks Ben On Feb 2, 2006, at 11:31 AM, Perry Smith wrote: Hi, I'm new to this list and new to Cyrus. I have a problem on a Mac OS X 10.4.4 Server. The problem may be due to something that Apple has added but I've been unable to get help from any of the Apple forums. It may be that someone on this list can figure out the problem but more than likely, if someone on this list can give me a debugging approach, I think that may help a great deal. The problem seems simple: I get IOERROR's unexpected end of file. I also get SQUAT failed to open index file (and just SQUAT failed). I have tried reconstruct -r user/pedz several times. I've tried deleting via the mail client the mail box. I *think* it is always the "Deleted Messages" mail box that gets clobbered but I'm not sure. Some of the IOERROR end of file messages come when it appears that IMAP is looking through the user settings. Apple has things so that "reconstruct -m" does not work (its not supported -- it just replies back immediately with a not supported message. I've also tried blowing away /var/imap and doing the mkimap. I am doing the reconstruct and the mkimap as cyrusimap (Apples cyrus/ imap user). This is a fresh install of Mac OS X 10.4.4. I've tried reinstalling and the problem keeps happening. Note: I also get errors from sieve not being able to find files but I am assuming that is not a major problem and (I'm assuming) not connected to this problem. I mention it just in case it is important. ANY HELP... would be much much appreciated. Thank you, Perry Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
(no subject)
Hi, I'm new to this list and new to Cyrus. I have a problem on a Mac OS X 10.4.4 Server. The problem may be due to something that Apple has added but I've been unable to get help from any of the Apple forums. It may be that someone on this list can figure out the problem but more than likely, if someone on this list can give me a debugging approach, I think that may help a great deal. The problem seems simple: I get IOERROR's unexpected end of file. I also get SQUAT failed to open index file (and just SQUAT failed). I have tried reconstruct -r user/pedz several times. I've tried deleting via the mail client the mail box. I *think* it is always the "Deleted Messages" mail box that gets clobbered but I'm not sure. Some of the IOERROR end of file messages come when it appears that IMAP is looking through the user settings. Apple has things so that "reconstruct -m" does not work (its not supported -- it just replies back immediately with a not supported message. I've also tried blowing away /var/imap and doing the mkimap. I am doing the reconstruct and the mkimap as cyrusimap (Apples cyrus/imap user). This is a fresh install of Mac OS X 10.4.4. I've tried reinstalling and the problem keeps happening. Note: I also get errors from sieve not being able to find files but I am assuming that is not a major problem and (I'm assuming) not connected to this problem. I mention it just in case it is important. ANY HELP... would be much much appreciated. Thank you, Perry Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: delivering to over-quota users based on sender
"Paul Haldane" <[EMAIL PROTECTED]> writes: > > -Original Message- > > From: Kjetil Torgrim Homme > > > > On Thu, 2006-01-26 at 14:19 +, Paul Haldane wrote: > > > We're running a couple of largish cyrus (2.x) imap servers (with > > > sendmail). Our admin people have come up with a request to > > > be able to > > > deliver messages (from certain email addresses) to people who have > > > reached their mailbox quota. > ... > > > we do this with Exim, so I can't offer help with the Sendmail > > definitions. for messages which qualify, we use a special mailer > > ("transport" in Exim terminology) which invokes "deliver -q". normal > > delivery happens with LMTP. it is possible to do this > > directly in LMTP > > (that's what deliver(8) does), but Exim doesn't support sending the > > required parameter ("IGNOREQUOTA") in the RCPT TO command. although > > deliver(8) isn't as reliable as direct LMTP, the volume of such > > exceptional messages should be so low it doesn't matter much. > > > Thanks. I asked the same question in comp.mail.sendmail and got a reference > to > > http://anfi.homeunix.net/sendmail/smarttab.html > > as a way of routing messages based on sender in sendmail. > > However after some further discussion with colleagues we decided not > to implement any of this at the moment. Main justification is that a > large chunk of our user community has their mail delivered to an > Exchange server and the Exchange admins say that there's no way for > them to force delivery there. > > We'll probably revisit this in the future and look at moving to Exim > (since we want to do that anyway). Have you considered using some script for sending the messages directly? [without MTA help, e.g. using "deliver -q ..." ] -- Andrzej Adam Filip : [EMAIL PROTECTED] : [EMAIL PROTECTED] http://anfi.homeunix.net/ Netcraft Site Rank: 523927 They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin, Historical Review of Pennsylvania, 1759 Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: imapd & sieve: mail moved into date-name-folders
On Wed, 2006-02-01 at 17:28 +0100, Miro Dietiker, MD Systems wrote: > Is there a simple way to script the deletion of mails in this box older > than 2month or so? ipurge can do this, from our cyrus.conf: purgespam cmd="ipurge -X -d 14 -f user.%.spam" at=0200 purgetrashcmd="ipurge -X -d 28 -f user.%.Trash" at=0230 > Second: I would appreciate to have folders in this mailbox which > represent a single day. As an option, this folder may be created moving > "todays mails" with a cron job in this adhoc-created folder... > First I took sieve trying to find a way to implement realtime-movement > based on incoming-date to this autocreate-folder. As I see, sieve is not > capable doing that due to several restrictions! in Cyrus, fileinto a new folder will not create the folder automatically unless you add the unofficial autosievefolder patch. (the Sieve standard is silent on this issue, so some implementations will create new folders automatically, while others won't.) to actually generate the correct folder name during delivery, you would need the "variables" extension, and possibly the date-index extension (http://bgp.potaroo.net/ietf/idref/draft-freed-sieve-date-index/) neither of which have been implemented in Cyrus. -- Kjetil T. Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: delivering to over-quota users based on sender
On Thu, 2 Feb 2006, Kjetil Torgrim Homme wrote: > From: Kjetil Torgrim Homme <[EMAIL PROTECTED]> > To: Paul Haldane <[EMAIL PROTECTED]> > Cc: info-cyrus@lists.andrew.cmu.edu > Date: Thu, 02 Feb 2006 14:38:20 +0100 > Subject: Re: delivering to over-quota users based on sender > ... > we do this with Exim, so I can't offer help with the Sendmail > definitions. for messages which qualify, we use a special mailer > ("transport" in Exim terminology) which invokes "deliver -q". > normal delivery happens with LMTP. it is possible to do this > directly in LMTP (that's what deliver(8) does), but Exim doesn't > support sending the required parameter ("IGNOREQUOTA") in the > RCPT TO command. although deliver(8) isn't as reliable as direct > LMTP, the volume of such exceptional messages should be so low it > doesn't matter much. exim-4.60 comes with support for IGNOREQUOTA on the lmtp transport. So you should be able to write a transport of the form: cyrus_ltmp_ignore_quota: driver = smtp protocol = lmtp hosts = LOOPBACK lmtp_ignore_quota = true hosts_override = true allow_localhost = true to deliver to an lmtp daemon listening on the loopback address. I've not really tried this, but doesn't it work? -- Dennis Davis, BUCS, University of Bath, Bath, BA2 7AY, UK [EMAIL PROTECTED] Phone: +44 1225 386101 Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: Backup using lvm snapshot on linux
On Tue, 2006-01-31 at 10:36 +1030, Daniel O'Connor wrote: > On Tuesday 31 January 2006 09:47, Timo Veith wrote: > > Which way would you recommend for copying: rsync, tar, cp or whatever? I > > am concerned about the databases that cyrus uses. Will they they be > > consistent afterwards. Is there anything I have to be aware of or do > > before? I don't want to break things just because I am trying to do a > > backup. > > The DB's should always be consistent on disk, so if you do a snapshot then > you > can back it up however you like. to pick a nit: you won't see dataloss, but the DB may need recovery. since LVM snapshots are at the block layer, and DB consistency is only guaranteed after a filesystem flush initiated by the userspace process, there may be structures which are incompletely written on the block layer. -- Kjetil T. Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
RE: delivering to over-quota users based on sender
> -Original Message- > From: Kjetil Torgrim Homme > > On Thu, 2006-01-26 at 14:19 +, Paul Haldane wrote: > > We're running a couple of largish cyrus (2.x) imap servers (with > > sendmail). Our admin people have come up with a request to > > be able to > > deliver messages (from certain email addresses) to people who have > > reached their mailbox quota. ... > we do this with Exim, so I can't offer help with the Sendmail > definitions. for messages which qualify, we use a special mailer > ("transport" in Exim terminology) which invokes "deliver -q". normal > delivery happens with LMTP. it is possible to do this > directly in LMTP > (that's what deliver(8) does), but Exim doesn't support sending the > required parameter ("IGNOREQUOTA") in the RCPT TO command. although > deliver(8) isn't as reliable as direct LMTP, the volume of such > exceptional messages should be so low it doesn't matter much. Thanks. I asked the same question in comp.mail.sendmail and got a reference to http://anfi.homeunix.net/sendmail/smarttab.html as a way of routing messages based on sender in sendmail. However after some further discussion with colleagues we decided not to implement any of this at the moment. Main justification is that a large chunk of our user community has their mail delivered to an Exchange server and the Exchange admins say that there's no way for them to force delivery there. We'll probably revisit this in the future and look at moving to Exim (since we want to do that anyway). Paul Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: delivering to over-quota users based on sender
On Thu, 2006-01-26 at 14:19 +, Paul Haldane wrote: > We're running a couple of largish cyrus (2.x) imap servers (with > sendmail). Our admin people have come up with a request to be able to > deliver messages (from certain email addresses) to people who have > reached their mailbox quota. We already do this for some > administrative messages from the Cyrus servers themselves (using > deliver -q) but would like ot be able to do this with messages > generated outside the cyrus servers. > > I'm assuming that we need to do something like creating a new mailer > definition in sendmail and then routing stuff through that based on > the sender address. However I've not been able to find anything about > doing the second bit of that either in the sendmail or cyrus docs and > thought that someone here is likely to have done this already. > > Also would I need to use 'deliver -q' in the new mailer definition. > Our current cyrus mailer definition uses LMTP to a socket but I don't > see a way to add arbitrary options to the RCPT commands (I've had a > pretty good trawl through the sendmail source but I may well have > missed something obvious) we do this with Exim, so I can't offer help with the Sendmail definitions. for messages which qualify, we use a special mailer ("transport" in Exim terminology) which invokes "deliver -q". normal delivery happens with LMTP. it is possible to do this directly in LMTP (that's what deliver(8) does), but Exim doesn't support sending the required parameter ("IGNOREQUOTA") in the RCPT TO command. although deliver(8) isn't as reliable as direct LMTP, the volume of such exceptional messages should be so low it doesn't matter much. btw, we base the decision on the Reply-To-header, which means all support personell who set Reply-To to the support address will be allowed to send these kinds of messages. it is of course open to abuse (all such methods are, really), but it shouldn't be a problem in practice. -- Kjetil T. Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: 2.3.1 replication and deliver problem
Actually, my permission problem must be different from Dmitry's problem. I just tried running sync_client by hand and it quits : $/usr/cyrus/bin/sync_client -v -u username Error from send_lock(): bailing out! Syslog says : sync_client[21692]: starttls: TLSv1 with cipher AES256-SHA (256/256 bits new) no authentication sync_client[21692]: LOCK received NO response: Permission denied Is the "no authentication" a problem? I would think not, as the replica's syslog says : syncserver[13455]: login: master [10.1.32.141] cyrus-admin PLAIN+TLS User logged in But then, I don't know what the permission problem is... Thanks, Vincent Vincent Deffontaines wrote: Greetings, I am experimenting problems quite similar to those of Dmitry. I had the same TLS setup problem, now fixed. If interest is raised I can patch the replication documentation so that other users will get it straightforward. Now, here is what I get in my syslogs : o Master server : Feb 2 09:25:25 master sync_client[25787]: Doing a peer verify Feb 2 09:25:25 master sync_client[25787]: Doing a peer verify Feb 2 09:25:25 master sync_client[25787]: received server certificate Feb 2 09:25:25 master sync_client[25787]: starttls: TLSv1 with cipher AES256-SHA (256/256 bits new) no authentication [snip] Feb 2 09:35:26 master sync_client[25432]: RESTART received NO response: Permission denied Feb 2 09:35:26 master sync_client[25432]: sync_client RESTART failed That seems to be the last message I get from sync_client. It no longer runs now. o Replica : Feb 2 09:19:49 replica syncserver[26003]: executed Feb 2 09:19:49 replica syncserver[28997]: mystore: starting txn 2147483653 Feb 2 09:19:49 replica syncserver[28997]: mystore: committing txn 2147483653 Feb 2 09:19:49 replica syncserver[28997]: starttls: TLSv1 with cipher AES256-SHA (256/256 bits new) no authentication Feb 2 09:19:49 replica syncserver[28997]: login: master [10.1.32.141] cyrus-admin PLAIN+TLS User logged in Feb 2 09:24:46 replica syncserver[26003]: accepted connection Feb 2 09:24:46 replica syncserver[26003]: cmdloop(): startup Feb 2 09:24:47 replica syncserver[26003]: mystore: starting txn 2147483656 Feb 2 09:24:47 replica syncserver[26003]: mystore: committing txn 2147483656 Feb 2 09:24:47 replica syncserver[26003]: starttls: TLSv1 with cipher AES256-SHA (256/256 bits new) no authentication Feb 2 09:24:47 replica syncserver[26003]: login: master [10.1.32.141] cyrus-admin PLAIN+TLS User logged in So, I suppose the problem is about the "permission denied" raised on the master log? I have "admin: cyrus-admin" on both imapd.confs. I have attached a strace on the sync_client process. It raises many repetitive : ## BEGIN WHILE(1) time(NULL) = 1138871181 stat64("/var/lib/cyrus/sync/log", 0xbf983fac) = -1 ENOENT (No such file or directory) rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 nanosleep({1, 0}, {1, 0}) = 0 ##END WHILE(1) then after a dozens of minutes : time(NULL) = 1138871669 write(5, "\27\3\1\0 S\16\316\344\226%\225B\332cA\t\367HG\317\222"..., 37) = 37 time(NULL) = 1138871669 read(5, "\27\3\1\", 5) = 5 read(5, "\340\204\255b0t*\350\203\21\2X\223Y\342\342\242\375\331"..., 48) = 48 time([1138871669]) = 1138871669 getpid()= 21510 rt_sigaction(SIGPIPE, {0xb7d04a70, [], SA_RESTORER, 0xb7c58a18}, {SIG_DFL}, 8) = 0 send(6, "<179>Feb 2 10:14:29 sync_client"..., 88, 0) = 88 rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0 time([1138871669]) = 1138871669 getpid()= 21510 rt_sigaction(SIGPIPE, {0xb7d04a70, [], SA_RESTORER, 0xb7c58a18}, {SIG_DFL}, 8) = 0 send(6, "<179>Feb 2 10:14:29 sync_client"..., 67, 0) = 67 rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0 exit_group(1) Any help will be appreciated. Vincent Deffontaines PS : sorry if this is starting a new thread, I am willing to reply to the thread opened by Dmitry, but I just subscribed to the ML. PS2 : in case this matters, I have applied the Athens university autocreate patch on both master and replica. Bash me if this is stupid :) Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re: 2.3.1 replication and deliver problem
Greetings, I am experimenting problems quite similar to those of Dmitry. I had the same TLS setup problem, now fixed. If interest is raised I can patch the replication documentation so that other users will get it straightforward. Now, here is what I get in my syslogs : o Master server : Feb 2 09:25:25 master sync_client[25787]: Doing a peer verify Feb 2 09:25:25 master sync_client[25787]: Doing a peer verify Feb 2 09:25:25 master sync_client[25787]: received server certificate Feb 2 09:25:25 master sync_client[25787]: starttls: TLSv1 with cipher AES256-SHA (256/256 bits new) no authentication [snip] Feb 2 09:35:26 master sync_client[25432]: RESTART received NO response: Permission denied Feb 2 09:35:26 master sync_client[25432]: sync_client RESTART failed That seems to be the last message I get from sync_client. It no longer runs now. o Replica : Feb 2 09:19:49 replica syncserver[26003]: executed Feb 2 09:19:49 replica syncserver[28997]: mystore: starting txn 2147483653 Feb 2 09:19:49 replica syncserver[28997]: mystore: committing txn 2147483653 Feb 2 09:19:49 replica syncserver[28997]: starttls: TLSv1 with cipher AES256-SHA (256/256 bits new) no authentication Feb 2 09:19:49 replica syncserver[28997]: login: master [10.1.32.141] cyrus-admin PLAIN+TLS User logged in Feb 2 09:24:46 replica syncserver[26003]: accepted connection Feb 2 09:24:46 replica syncserver[26003]: cmdloop(): startup Feb 2 09:24:47 replica syncserver[26003]: mystore: starting txn 2147483656 Feb 2 09:24:47 replica syncserver[26003]: mystore: committing txn 2147483656 Feb 2 09:24:47 replica syncserver[26003]: starttls: TLSv1 with cipher AES256-SHA (256/256 bits new) no authentication Feb 2 09:24:47 replica syncserver[26003]: login: master [10.1.32.141] cyrus-admin PLAIN+TLS User logged in So, I suppose the problem is about the "permission denied" raised on the master log? I have "admin: cyrus-admin" on both imapd.confs. I have attached a strace on the sync_client process. It raises many repetitive : ## BEGIN WHILE(1) time(NULL) = 1138871181 stat64("/var/lib/cyrus/sync/log", 0xbf983fac) = -1 ENOENT (No such file or directory) rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 nanosleep({1, 0}, {1, 0}) = 0 ##END WHILE(1) then after a dozens of minutes : time(NULL) = 1138871669 write(5, "\27\3\1\0 S\16\316\344\226%\225B\332cA\t\367HG\317\222"..., 37) = 37 time(NULL) = 1138871669 read(5, "\27\3\1\", 5) = 5 read(5, "\340\204\255b0t*\350\203\21\2X\223Y\342\342\242\375\331"..., 48) = 48 time([1138871669]) = 1138871669 getpid()= 21510 rt_sigaction(SIGPIPE, {0xb7d04a70, [], SA_RESTORER, 0xb7c58a18}, {SIG_DFL}, 8) = 0 send(6, "<179>Feb 2 10:14:29 sync_client"..., 88, 0) = 88 rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0 time([1138871669]) = 1138871669 getpid()= 21510 rt_sigaction(SIGPIPE, {0xb7d04a70, [], SA_RESTORER, 0xb7c58a18}, {SIG_DFL}, 8) = 0 send(6, "<179>Feb 2 10:14:29 sync_client"..., 67, 0) = 67 rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0 exit_group(1) Any help will be appreciated. Vincent Deffontaines PS : sorry if this is starting a new thread, I am willing to reply to the thread opened by Dmitry, but I just subscribed to the ML. PS2 : in case this matters, I have applied the Athens university autocreate patch on both master and replica. Bash me if this is stupid :) Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
Re[2]: cyrus-imapd + dspam
Hello Scott, Wednesday, February 1, 2006, 9:50:10 PM, you wrote: SML> First off I use exim, as my MTA, secondly it was fairly easy I just SML> read the wiki's on how to do it. SML> But if you'd like a copy of my exim.conf and dspam.conf here you go. SML> On Wed, 1 Feb 2006 10:30:05 +0200 SML> maxxik <[EMAIL PROTECTED]> wrote: >> Hello Scott, >> >> Tuesday, January 31, 2006, 4:56:22 PM, you wrote: >> >> SML> On Tue, 31 Jan 2006 10:03:05 +0200 >> SML> maxxik <[EMAIL PROTECTED]> wrote: >> >> >> Hello info-cyrus, >> >> >> >> Does anybody here use this sheaf ? ) >> >> >> SML> yep, works fantastic. >> >> >> >> pls tell me the clue ) how did you use it ? is there any howto ? >> so .. what about sendmail+dspam+cyrus ? -- Best regards, maxxikmailto:[EMAIL PROTECTED] Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html