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

Re: why my exim service can not be launch ??



On Tue, May 27, 2003 at 11:28:24PM +0800, jojo wrote:
> 
> Hi , have anybody had met this problem ??
> Why my pc's exim service can not be launch ??
> Why it tips me: exim: neither action flags nor mail addresses given ???
> the attach file is the exim configuration of my pc. thanx !
> #######################################
> 
> debian:/etc/init.d# exim -d9 & 
> [1] 9295
> Exim version 3.35 debug level 9 uid=0 gid=0
> Berkeley DB: Sleepycat Software: Berkeley DB 2.7.7: (08/20/99)
> debian:/etc/init.d# debian.test.com in local_domains? no (end of list)
> adding primary host namedebian.test.com to local_domains
> Configured local interface address is 127.0.0.1
> Caller is an admin user
> Caller is a trusted user
> user name "root" extracted from gecos field "root"
> originator: uid=0 gid=0 login=root name=root
> sender address = root@test.com
> exim: neither action flags nor mail addresses given
> 
> [1]+  Exit 1                  exim -d9

Because you haven't actually told it to do anything...

To start exim as a daemon use: exim -bd

Although, if you've set up exim to run as a daemon, it should be
started automatically on boot; you shouldn't need to start it by hand.
Use ps ax to see if an exim daemon is already running.

It's not always necessary to run exim as a daemon: it can be "run from
inetd", ie, whenever exim is needed inetd wakes it up. If you have a
line like

smtp		stream	tcp	nowait.150	mail	/usr/sbin/exim exim -bs

in /etc/inetd.conf, and inetd is running (which it should be...), then
exim will be started automatically when it is needed, and shut down
again when it is not.

-- 
Pigeon

Be kind to pigeons
Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F

Attachment: pgpg3B3ZwfJvP.pgp
Description: PGP signature


Reply to: