Re: [Exim] 30 messages sent out for each email--Newbie

Top Page
Delete this message
Reply to this message
Author: Steven Casey
Date:  
To: exim-users
Subject: Re: [Exim] 30 messages sent out for each email--Newbie
All,
Thanks to all those who have responded so quickly. I forgot to add
information...sorry it was late.
I did not install or configure Exim, but have the task to fix it.
This is Exim 4.23 judging from log files, etc...
RedHat Linux (suspect v7.x. not sure)
I rebooted last night after posting the message.
I believe exim to be started at level 3 via script as follows:

#!/bin/sh
#
# exim          This shell script takes care of starting and stopping
#               exim.
#
# chkconfig: 2345 80 30
# description: Exim is a Mail Transport Agent, which is the program \
#              that moves mail from one machine to another.
# processname: exim
# config: /etc/exim.conf
# pidfile: /var/run/exim.pid


# Source function library.
if [ -e "/etc/init.d/functions" ]; then
        . /etc/init.d/functions
else
        if [ -e "/etc/rc.d/init.d/functions" ]; then
        . /etc/rc.d/init.d/functions
        fi
fi


# Source networking configuration.
if [ -f "/etc/sysconfig/network" ]; then
        . /etc/sysconfig/network
fi


DAEMON=yes
QUEUE=1h

# Source exim configureation.
if [ -f /etc/sysconfig/exim ] ; then
        . /etc/sysconfig/exim
fi


LANG=C
export LANG

# Check that networking is up.
[ "${NETWORKING}" = "no" ] && exit 0

[ -f /usr/sbin/exim ] || exit 0

# See how we were called.

  start)
        # Start daemons.


        if [ ! -e "/etc/eximdisable" ]; then
                echo -n "Starting exim: "
                TMPDIR=/tmp daemon /usr/sbin/exim $([ "$DAEMON" = yes ] &&
echo -bd) \
                        echo
                fi
                echo -n "Starting exim-smtps: "
                TMPDIR=/tmp daemon /usr/sbin/exim -tls-on-connect -bd -oX
465
                echo
                echo -n "Starting antirelayd: "
                daemon /usr/sbin/antirelayd
                echo
        fi
        if [ ! -e "/etc/spamdisable" ]; then
                echo -n "Starting spamd: "
                daemon /usr/bin/spamd -d
                echo
        fi
        touch /var/lock/subsys/exim
        ;;
  stop)
        # Stop daemons.
        echo -n "Shutting down exim: "
        killproc exim
        echo
        echo -n "Shutting down antirelayd: "
        killproc antirelayd
        echo
        echo -n "Shutting down spamd: "
        killproc spamd
        echo
        rm -f /var/lock/subsys/exim
        ;;
  restart)
        $0 stop
        $0 start
        ;;
  status)
        status exim
        ;;
        echo "Usage: exim {start|stop|restart|status}"
        exit 1
esac


exit 0
***************************************
an exiwhat returns:
20024 daemon: -q1h, listening for SMTP
20027 tidying up after delivering 1AEWv8-0004qE-Pi
20038 daemon: no queue runs, listening for SMTP
20044 handling incoming connection from
(221.red-80-34-0.pooles.rima-tde.net) [80.34.0.221] id=
1AEX4r-0005DI-5J
20061 handling incoming connection from (exchange.nps.com.au)
[61.88.105.74]
20086 handling incoming connection from (64.246.54.17) [218.21.78.6]
id=1AEX3a-0005Dy-PK
20089 handling TLS incoming connection from (cohort.cc) [208.29.16.72]
20094 handling incoming connection from (BECKYSCOMPUTER) [64.175.245.4]
id=1AEX3c-0005E6-07
20132 handling incoming connection from (azccpo2.azcc.local)
[128.196.222.39]
20181 tidying up after delivering 1AEWxT-0004za-Jl
20184 tidying up after delivering 1AEWxY-0004zo-NM
20185 tidying up after delivering 1AEWxh-00050A-BR
20187 tidying up after delivering 1AEWwR-0004w0-Hj
20188 tidying up after delivering 1AEWxh-00050I-BU
20190 delivering 1AEWwb-0004wQ-0Q
20192 delivering 1AEWwb-0004wR-7z
20197 tidying up after delivering 1AEWwe-0004wu-SK
20198 delivering 1AEWwl-0004x7-IH
20285 handling incoming connection from (mail67.adeal4u.info)
[207.182.139.68]
***********************************
I'd be happy to snip parts of the cfg file, if I know what to add for
analysis...it's a big file...

