Re: Sieve, Postfix and exec() sendmail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Oppps. Meant to say it did NOT resolve the issue.

On 9/28/07, Chris U <chris.uyehara@xxxxxxxxx> wrote:
> # chmod 755 /var/spool/imap/stage./ did resolve the issue.
>
> On 9/27/07, Alain Spineux <aspineux@xxxxxxxxx> wrote:
> > On 9/28/07, Chris U <chris.uyehara@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 ~]#
> >
> > could you try a
> > # chmod 755 /var/spool/imap/stage./
> >
> >
> >
> > >
> > > 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
> > > > >
> > > > > 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
> > > >
> > >
> >
> >
> > --
> > 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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux