Exim Install

Martin Hepworth martinh at SOLID-STATE-LOGIC.COM
Fri Dec 2 17:44:19 GMT 2005


Should only need

queue_only = true

and 

queue_only_override = false

in the exim.conf Main config settings at the top...

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

> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> Behalf Of Steve Evans
> Sent: 02 December 2005 17:33
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: [MAILSCANNER] Exim Install
> 
> 4.43
> 
> If I take out the line queue_only = true from /etc/exim.conf I can start
> MailScanner and it runs fine.  It just doesn't scan mail.  Mail just gets
> delieverd like normal.  So I'm pretty sure I have everything pointed to
> the right conf files.
> 
> Also if I do a check_MailScanner I noticed that no exim process's ever
> fire.  It gets stuck before that point.
> 
> One of the steps from the wiki
> (http://wiki.mailscanner.info/doku.php?id=documentation:configuration:mta:
> exim:installation&s=exim+4) was to change the file /etc/init.d/exim
> 
> I had trouble finding the line /usr/exim/bin/exim -bd -q15m, so I moved
> the exim file, created a new one, and put in the two lines
> 
> /usr/sbin/exim -bd
> /usr/sbin/exim -q15m -C /etc/exim_scanned.conf
> 
> Obviously there's no error checking or such, but it gets the job done for
> now.  If I start my new exim service it runs fine.  I just have to kill
> the process's manually.  I have attached the original /etc/init.d/exim
> file.
> 
> Steve Evans
> 805-756-7517
> 
> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> Behalf Of Martin Hepworth
> Sent: Friday, December 02, 2005 9:19 AM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: Exim Install
> 
> Steve
> 
> Well in your original email you had the config file as /etc/exim.conf and
> /etc/exim_scanned.conf.
> 
> What version of Exim are you using?
> 
> --
> Martin Hepworth
> Snr Systems Administrator
> Solid State Logic
> Tel: +44 (0)1865 842300
> 
> > -----Original Message-----
> > From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> > Behalf Of Steve Evans
> > Sent: 02 December 2005 17:09
> > To: MAILSCANNER at JISCMAIL.AC.UK
> > Subject: Re: [MAILSCANNER] Exim Install
> >
> > It is correct.
> >
> >
> > Steve Evans
> > 805-756-7517
> >
> > -----Original Message-----
> > From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> > Behalf Of Martin Hepworth
> > Sent: Friday, December 02, 2005 8:43 AM
> > To: MAILSCANNER at JISCMAIL.AC.UK
> > Subject: Re: Exim Install
> >
> > Steve
> >
> > Hmm silly line wrapping....
> >
> > Edit the /etc/sysconfig/MailScanner
> >
> > Make sure the EXIMINCF and EXIMSENDCF vars are set properly to point
> > at the correct files...
> >
> > EXIMINCF=/etc/exim.conf
> >
> > EXIMSENDCF=/etc/exim_scanned.conf
> >
> > --
> > Martin Hepworth
> > Snr Systems Administrator
> > Solid State Logic
> > Tel: +44 (0)1865 842300
> >
> > > -----Original Message-----
> > > From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]
> > > On Behalf Of Steve Evans
> > > Sent: 02 December 2005 16:33
> > > To: MAILSCANNER at JISCMAIL.AC.UK
> > > Subject: Re: [MAILSCANNER] Exim Install
> > >
> > > I'm sorry, what do you want me to try exactly?
> > >
> > >
> > > Steve Evans
> > > 805-756-7517
> > >
> > > -----Original Message-----
> > > From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]
> > > On Behalf Of Martin Hepworth
> > > Sent: Friday, December 02, 2005 8:28 AM
> > > To: MAILSCANNER at JISCMAIL.AC.UK
> > > Subject: Re: Exim Install
> > >
> > > Steve
> > >
> > > Try
> > >
> > > Modified the file /etc/sysconfig/MailScanner EXIM=/usr/sbin/exim
> > > EXIMINCF=/etc/exim.conf EXIMSENDCF=/etc/exim_scanned.conf
> > >
> > > --
> > > Martin Hepworth
> > > Snr Systems Administrator
> > > Solid State Logic
> > > Tel: +44 (0)1865 842300
> > >
> > > > -----Original Message-----
> > > > From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]
> > > > On Behalf Of Steve Evans
> > > > Sent: 02 December 2005 16:23
> > > > To: MAILSCANNER at JISCMAIL.AC.UK
> > > > Subject: Re: [MAILSCANNER] Exim Install
> > > >
> > > > First it was telling me:
> > > >
> > > > In Debugging mode, not forking...
> > > > Cannot create temporary Work Dir /22113. Are the permissions and
> > > > ownership of  correct? at
> > > > /usr/lib/MailScanner/MailScanner/WorkArea.pm
> > > > line 152
> > > >
> > > > Then I changed the ownership of /var/spool/MailScanner to
> > > > mailnull.mailnull (which is the user and group that exim runs as)
> > > > and now when I run check_MailScanner it just sits there forever
> with:
> > > >
> > > > Starting MailScanner...
> > > > In Debugging mode, not forking...
> > > >
> > > > If I run top it lists MailScanner at the top of the list but it's
> > > > consuming no to little CPU.
> > > >
> > > >
> > > > Steve Evans
> > > > 805-756-7517
> > > >
> > > > -----Original Message-----
> > > > From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]
> > > > On Behalf Of Martin Hepworth
> > > > Sent: Friday, December 02, 2005 12:58 AM
> > > > To: MAILSCANNER at JISCMAIL.AC.UK
> > > > Subject: Re: Exim Install
> > > >
> > > > Steve
> > > >
> > > > Make sure there's something in the incoming spool
> > > >
> > > > Put MailScanner into debug mode (edit MailScanner.conf and change
> > > > both debug values to yes).
> > > >
> > > > Stop MailScanner
> > > >
> > > > Run check_mailscanner
> > > >
> > > > This will dump a load of debug to the screen and you should be
> > > > able to see whats happening (or not in your case)
> > > >
> > > > --
> > > > Martin Hepworth
> > > > Snr Systems Administrator
> > > > Solid State Logic
> > > > Tel: +44 (0)1865 842300
> > > > > -----Original Message-----
> > > > > From: MailScanner mailing list
> > > > > [mailto:MAILSCANNER at JISCMAIL.AC.UK]
> > > > > On Behalf Of Steve Evans
> > > > > Sent: 01 December 2005 20:29
> > > > > To: MAILSCANNER at JISCMAIL.AC.UK
> > > > > Subject: [MAILSCANNER] Exim Install
> > > > >
> > > > > I'm trying to install MailScanner with exim for the first time.
> > > > > Here is a list of the steps I have taken.
> > > > >
> > > > > Install MailScanner (no problems) Copied /etc/exim.conf to
> > > > > /etc/exim_scanned.conf Added these lines to /etc/exim.conf
> > > > >     spool_directory = /var/spool/exim_incoming
> > > > >     queue_only = true
> > > > >
> > > > > Then down in the routers config section of /etc/exim.conf I added
> > > > >     defer_router:
> > > > >         driver = manualroute
> > > > >         route_list = * 127.0.0.1 byname
> > > > >         self = defer
> > > > >         verify = false
> > > > >
> > > > > In MailScanner.conf I modified these lines
> > > > >     Incoming Queue Dir = /var/spool/exim_incoming/input/
> > > > >     Outgoing Queue Dir = /var/spool/exim/input/
> > > > >     MTA = exim
> > > > >     Sendmail = /usr/sbin/exim
> > > > >     Sendmail2 = /usr/sbin/exim -C /etc/exim_scanned.conf
> > > > >
> > > > > Modified the file /etc/sysconfig/MailScanner
> > > > >     EXIM=/usr/sbin/exim
> > > > >     EXIMINCF=/etc/exim/exim.conf
> > > > >     EXIMSENDCF=/etc/exim/exim_scanned.conf
> > > > >
> > > > > My two queue directories have the permissions of
> > > > >     drwxr-x---   5 mailnull mail 4096 Jul 22  2004 exim/
> > > > >     drwxr-x---   5 mailnull mail 4096 Nov 30 15:45 exim_incoming/
> > > > >
> > > > >     (note:  I didn't touch the exim folder, just the
> > > > > exim_incoming)
> > > > >
> > > > > Then I do a service exim stop and a service MailScanner start.
> > > > >
> > > > > The mail comes into /var/spool/exim_incoming but nothing happens
> > > > > after that.  It just stacks up there.  If I stop MailScanner,
> > > > > change back the exim.conf file, and start exim mail flows as
> > > > > normal.  If I change the exim.conf file to only specify a new
> > > > > spool directory everything works fine.  So I"m pretty sure I
> > > > > have my queues set up
> > > correctly.
> > > > > Obviously though MailScanner doesn't scan the mail if I do that.
> > > > >
> > > > > Can someone tell me what I'm missing?
> > > > >
> > > > > Steve Evans
> > > > > 805-756-7517
> > > > >
> 
> 
> 
> **********************************************************************
> 
> 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.
> 
> **********************************************************************
> 
> ------------------------ MailScanner list ------------------------ To
> unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the Wiki (http://wiki.mailscanner.info/) and the
> archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
> 
> Support MailScanner development - buy the book off the website!
> 
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the Wiki (http://wiki.mailscanner.info/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
> 
> Support MailScanner development - buy the book off the website!


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

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.	

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

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list