Here is the output at commandline, but I never get any mail as a result( the
email and host info have been changed for the purpose of postinghere):
********************************
root@cpanel [/usr/sbin]# ./exim -d -bt myemailaddress@???
Exim version 4.23 uid=0 gid=0 pid=22762 D=fbb95cfd
Berkeley DB: Sleepycat Software: Berkeley DB 3.3.11: (July 12, 2001)
Support for: iconv() PAM Perl OpenSSL
Authenticators: cram_md5 plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile autoreply pipe smtp
changed uid/gid: forcing real = effective
uid=0 gid=0 pid=22762
auxiliary group list: <none>
configuration file is /etc/exim.conf
log selector = 040d99d8
trusted user
admin user
finduser used cached passwd data for mailman
originator: uid=0 gid=0 login=root name=root
sender address = root@???
Address testing: uid=0 gid=12 euid=0 egid=12
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Testing myemailaddress@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Considering myemailaddress@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

routing myemailaddress@???
--------> mailman_virtual_router router <--------
local_part=myemailaddress domain=tampabay.rr.com
checking require_files
file check:
/usr/local/cpanel/3rdparty/mailman/lists/${lc:$local_part}_${lc:$domain}/con
fig.pck
expanded file:
/usr/local/cpanel/3rdparty/mailman/lists/myemailaddress_tampabay.rr.com/conf
ig.pck
stat() yielded -1
errno = 2
mailman_virtual_router router skipped: file check
--------> lookuphost router <--------
local_part=myemailaddress domain=tampabay.rr.com
checking domains
search_open: lsearch "/etc/localdomains"
search_find: file="/etc/localdomains"
  key="tampabay.rr.com" partial=-1 affix=NULL starflags=0
LRU list:
  9/etc/localdomains
  End
internal_search_find: file="/etc/localdomains"
  type=lsearch key="tampabay.rr.com"
file lookup required for tampabay.rr.com
  in /etc/localdomains
lookup failed
tampabay.rr.com in "lsearch;/etc/localdomains"? no (end of list)
tampabay.rr.com in "! +local_domains"? yes (end of list)
checking "condition"
Starting Perl interpreter
calling lookuphost router
lookuphost router called for myemailaddress@???
  domain = tampabay.rr.com
DNS lookup of tampabay.rr.com (MX) succeeded
24.93.35.209 in "0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24"? no (end of list)
24.30.200.18 in "0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24"? no (end of list)
65.32.1.38 in "0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24"? no (end of list)
65.32.1.42 in "0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24"? no (end of list)
65.32.1.50 in "0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24"? no (end of list)
65.32.1.49 in "0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24"? no (end of list)
24.93.35.210 in "0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24"? no (end of list)
DNS lookup of florida.mgw.rr.com (A) succeeded
24.94.165.190 in "0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24"? no (end of list)
65.24.0.110 in "0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24"? no (end of list)
65.24.0.111 in "0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24"? no (end of list)
65.24.0.112 in "0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24"? no (end of list)
66.75.160.12 in "0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24"? no (end of list)
66.75.160.13 in "0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24"? no (end of list)
24.25.4.95 in "0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24"? no (end of list)
24.25.4.96 in "0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24"? no (end of list)
24.25.4.97 in "0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24"? no (end of list)
24.29.99.40 in "0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24"? no (end of list)
24.29.99.41 in "0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24"? no (end of list)
24.30.200.18 in "0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24"? no (end of list)
24.92.226.25 in "0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24"? no (end of list)
24.92.226.31 in "0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24"? no (end of list)
24.92.226.159 in "0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24"? no (end of list)
24.92.226.164 in "0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24"? no (end of list)
24.94.163.190 in "0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24"? no (end of list)
duplicate IP address 24.30.200.18 (MX=100) removed
fully qualified name = tampabay.rr.com
host_find_bydns yield = HOST_FOUND (2); returned hosts:
  flmx01.mgw.rr.com 65.32.1.38 10
  flmx04.mgw.rr.com 65.32.1.49 10
  flmx03.mgw.rr.com 65.32.1.50 10
  flmx02.mgw.rr.com 65.32.1.42 10
  txmx02.mgw.rr.com 24.93.35.209 20
  txmx01.mgw.rr.com 24.93.35.210 20
  florida.mgw.rr.com 65.24.0.112 30
  florida.mgw.rr.com 24.92.226.164 30
  florida.mgw.rr.com 66.75.160.13 30
  florida.mgw.rr.com 24.94.163.190 30
  florida.mgw.rr.com 24.92.226.31 30
  florida.mgw.rr.com 65.24.0.111 30
  florida.mgw.rr.com 24.92.226.25 30
  florida.mgw.rr.com 24.29.99.40 30
  florida.mgw.rr.com 24.29.99.41 30
  florida.mgw.rr.com 24.25.4.97 30
  florida.mgw.rr.com 24.25.4.96 30
  florida.mgw.rr.com 65.24.0.110 30
  florida.mgw.rr.com 24.25.4.95 30
  florida.mgw.rr.com 66.75.160.12 30
  florida.mgw.rr.com 24.94.165.190 30
  florida.mgw.rr.com 24.30.200.18 30
  florida.mgw.rr.com 24.92.226.159 30
