Optimizing exim performance

 
Thread Tools Search this Thread
Operating Systems Linux Debian Optimizing exim performance
# 1  
Old 10-25-2017
Optimizing exim performance

Hi,

Recently, I experienced that exim was slow in sending outgoing mail, it was spending a lot of time in the queue, resulting in customer complains.

I came across an article in the internet to optimize the performance of exim in the server. However, the location of the exim.conf is not in /etc/exim.conf in my server. It is /etc/exim4/update-exim4.conf.conf. I just want to confirm if this is the correct file to make the configuration changes to?

Also, one of the steps given to optimize the performance is to :

Quote:
Change how many queue runners that are spawned off. In /etc/init.d/exim change: QUEUE=5m. This ensures that a new queue runner was created every 5 minutes. How often a new queue runner needs to be configured on a server depends on its load.
However there is no /etc/init.d/exim in my server, only /etc/init.d/exim4. I assume this is the correct file to edit, however, I do not find the keyword "QUEUE" in it. How do I edit this file for this option? I only see this two variables that I think are somehow related:

Code:
QUEUERUNNER='combined'
QUEUEINTERVAL='30m'

Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Linux

Exim

Hello Guys In my Server i have installed exim when i send a mail on particular IP address i got the following error. SMTP protocol synchronization error (next input sent too soon: pipelining was not advertised): rejected "mail from:xyz.com" H=xyz.com (x.x.x.x) next input="\r\n" I... (1 Reply)
Discussion started by: HarishMooly
1 Replies

2. UNIX for Dummies Questions & Answers

Exim root email

Hello I have configured LFD alerts/Login failure alerts to be sent to "root" However I'm unable to find/change root email. I'm using exim and i dont want to use postfix. Therefore /etc/aliases will not work because newaliases command will not work I tried creating a .forward file still... (0 Replies)
Discussion started by: johnchristy
0 Replies

3. UNIX for Dummies Questions & Answers

Exim and processes

hello I have 2 queries 1) I ran this command : exigrep root /var/log/exim_mainlog and got a lot of results like this 2014-03-25 18:00:09 1WSO9R-000067-6n <= root@123.456.com U=root P=local S=690 T="lfd on 123.456.com: Excessive resource usage: xxx (344 (Parent PID:17477))" for... (0 Replies)
Discussion started by: johnchristy
0 Replies

4. UNIX for Advanced & Expert Users

Exim Help

Hiya all, Using exim v4.x and CentOS 4/5 on a bunch of servers at our company. We're having a tough time fighting spam relaying and such. I basically want any tips and tricks for these, and one specific question. How can I force ALL email that is sent from our box (no matter what form)... (0 Replies)
Discussion started by: bigshow911
0 Replies

5. Filesystems, Disks and Memory

optimizing disk performance

I have some questions regarding disk perfomance, and what I can do to make it just a little (or much :)) more faster. From what I've heard the first partitions will be faster than the later ones because tracks at the outer edges of a hard drive platter simply moves faster. But I've also read in... (4 Replies)
Discussion started by: J.P
4 Replies

6. News, Links, Events and Announcements

Optimizing Apache Server Performance

I found this link useful in a discussion about Apache performance tuning: http://www.serverwatch.com/tutorials/article.php/3436911 (0 Replies)
Discussion started by: Neo
0 Replies

7. UNIX for Dummies Questions & Answers

exim: help with mail :(

ok i have exim installed on my redhat 8.0 server the exim dir is: /usr/local/exim and the mail queue is: /var/spool/exim_mail this is what the mail queue looks like: http://www.thedigitaldream.co.uk/images/exim.gif the problem is, mail stays there, where is it meant to go??? ... (1 Reply)
Discussion started by: matt2kjones
1 Replies
Login or Register to Ask a Question
MAILER.CONF(5)						      BSD File Formats Manual						    MAILER.CONF(5)

NAME
mailer.conf -- configuration file for mailwrapper(8) DESCRIPTION
The file /etc/mail/mailer.conf contains a series of lines of the form name program [arguments ...] The first word of each line is the name of a program invoking mailwrapper(8). (For example, on a typical system /usr/sbin/sendmail would be a symbolic link to mailwrapper(8), as would newaliases(1) and mailq(1). Thus, name might be ``sendmail'' or ``newaliases'' etc.) The second word of each line is the name of the program to actually execute when the first name is invoked. The further arguments, if any, are passed to the program, followed by the arguments mailwrapper(8) was called with. The file may also contain comment lines, denoted by a '#' mark in the first column of any line. FILES
/etc/mail/mailer.conf EXAMPLES
This example shows how to set up mailer.conf to invoke the traditional sendmail(8) program: # Execute the "real" sendmail program located in # /usr/libexec/sendmail/sendmail sendmail /usr/libexec/sendmail/sendmail send-mail /usr/libexec/sendmail/sendmail mailq /usr/libexec/sendmail/sendmail newaliases /usr/libexec/sendmail/sendmail This example shows how to invoke a sendmail-workalike like Postfix in place of sendmail(8): # Emulate sendmail using postfix sendmail /usr/local/sbin/sendmail send-mail /usr/local/sbin/sendmail mailq /usr/local/sbin/sendmail newaliases /usr/local/sbin/sendmail This example shows how to invoke a sendmail-workalike with Exim (from ports) in place of sendmail(8): # Emulate sendmail using exim sendmail /usr/local/sbin/exim send-mail /usr/local/sbin/exim mailq /usr/local/sbin/exim -bp newaliases /usr/bin/true rmail /usr/local/sbin/exim -i -oee This example shows the use of the mini_sendmail package from ports in place of sendmail(8). Note the use of additional arguments. # Send outgoing mail to a smart relay using mini_sendmail sendmail /usr/local/bin/mini_sendmail -srelayhost send-mail /usr/local/bin/mini_sendmail -srelayhost SEE ALSO
mail(1), mailq(1), newaliases(1), mailwrapper(8), sendmail(8) postfix(1) (ports/mail/postfix), mini_sendmail(8) (ports/mail/mini_sendmail) HISTORY
mailer.conf appeared in NetBSD 1.4. AUTHORS
Perry E. Metzger <perry@piermont.com> BUGS
The entire reason this program exists is a crock. Instead, a command for how to submit mail should be standardized, and all the "behave dif- ferently if invoked with a different name" behavior of things like mailq(1) should go away. BSD
October 8, 2010 BSD