> Based on what I've been reading around, I'm not sure why I'd be > throwing an exit code of 75. > http://www.unix.org.ua/orelly/networking/sendmail/ch36_05.htm I just hope the postfix sendmail binary uses the same exit codes than the sendmail's sendmail. So it means you cyrus couldn't send mail using it's sendmail call (which is using postfix's sendmail in your case). What happens if you change the sieve script so that the mail is sent to an external account which is not on your server. Does it work then? Simon > > Output > > [root@kane ~]# rpm -Vf $(readlink -f /usr/sbin/sendmail) > S.5....T c /etc/postfix/main.cf > [root@kane ~]# rpm -V cyrus-imapd > S.5....T c /etc/cyrus.conf > S.5....T c /etc/imapd.conf > [root@kane ~]# > > On 9/27/07, Simon Matter <simon.matter@xxxxxxxxx> wrote: >> > Hi Alain, >> > >> > I am running RHEL5; I used prebuilt rpms from RedHat. I did not change >> > anything recently. Postfix is not running in chroot. >> > >> > [root@kane ~]# ls -ld /var/spool/imap/stage./ >> > drwx------ 2 cyrus mail 4096 Sep 27 10:04 /var/spool/imap/stage./ >> > [root@kane ~]# >> > >> > Chris >> > >> > On 9/27/07, Alain Spineux <aspineux@xxxxxxxxx> wrote: >> >> Did you change something recently ? >> >> Is postfix running chrooted ? >> >> >> >> what about >> >> # ls -ld /var/spool/imap/stage./ >> >> ? >> >> >> >> Regards >> >> >> >> Alain >> >> >> >> On 9/27/07, Chris U <chris.uyehara@xxxxxxxxx> wrote: >> >> > Hi, >> >> > >> >> > I've done some searching on the list about issues with Sieve >> >> > performing rejects, redirects, and vacations using the binary >> >> > sendmail. Below are some links from cyrus mailing lists. >> >> > >> >> > Link: http://tinyurl.com/2mkp5n >> >> > Link: http://tinyurl.com/2rylzs >> >> > Link: http://tinyurl.com/2k2stg >> >> > >> >> > Any help would be greatly appreciated! >> >> > >> >> > Scenario: User1 has a sieve script that keeps a copy of the >> received >> >> > message and forwards mail to User2. >> >> > >> >> > Problem: FATAL: couldn't exec() sendmail >> >> Your sendmail call has terminated with exit code 75, try to find out >> what >> 75 means. >> >> Can you show us the output of the following commands: >> >> rpm -Vf $(readlink -f /usr/sbin/sendmail) >> >> rpm -V cyrus-imapd >> >> Simon >> >> >> > >> >> > Outcome: User2 mail not delivered. 100% CPU usage. Any further >> >> > received mail is stalled in postfix queue and not delivered to >> >> > mailbox. >> >> > >> >> > Imapd.conf >> >> > configdirectory: /var/lib/imap >> >> > partition-default: /var/spool/imap >> >> > admins: cyrus >> >> > sievedir: /var/lib/imap/sieve >> >> > sendmail: /usr/sbin/sendmail >> >> > hashimapspool: true >> >> > sasl_pwcheck_method: saslauthd >> >> > sasl_mech_list: PLAIN >> >> > tls_cert_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem >> >> > tls_key_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem >> >> > tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt >> >> > lmtp_downcase_rcpt: yes >> >> > sieve_maxscriptsize: 32 >> >> > >> >> > [root@kane]# ls -al sendmail >> >> > -rwxr-xr-x 1 root root 201784 Sep 1 2006 /usr/sbin/sendmail >> >> > >> >> > Logs >> >> > >> >> > Sep 27 09:52:22 kane postfix/smtpd[8597]: connect from >> >> unknown[10.100.10.160] >> >> > Sep 27 09:52:31 kane postfix/smtpd[8597]: 147C030E81BB: >> >> > client=unknown[10.100.10.160] >> >> > Sep 27 09:52:35 kane postfix/smtpd[8597]: C8DB930E81BB: >> >> > client=unknown[10.100.10.160] >> >> > Sep 27 09:52:35 kane postfix/cleanup[8600]: C8DB930E81BB: >> >> > message-id=<20070927195235.C8DB930E81BB@xxxxxxxx> >> >> > Sep 27 09:52:35 kane postfix/qmgr[6988]: C8DB930E81BB: >> >> > from=<chrisu@xxxxxxxx>, size=346, nrcpt=1 (queue active) >> >> > Sep 27 09:52:35 kane lmtpunix[8603]: accepted connection >> >> > Sep 27 09:52:35 kane lmtpunix[8603]: lmtp connection preauth'd as >> >> postman >> >> > Sep 27 09:52:35 kane master[8629]: about to exec >> >> /usr/lib/cyrus-imapd/lmtpd >> >> > Sep 27 09:52:35 kane lmtpunix[8629]: executed >> >> > Sep 27 09:52:35 kane lmtpunix[8603]: duplicate_check: >> >> > <20070927195235.C8DB930E81BB@xxxxxxxx> user.user1 0 >> >> > Sep 27 09:52:35 kane lmtpunix[8603]: duplicate_check: >> >> > <20070927195235.C8DB930E81BB@xxxxxxxx> user.user1 0 >> >> > Sep 27 09:52:35 kane lmtpunix[8603]: mystore: starting txn >> 2147483663 >> >> > Sep 27 09:52:35 kane lmtpunix[8603]: mystore: committing txn >> >> 2147483663 >> >> > Sep 27 09:52:35 kane lmtpunix[8603]: duplicate_mark: >> >> > <20070927195235.C8DB930E81BB@xxxxxxxx> user.user1 >> 1190922755 >> >> > 0 >> >> > Sep 27 09:52:35 kane lmtpunix[8603]: Delivered: >> >> > <20070927195235.C8DB930E81BB@xxxxxxxx> to mailbox: user.user1 >> >> > Sep 27 09:52:35 kane lmtpunix[8603]: duplicate_check: >> >> > <20070927195235.C8DB930E81BB@xxxxxxxx>-user2@xxxxxxxx .user1.sieve. >> >> > 0 >> >> > Sep 27 09:52:35 kane lmtpunix[8630]: FATAL: couldn't exec() >> sendmail >> >> > Sep 27 09:52:35 kane lmtpunix[8603]: sieve runtime error for user1 >> id >> >> > <20070927195235.C8DB930E81BB@xxxxxxxx>: Redirect: Sendmail process >> >> > terminated normally, exit status 75 >> >> > Sep 27 09:52:35 kane lmtpunix[8603]: DBERROR db4: Locker does not >> >> exist >> >> > Sep 27 09:52:35 kane lmtpunix[8603]: DBERROR: error fetching >> >> > <20070927195235.C8DB930E81BB@xxxxxxxx>: Invalid argument >> >> > Sep 27 09:52:35 kane lmtpunix[8603]: duplicate_check: error looking >> up >> >> > <20070927195235.C8DB930E81BB@xxxxxxxx>/user.user1: cyrusdb error >> >> > Sep 27 09:52:35 kane lmtpunix[8603]: duplicate_check: >> >> > <20070927195235.C8DB930E81BB@xxxxxxxx> user.user1 0 >> >> > Sep 27 09:52:35 kane lmtpunix[8603]: IOERROR: opening >> >> > /var/spool/imap/stage./8603-1190922755-0: No such file or directory >> >> > Sep 27 09:52:35 kane postfix/lmtp[8602]: C8DB930E81BB: >> >> > to=<user1@xxxxxxxx>, relay=tipg.net[/var/lib/imap/socket/lmtp], >> >> > delay=0.07, delays=0.05/0/0.01/0.01, dsn=4.3.0, status=deferred >> (host >> >> > tipg.net[/var/lib/imap/socket/lmtp] said: 421 4.3.0 lmtpd: couldn't >> >> > exec() sendmail (in reply to end of DATA command)) >> >> > Sep 27 09:52:35 kane lmtpunix[8603]: IOERROR: error unlinking file >> >> > /var/spool/imap/stage./8603-1190922755-0: No such file or directory >> >> > Sep 27 09:52:36 kane postfix/smtpd[8597]: disconnect from >> >> unknown[10.100.10.160] >> >> > ---- >> >> > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ >> >> > Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki >> >> > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html >> >> > >> >> >> >> >> >> -- >> >> Alain Spineux >> >> aspineux gmail com >> >> May the sources be with you >> >> >> > ---- >> > Cyrus Home Page: http://cyrusimap.web.cmu.edu/ >> > Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki >> > List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html >> > >> > ---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html