Re: Aliases and virtual domain hosting
cyrus-mailinglist wrote: > > Hello folks! > > One question! If I have a mailbox created with cyradm how I can make > aliases 4 this mailbox? You've to use your MTA (like sendmail) for mail aliases. In case of sendmail edit /etc/mail/aliases and then run sendmail -bi as root. > > And if I want to host multiple domains with cyrus how this works?? AFAIK multiple domains also have to be handled by your MTA. best regards Wolfgang -- Wolfgang Trexler <[EMAIL PROTECTED]> For completely outdated information see http://members.ping.at/wolfman/
Lot of imapd processes hangin around...
Hi there, I've set up a new mail server (Cyrus 2.0.16) a few weeks ago and it's not working as smooth as I'm accustomed to with Cyrus. From time to time the server stops excepting new imap connections (from different clients) and seems unreachable from outside. We had this situation three times by now. Kill the master process with -TERM and restart it did solve the problem. Unfortunately I was out of office at that times and therefore could not look at the machine as it happend for further investigation. Anyway, examination of the log files did not bring up any clues, nothing seemed extraordinary. What I found is that, despite there is only one user on the machine right now, I've more than 60 imapd instances running. Some of them for a quite long time, since the last restart of the master process (2nd Nov.). It would be nice if you could help me out or give me further tips how to find the problem! The machine is Linux 2.4.10 i686, I compiled the cyrus with: ./configure --prefix=/var/apps/cyrus-imapd --with-cyrus-prefix=/var/apps/cyrus-imapd/server --with-auth=unix --enable-netscapehack --with-cyrus-group=smmsp Enclosed my configuration as well as a snapshot of the process list. best regards Wolfgang -- Wolfgang Trexler <[EMAIL PROTECTED]> For completely outdated information see http://members.ping.at/wolfman/ cyrus.conf: # standard standalone server implementation START { # do not delete these entries! mboxlist cmd="ctl_mboxlist -r" deliver cmd="ctl_deliver -r" # this is only necessary if using idled for IMAP IDLE # idledcmd="idled" } # UNIX sockets start with a slash and are put into /var/apps/imap/sockets SERVICES { # add or remove based on preferences imap cmd="imapd" listen="imap" prefork=10 imaps cmd="imapd -s" listen="imaps" prefork=10 # pop3 cmd="pop3d" listen="pop3" prefork=3 # pop3s cmd="pop3d -s" listen="pop3s" prefork=1 sieve cmd="timsieved" listen="sieve" prefork=3 # at least one LMTP is required for delivery # lmtp cmd="lmtpd" listen="lmtp" prefork=0 lmtpunix cmd="lmtpd" listen="/var/apps/imap/socket/lmtp" prefork=1 } EVENTS { # this is required checkpointcmd="ctl_mboxlist -c" period=30 # this is only necessary if using duplicate delivery suppression delprune cmd="ctl_deliver -E 3" period=1440 } imapd.conf configdirectory: /var/apps/imap partition-default: /var/apps/imap/spool admins: cyrus root srvtab: /var/apps/imap/srvtab allowanonymouslogin: no # sasl_passwd_check: shadow sasl_passwd_check: sasldb sieveusehomedir: false tls_cert_file: /var/apps/imap/server.pem tls_key_file: /var/apps/imap/server.pem sieveusehomedir: false sievedir: /var/apps/imap/sieve sendmail: /usr/sbin/sendmail Process list: cyrus28447 1 0 Nov02 ?00:00:00 /var/apps/cyrus-imapd/server/bin/master cyrus28454 28447 0 Nov02 ?00:00:00 timsieved cyrus28456 28447 0 Nov02 ?00:00:00 imapd cyrus28458 28447 0 Nov02 ?00:00:00 timsieved cyrus28478 28447 0 Nov02 ?00:00:00 timsieved cyrus 6392 28447 0 Nov05 ?00:00:00 imapd cyrus 6466 28447 0 Nov05 ?00:00:00 imapd cyrus 6836 28447 0 Nov05 ?00:00:00 imapd cyrus 7688 28447 0 Nov05 ?00:00:00 imapd cyrus11312 28447 0 Nov06 ?00:00:00 imapd cyrus11359 28447 0 Nov06 ?00:00:00 imapd cyrus11833 28447 0 Nov06 ?00:00:00 imapd cyrus11979 28447 0 Nov06 ?00:00:00 imapd cyrus12177 28447 0 Nov06 ?00:00:00 imapd cyrus12299 28447 0 Nov06 ?00:00:00 imapd cyrus15980 28447 0 Nov07 ?00:00:00 imapd cyrus16309 28447 0 Nov07 ?00:00:00 imapd cyrus17052 28447 0 Nov07 ?00:00:00 imapd cyrus21465 28447 0 Nov07 ?00:00:00 imapd cyrus21985 28447 0 Nov07 ?00:00:00 imapd cyrus24784 28447 0 Nov08 ?00:00:00 imapd cyrus24786 28447 0 Nov08 ?00:00:00 imapd cyrus25416 28447 0 Nov08 ?00:00:00 imapd cyrus25572 28447 0 Nov08 ?00:00:00 imapd cyrus26366 28447 0 Nov08 ?00:00:00 imapd cyrus26550 28447 0 Nov08 ?00:00:00 imapd cyrus27087 28447 0 Nov08 ?00:00:00 imapd cyrus27323 28447 0 Nov08 ?00:00:00 imapd cyrus27873 28447 0 Nov08 ?00:00:00 imapd cyrus29728 28447 0 Nov09 ?00:00:00 imapd cyrus29933 28447 0 Nov09 ?00:00:00 imapd cyrus30411 28447 0 Nov09 ?00:00:00 imapd cyrus30658 28447 0 Nov09 ?00:00:00 imapd cyrus30674 28447 0 Nov09 ?00:00:00 imapd cyrus31046 28447 0 Nov09 ?00:00:00 imapd cyrus32198 28447 0 Nov09
Re: Lot of imapd processes hangin around...
John Wade wrote: > Hi Wolfgang, > > I can't speak to the master hang problem, but the prefork = 10 lines in > your cyrus.conf file tell the master process to always create 20 more imapd > processes than you have active clients.Unless you have an extremely high > load, I doubt you need to prefork ten processes each for imap and imaps. > If you are trying to debug this, you could set prefork to 0 and see if it > makes any difference. Hi John, I'll give it a try and set the prefork for both imap/imaps to 0. I'll have an eye on the number of imap processes... best regards Wolfgang
Re: Authentication problem
Alain Barthelemy wrote: [snip] > > > /etc/imapd: > > configdirectory: /var/imap > partition-default: /var/spool/imap > admins: cyrus > allowanonymouslogin: no > autocreatequota: 1 > reject8bit: no > quotawarn: 90 > timeout: 30 > poptimeout: 10 > dracinterval: 0 > drachost: localhost > sasl_pwcheck_method: pam >>>>> ? > > == > > Where could be the problem? Where to check? I think the problem is that you authenticate against PAM instead of sasldb. Change the sasl_pwcheck_method to sasldb and try again. out of my /etc/imapd.conf ... admins: cyrus allowanonymouslogin: no sasl_passwd_check: sasldb ... Check your user/passwd database with: sasldblistusers You should get lines like: user: XX realm: pinguin mech: PLAIN user: XX realm: pinguin mech: CRAM-MD5 user: realm: pinguin mech: PLAIN user: realm: pinguin mech: CRAM-MD5 hth Wolfgang -- Wolfgang Trexler <[EMAIL PROTECTED]> For completely outdated information see http://members.ping.at/wolfman/
Problem with malformed mail messages...
Hi there, since a few days I've a lot of the following entries in my system mail log (beside that cyrus/sendmail seems to work well): Dec 17 23:06:50 mailer sendmail[7092]: fB7GtA019616: fBHM6oa07092: postmaster notify: Service unavailable Dec 17 23:06:50 mailer sendmail[7092]: fBHM6oa07092: to=username1-snipped, delay=00:00:00, xdelay=00:00:00, mailer=cyrus, pri=91834, relay=localhost [[UNIX: /var/apps/imap/socket/lmtp]], dsn=5.6.0, stat=Service unavailable In /etc/mail/aliases I've defined several persons for postmaster and for everyone of them I can see a corresponding line in the log file. It seems that something goes wrong with this messages and that they are delivered to postmaster but can't get stored in the inbox as they are not valid. Any explanations to this? Beside that I see the following messages and similar ones in the log file: Dec 17 08:46:22 mailer sendmail[3203]: fBH7kMZ03203: from=<[EMAIL PROTECTED]>, size=128945, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=MTA, relay=firewall2int.intern.my-domain.co.at [192.168.10.6] Dec 17 08:46:22 mailer sendmail[3204]: fBH7kMZ03203: to=postmaster1, delay=00:00:00, xdelay=00:00:00, mailer=cyrus, pri=247893, relay=localhost, dsn=5.6.0, stat=Service unavailable Dec 17 08:46:22 mailer sendmail[3204]: fBH7kMZ03203: to=postmaster2, delay=00:00:00, xdelay=00:00:00, mailer=cyrus, pri=247893, relay=localhost, dsn=5.6.0, stat=Service unavailable Dec 17 08:46:22 mailer sendmail[3204]: fBH7kMZ03203: to=postmaster3, delay=00:00:00, xdelay=00:00:00, mailer=cyrus, pri=247893, relay=localhost, dsn=5.6.0, stat=Service unavailable Dec 17 08:46:22 mailer sendmail[3204]: fBH7kMZ03203: to=postmaster4, delay=00:00:00, xdelay=00:00:00, mailer=cyrus, pri=247893, relay=localhost, dsn=5.6.0, stat=Service unavailable Dec 17 08:46:22 mailer sendmail[3204]: fBH7kMZ03203: fBH7kMZ03204: DSN: Service unavailable Dec 17 08:46:22 mailer sendmail[3204]: fBH7kMZ03204: to=<[EMAIL PROTECTED]>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=157993, relay=[192.168.10.6] [192.168.10.6], dsn=2.0.0, stat=Sent (fBH7kI1C006075 Message accepted for delivery) I got the following Mail message: (I changed the addresses inside for security and legal reasons) Return-Path: <> Received: from mailer.intern.my-domain.co.at ([192.168.10.1]) by firewall2.my-domain.co.at (8.12.0/8.12.0) with ESMTP id fBH7kI1C006075 for <[EMAIL PROTECTED]>; Mon, 17 Dec 2001 08:46:18 +0100 Received: from localhost (localhost) by mailer.intern.my-domain.co.at (8.11.6/8.11.6) id fBH7kMZ03204; Mon, 17 Dec 2001 08:46:22 +0100 Date: Mon, 17 Dec 2001 08:46:22 +0100 From: Mail Delivery Subsystem <[EMAIL PROTECTED]> Message-Id: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; boundary="fBH7kMZ03204.1008575182/mailer.intern.my-domain.co.at" Subject: Returned mail: see transcript for details Auto-Submitted: auto-generated (failure) This is a MIME-encapsulated message --fBH7kMZ03204.1008575182/mailer.intern.my-domain.co.at The original message was received at Mon, 17 Dec 2001 08:46:22 +0100 from firewall2int.intern.my-domain.co.at [192.168.10.6] - The following addresses had permanent fatal errors - postmaster4 (reason: 554 5.6.0 Message contains invalid header) (expanded from: <[EMAIL PROTECTED]>) postmaster3 (reason: 554 5.6.0 Message contains invalid header) (expanded from: <[EMAIL PROTECTED]>) postmaster2 (reason: 554 5.6.0 Message contains invalid header) (expanded from: <[EMAIL PROTECTED]>) postmaster1 (reason: 554 5.6.0 Message contains invalid header) (expanded from: <[EMAIL PROTECTED]>) - Transcript of session follows - ... while talking to localhost: >>> DATA <<< 554 5.6.0 Message contains invalid header 554 5.0.0 Service unavailable <<< 554 5.6.0 Message contains invalid header 554 5.0.0 Service unavailable <<< 554 5.6.0 Message contains invalid header 554 5.0.0 Service unavailable <<< 554 5.6.0 Message contains invalid header 554 5.0.0 Service unavailable --fBH7kMZ03204.1008575182/mailer.intern.my-domain.co.at Content-Type: message/delivery-status Reporting-MTA: dns; mailer.intern.my-domain.co.at Received-From-MTA: DNS; firewall2int.intern.my-domain.co.at Arrival-Date: Mon, 17 Dec 2001 08:46:22 +0100 Final-Recipient: RFC822; [EMAIL PROTECTED] Action: expanded (to multi-recipient alias) Status: 2.0.0 Last-Attempt-Date: Mon, 17 Dec 2001 08:46:22 +0100 Final-Recipient: RFC822; [EMAIL PROTECTED] X-Actual-Recipient: RFC822; [EMAIL PROTECTED] Action: failed Status: 5.6.0 Diagnostic-Code: X-Unix; 554 5.6.0 Message contains invalid header Last-Attempt-Date: Mon, 17 Dec 2001 08:46:22 +0100 Final-Recipient: RFC822; [EMAIL PROTECTED] X-Actual-Recipient: RFC822; [EMAIL PROTECTED] Action: failed Status: 5.6.0 Diagnostic-Co
Re: timsieved doesn't start
Oliver Fischer wrote: > Hallo list, > > unfortunately I am not able to start timsieved (Cyrus 2.0.16, FreeBSD 4.4 > port) via master. I get always the message > > Dec 9 12:33:22 grinch timsieved: could not getenv(CYRUS_SERVICE); exiting > > Could someone tell me, what is getting wrong? Don't know if this is exactly your problem but make sure that Sieve is a known service in /etc/services. If not add: sieve 2000/tcp best regards Wolfgang -- Wolfgang Trexler <[EMAIL PROTECTED]> For completely outdated information see http://members.ping.at/wolfman/