Re: exim queue
In article <[🔎] 19981109222014.A912@icon.co.za> you write:
>On Mon, Nov 09 1998, Leon Breedt spake thus:
>
>i just noticed something else.
>
>> i'm running exim on a dialup box, with some success. i can get
>> local messages (via fetchmail) delivered fine.
>or maybe not so fine. after running fetchmail, i see local messages
>aren't all delivered immediately, some of the fetchmail-forwarded messages
>are still lurking in the queue. i have to do a runq to get them into
>my mailbox.
Put this in the main configuration section of /etc/exim.conf:
queue_remote = true
This should cause it to only queue messages for remote systems; locally
delivered messages should then not be queued.
For your other question: you can check whether there is an outgoing
smtp connection:
if netstat --ip -n | grep ':25 *ESTABLISHED' > /dev/null
then : smtp connection is active
else : no active smtp connection
fi
or check if there is a sendmail process active:
if pidof exim > /dev/null
then : exim is running
else : no exim process found
fi
Hmmm, maybe the process is called sendmail and not exim. Experiment.
Paul Slootman
--
home: paul@wurtel.demon.nl | work: paul@murphy.nl | debian: paul@debian.org
http://www.wurtel.demon.nl | Murphy Software, Enschede, the Netherlands
Reply to: