logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

update-exim4defaults - Manage exim4 daemon default file.

Author

       Andreas Metzler <ametzler at downhill.at.eu.org>

EXIM4                                            March 26, 2003                          UPDATE-EXIM4DEFAULTS(8)

Bugs

       This manual page needs a major re-work. If somebody knows better groff than us and has more experience in
       writing manual pages, any patches would be greatly appreciated.

Description

update-exim4defaults  allows  one  to  set run parameters for the Exim daemon in /etc/default/exim4.  Its
       main purpose is for interaction with packages enhancing Exim like virus-scanners that need to change  the
       way the exim daemon is started.

Exit Status

0      change was successful or nothing needed to be done.

       1      generic error: wrong options, unreadable configuration file, etc.

       2      QUEUEINTERVAL was already set.

       4      COMMONOPTIONS was already set.

       8      QUEUERUNNEROPTIONS was already set.

       16     SMTPLISTENEROPTIONS was already set.

       32     QFLAGS was already set.

       64     --remove-something failed, i.e. the value of the option was not changed.

       Exit codes 2 to 32 will be summed up, if more than one unsuccessful option was given.

Files

/etc/default/exim4
              The configuration file.

       /etc/init.d/exim4
              The Exim init-script.

       /etc/ppp/ip-up.d/exim4
              The  queuerunner  in  this file also uses COMMONOPTIONS and QUEUERUNNEROPTIONS and does not run if
              QUEUERUNNER=no.

Name

       update-exim4defaults - Manage exim4 daemon default file.

Options

--help|-h
              Print short usage instructions and exit.

       --qflagsflags
              Set qflags, special flags given to exim directly after the “-q”. See exim(8) for more information.

       --queuerunnercombined|queueonly|separate|ppp|no|nodaemon
              Should the init script start one daemon that listens on the smtp port for incoming connections and
              runs  the  queue  at  regular  intervals (combined) , or should it start two separate daemons, one
              listening on the smtp port, the other running the queue (separate) , or should the queue  only  be
              run  by  /etc/ppp/ip-up.d/exim4 (ppp) , or shouldn't we run the queue at all, for example if you'd
              rather do this with cron ? Or should we only start a queuerunner (queueonly) or no daemon  at  all
              (nodaemon) ?

       --queuetimetime
              In  which  intervals  should  we run the queue? This passed as option -q<qflags>time to Exim, e.g.
              -q30m or -qq1h.

       --commonoptionsoptions
              Options passed both to queue-running and listening instances of Exim.

       --queuerunneroptionsoptions
              Options only passed to the instance of Exim running the queue.

       --smtplisteneroptionsoptions
              Options only passed to the instance of Exim listening on the SMTP port.

       --force|-f
              Without this option update-exim4defaults exits with an error  if  at  least  one  of  the  options
              --queuetime,  --commonoptions,  --queuerunneroptions  or  --smtplisteneroptions  is  used  and the
              corresponding value in /etc/default/exim4 is already set to a nonempty value.

       --remove-commonoption
              Try to remove the given option from COMMONOPTIONS.

       --remove-queueoption
              Try to remove the given option from QUEUERUNNEROPTIONS.

       --remove-smtpoption
              Try to remove the given option from SMTPLISTENEROPTIONS.

       The --remove-commands cannot be used at the same time as any of --commonoptions, --queuerunneroptions  or
       --smtplisteneroptions. The --remove-commands will additionally remove whitespace at the beginning and the
       end of the option and exchange multiple spaces wi a single one.

       --init create  a  default /etc/default/exim4 file and exit immediately. Unless --force was also specified
              update-exim4defaults exits (successfully) without doing  anything  if  /etc/default/exim4  already
              exists. All other options are ignored.

See Also

exim(8), /usr/share/doc/exim4-base/

Synopsis

update-exim4defaults[--qflagsflags][--queuerunnercombined|queueonly|separate|ppp|no|nodaemon][--queuetimetime][--commonoptionsoptions][--queuerunneroptionsoptions][--smtplisteneroptionsoptions][--remove-commonoptions][--remove-queueoptions][--remove-smtpoptions][--force|-f][--help|-h][--init]

See Also