Exim with Mailscanner and retry problem

Martin Hepworth martinh at solidstatelogic.com
Fri Oct 13 10:50:39 IST 2006


Matthias Sutter wrote:
> Martin Hepworth wrote:
> 
>> Matthias Sutter wrote:
>>
>>> Hello,
>>>
>>> I use Mailscanner with Exim and now we get some problems with 
>>> graylisting.
>>> Is it correct that the Mailscanner start the exim outgouing deamon?
>>> Because I set in the initscritp / sysconfig /Mailscaner the option 
>>> -q10m but we do not see an retry attemp ...
>>>
>>> Can sombody help me how give teh exim the retry option ?
>>>
>>> Thanks a lot
>>>
>>> Matthias Sutter
>>>
>>>
>>>
>> Matthias
>>
>> Depends on how you installed MailScanner, from the rpm, the tarball????
>>
>> Normally editting the MTA startup script is up to you I think??
>>
> Martin
> 
> I installed Mailscanner as rpm and exim from the tarball.
> 
> Do you mean the Mailscanner startupscript ?
> This is the exim outgoing section from the mailscanner script ....
> 
>        elif [ $MTA = 'exim' ]; then
>          startproc -p $srvpid $EXIM -C $EXIMOUTCF -bd -q10m 2> /dev/null
>          rc_status
>        fi
> 
> But I have no running deamon ...
> Should there a proccess - or is the processview correct ?
> 
> 18862 ?        Ss     0:00 /opt/exim/bin/exim -C /opt/exim/configure.in -bd
> 31168 ?        S      0:00  \_ /opt/exim/bin/exim -C
> /opt/exim/configure.in -bd
> 31792 ?        S      0:00  \_ /opt/exim/bin/exim -C
> /opt/exim/configure.in -bd
> 31955 ?        S      0:00  \_ /opt/exim/bin/exim -C
> /opt/exim/configure.in -bd
> 18887 ?        Ss     0:00 MailScanner: master waiting for children,
> sleeping
> 18888 ?        S      0:32  \_ MailScanner: waiting for messages
> 31776 ?        Z      0:00  |   \_ [MailScanner] <defunct>
> 18927 ?        S      0:32  \_ MailScanner: waiting for messages
> 31873 ?        Z      0:00  |   \_ [MailScanner] <defunct>
> 18946 ?        S      0:40  \_ MailScanner: waiting for messages
> 31850 ?        Z      0:00  |   \_ [MailScanner] <defunct>
> 18961 ?        S      0:30  \_ MailScanner: waiting for messages
> 19003 ?        R      0:35  \_ MailScanner: scanning for filenames and
> filetypes
> 31988 ?        Zs     0:00  |   \_ [file] <defunct>
> 19050 ?        S      0:29  \_ MailScanner: virus scanning
> 31973 ?        Rs     0:00  |   \_ /usr/local/Sophos/bin/sweep -sc -f
> -all -rec  ss -archive -cab -loopback --no-follow-symlinks
> --no-reset-atime -TNEF .
> 19099 ?        S      0:34  \_ MailScanner: waiting for messages
> 31772 ?        Z      0:00  |   \_ [MailScanner] <defunct>
> 19150 ?        S      0:35  \_ MailScanner: virus scanning
> 31972 ?        Rs     0:01  |   \_ /usr/local/Sophos/bin/sweep -sc -f
> -all -rec  ss -archive -cab -loopback --no-follow-symlinks
> --no-reset-atime -TNEF .
> 19170 ?        S      0:39  \_ MailScanner: waiting for messages
> 19183 ?        S      0:40  \_ MailScanner: waiting for messages
> 31740 ?        Z      0:00      \_ [MailScanner] <defunct>
> 18891 ?        S      0:04 MailWatch SQL
> 28887 ?        S      0:00 /opt/exim/bin/exim -C /opt/exim/configure.out
> -Mc 1GYITb-0007P3-Dn 1GYITd-0007Q5-Jv 1GYITd-0007Pv-5N 1GYITb-0007PK-S5
> 1GYITd-0007Py
> 31989 ?        S      0:00  \_ /opt/exim/bin/exim -C
> /opt/exim/configure.out -Mc 1GYITb-0007P3-Dn 1GYITd-0007Q5-Jv
> 1GYITd-0007Pv-5N 1GYITb-0007PK-S5 1GYITd-00
> 31990 ?        S      0:00      \_ /opt/exim/bin/exim -C
> /opt/exim/configure.out -Mc 1GYITb-0007P3-Dn 1GYITd-0007Q5-Jv
> 1GYITd-0007Pv-5N 1GYITb-0007PK-S5 1GYIT
> 28989 ?        S      0:00 /opt/exim/bin/exim -C /opt/exim/configure.out
> -Mc 1GYITk-0007Rt-9W 1GYITh-0007Ql-08 1GYITj-0007Ri-MY 1GYITg-0007R0-T8
> 1GYITl-0007Re
> 31935 ?        S      0:00  \_ /opt/exim/bin/exim -C
> /opt/exim/configure.out -Mc 1GYITk-0007Rt-9W 1GYITh-0007Ql-08
> 1GYITj-0007Ri-MY 1GYITg-0007R0-T8 1GYITl-00
> 31937 ?        S      0:00      \_ /opt/exim/bin/exim -C
> /opt/exim/configure.out -Mc 1GYITk-0007Rt-9W 1GYITh-0007Ql-08
> 1GYITj-0007Ri-MY 1GYITg-0007R0-T8 1GYIT
> 31920 ?        S      0:00 /opt/exim/bin/exim -C /opt/exim/configure.out
> -Mc 1GYIZ0-0008IL-Ly 1GYIZ1-0008IU-Gu 1GYIZ0-0008ID-FM
> 31947 ?        S      0:00  \_ /opt/exim/bin/exim -C
> /opt/exim/configure.out -Mc 1GYIZ0-0008IL-Ly 1GYIZ1-0008IU-Gu
> 1GYIZ0-0008ID-FM
> 
> 
> 

hmm my outgoing exim is started like this..

/usr/local/sbin/exim -q15m -C /usr/local/etc/exi
m/configure.out -oP /var/run/eximout.pid

NB:

NO -bd (other wise it will deamonise itself and listen on port 25!).

-oP to tell it to write the PID to a different file.

Also my configure.out has the log file locations pointing at a different 
place so I can see what the inbound and outbound exim's are doing with 
ease (ie hmm that log entry is it for the inbound or outbound exim????)


-- 
Martin Hepworth
Senior Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300

**********************************************************************

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.	

**********************************************************************



More information about the MailScanner mailing list