set transport remote_smtp
queued for remote_smtp transport: local_part = myemailaddress
domain = tampabay.rr.com
  errors_to=NULL
  domain_data=NULL localpart_data=NULL
routed by lookuphost router
  envelope to: myemailaddress@???
  transport: remote_smtp
  host flmx01.mgw.rr.com [65.32.1.38] MX=10
  host flmx04.mgw.rr.com [65.32.1.49] MX=10
  host flmx03.mgw.rr.com [65.32.1.50] MX=10
  host flmx02.mgw.rr.com [65.32.1.42] MX=10
  host txmx02.mgw.rr.com [24.93.35.209] MX=20
  host txmx01.mgw.rr.com [24.93.35.210] MX=20
  host florida.mgw.rr.com [65.24.0.112] MX=30
  host florida.mgw.rr.com [24.92.226.164] MX=30
  host florida.mgw.rr.com [66.75.160.13] MX=30
  host florida.mgw.rr.com [24.94.163.190] MX=30
  host florida.mgw.rr.com [24.92.226.31] MX=30
  host florida.mgw.rr.com [65.24.0.111] MX=30
  host florida.mgw.rr.com [24.92.226.25] MX=30
  host florida.mgw.rr.com [24.29.99.40] MX=30
  host florida.mgw.rr.com [24.29.99.41] MX=30
  host florida.mgw.rr.com [24.25.4.97] MX=30
  host florida.mgw.rr.com [24.25.4.96] MX=30
  host florida.mgw.rr.com [65.24.0.110] MX=30
  host florida.mgw.rr.com [24.25.4.95] MX=30
  host florida.mgw.rr.com [66.75.160.12] MX=30
  host florida.mgw.rr.com [24.94.165.190] MX=30
  host florida.mgw.rr.com [24.30.200.18] MX=30
  host florida.mgw.rr.com [24.92.226.159] MX=30
myemailaddress@???
  router = lookuphost, transport = remote_smtp
  host flmx01.mgw.rr.com  [65.32.1.38]    MX=10
  host flmx04.mgw.rr.com  [65.32.1.49]    MX=10
  host flmx03.mgw.rr.com  [65.32.1.50]    MX=10
  host flmx02.mgw.rr.com  [65.32.1.42]    MX=10
  host txmx02.mgw.rr.com  [24.93.35.209]  MX=20
  host txmx01.mgw.rr.com  [24.93.35.210]  MX=20
  host florida.mgw.rr.com [65.24.0.112]   MX=30
  host florida.mgw.rr.com [24.92.226.164] MX=30
  host florida.mgw.rr.com [66.75.160.13]  MX=30
  host florida.mgw.rr.com [24.94.163.190] MX=30
  host florida.mgw.rr.com [24.92.226.31]  MX=30
  host florida.mgw.rr.com [65.24.0.111]   MX=30
  host florida.mgw.rr.com [24.92.226.25]  MX=30
  host florida.mgw.rr.com [24.29.99.40]   MX=30
  host florida.mgw.rr.com [24.29.99.41]   MX=30
  host florida.mgw.rr.com [24.25.4.97]    MX=30
  host florida.mgw.rr.com [24.25.4.96]    MX=30
  host florida.mgw.rr.com [65.24.0.110]   MX=30
  host florida.mgw.rr.com [24.25.4.95]    MX=30
  host florida.mgw.rr.com [66.75.160.12]  MX=30
  host florida.mgw.rr.com [24.94.165.190] MX=30
  host florida.mgw.rr.com [24.30.200.18]  MX=30
  host florida.mgw.rr.com [24.92.226.159] MX=30
search_tidyup called

>>>>>>>>>>>>>>>> Exim pid=22762 terminating with rc=0 >>>>>>>>>>>>>>>>

----- Original Message -----
From: "Asbjorn Hoiland Aarrestad" <asbjorn@???>
To: "Steven Casey" <scasey2@???>; <exim-users@???>
Sent: Tuesday, October 28, 2003 4:12 AM
Subject: Re: [Exim] 30 messages sent out for each email--Newbie


> this was a bit short errormessage, but a few quick fixes
>
> dirty: have you tried to reboot the machine?
> cleaner: how do you start exim? any reason for the many processes?
> cleaner: what changes have you made to the config files? Anything we
> should know about?
>
> - asbjørn
>
> Steven Casey wrote:
>
> >This is a multi-part message in MIME format.
> >--
> >[ Picked text/plain from multipart/alternative ]
> >Newbie needs some quick troubleshooting for exim. For some reason,

everytime an email is sent, 30 copies are sent as well. A ps -ef | grep
exim returns about 300 processes running some of which are defunct. Getting
ready to uninstall and reinstall unless there's a quick fix. Thank you in
advance.