RE: [exim] Exim's behaviour when invoked with -bd

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Foo Bar
Date:  
À: eli-list
CC: exim-users
Sujet: RE: [exim] Exim's behaviour when invoked with -bd
> > Why wouldn't it be? That's just debug mode - in order to
>
> Whuups, that's not debug mode, I'm stupid. Daemon mode. Either way,
> normal
> operation.


ok firrst I gotta admit that my post was inaccurate.
Well the real problem I have is as follows:
When it comes to receiving a mail, exim does that "unable to set gid/uid"
error which was discussed here many times before I think. Now let me
outline my present situation:

- system is debian sarge with exim4
- suid is set (exim gets started by root anyway)
- there is no verify-router using the "user=" directive (as I understand
the ML-archive this may cause such problem)

- a snippet from debug-log:

Exim version 4.50 uid=0 gid=0 pid=19486 D=fbb95cfd
Berkeley DB: Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003)
Support for: iconv() IPv6 PAM Perl GnuTLS Content_Scanning Old_Demime
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb
dsearch ldap ldapdn ldapm mysql nis nis0 passwd pgsql
Authenticators: cram_md5 cyrus_sasl plaintext spa
Routers: accept dnslookup ipliteral iplookup manualroute queryprogram
redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
changed uid/gid: forcing real = effective
uid=0 gid=0 pid=19486
auxiliary group list: <none>
configuration file is /etc/exim4/exim4.conf
log selectors = 00000ffc 00028800
trusted user
admin user
originator: uid=0 gid=0 login=root name=root
19486 listening on all interfaces (IPv6) port 25
19486 listening on all interfaces (IPv4) port 25
19486 pid written to /var/run/exim4/exim.pid
19486 changed uid/gid: running as a daemon
19486 uid=103 gid=103 pid=19486
19486 auxiliary group list: 103
19486 LOG: MAIN
19486 exim 4.50 daemon started: pid=19486, -q1m, listening for SMTP on
port 25 (IPv6 and IPv4)
19486 set_process_info: 19486 daemon: -q1m, listening for SMTP on port 25
(IPv6 and IPv4)
19486 daemon running with uid=103 gid=103 euid=103 egid=103
.
.
.
[now follows the local delivery]

19496 LOG: MAIN PANIC DIE
19496 unable to set gid=99 or uid=99 (euid=103): local delivery
to /var/opt/mail/[domain]/postmaster/Maildir
</var/opt/mail/[domain]/postmaster/Maildir> transport=virtual_delivery
19496 search_tidyup called
19496 close MYSQL connection: localhost:
(/var/run/mysqld/mysqld.sock)/vexim/vexim
19496 >>>>>>>>>>>>>>>> Exim pid=19496 terminating with rc=1
>>>>>>>>>>>>>>>>

19493 LOG: MAIN PANIC
19493 failed to read delivery status
for /var/opt/mail/[domain]/postmaster/Maildir:postmaster@[domain] from
delivery subprocess
19493 LOG: MAIN PANIC
19493 appendfile transport process returned non-zero status 0x0100:
exit code 1
19493 virtual_delivery transport returned DEFER
for /var/opt/mail/[domain]/postmaster/Maildir
19493 added retry item for
T:/var/opt/mail/[domain]/postmaster/Maildir:postmaster@[domain]: errno=-1
more_errno=0 flags=0



Could it be that the switch to uid 103 at the beginning causes the problem
later on?

--
Handyrechnung zu hoch? Tipp: SMS und MMS mit GMX
Seien Sie so frei: Alle Infos unter http://www.gmx.net/de/go/freesms