Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

exicyclog(8) [osx man page]

EXICYCLOG(8)						      System Manager's Manual						      EXICYCLOG(8)

exicyclog - Cycle exim's logfiles SYNOPSIS
eximcyclog DESCRIPTION
The exicyclog script can be used to cycle (rotate) mainlog and rejectlog files. This is not necessary if only syslog is being used. Some operating systems have their own standard mechanisms for log cycling, and these can be used instead of exicyclog if preferred. Each time exicyclog is run the file names get 'shuffled down' by one. If the main log file name is mainlog (the default) then when exicy- clog is run mainlog becomes mainlog.01, the previous mainlog.01 becomes mainlog.02 and so on, up to a limit which is set in the script, and which defaults to 10. Reject logs are handled similarly. If no mainlog file exists, the script does nothing. Files that 'drop off' the end are deleted. All files with numbers greater than 01 are compressed, using a compression command which is configured by the COMPRESS_COMMAND setting in Local/Makefile. It is usual to run "exicy- clog" daily from a root "crontab" entry of the form 1 0 * * * su exim -c /usr/exim/bin/exicyclog assuming you have used the name 'exim' for the Exim user. You can run exicyclog as root if you wish, but there is no need. BUGS
This manual page needs a major re-work. If somebody knows better groff than us and has more experience in writing manual pages, any patches would be greatly appreciated. SEE ALSO
exim(8), /usr/share/doc/exim4-base/ AUTHOR
This manual page was stitched together from spec.txt by Andreas Metzler <ametzler at>, for the Debian GNU/Linux system (but may be used by others). March 26, 2003 EXICYCLOG(8)

Check Out this Related Man Page

EXIQSUMM(8)						      System Manager's Manual						       EXIQSUMM(8)

exiqsumm - Summarising the queue SYNOPSIS
exiqsumm [-a] [-c] DESCRIPTION
The exiqsumm utility is a Perl script which reads the output of exim -bp and produces a summary of the messages on the queue. Thus, you use it by running a command such as exim -bp | exiqsumm The output consists of one line for each domain that has messages waiting for it, as in the following example: 3 2322 74m 66m This lists the number of messages for the domain, their total volume, and the length of time that the oldest and the newest messages have been waiting. By default the output is sorted on the domain name, but exiqsumm has the options -a and -c, which cause the output to be sorted by oldest message and by count of messages, respectively. The output of exim -bp contains the original addresses in the message, so this also applies to the output from exiqsumm. No domains from addresses generated by aliasing or forwarding are included (unless the "one_time" option of the redirect router has been used to convert them into 'top level' addresses). BUGS
This manual page needs a major re-work. If somebody knows better groff than us and has more experience in writing manual pages, any patches would be greatly appreciated. SEE ALSO
exim(8), /usr/share/doc/exim4-base/ AUTHOR
This manual page was stitched together from spec.txt by Andreas Metzler <ametzler at>, for the Debian GNU/Linux system (but may be used by others). March 26, 2003 EXIQSUMM(8)
Man Page

14 More Discussions You Might Find Interesting

1. 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: the problem is, mail stays there, where is it meant to go??? ... (1 Reply)
Discussion started by: matt2kjones
1 Replies

2. UNIX for Dummies Questions & Answers


Hi, Never used Unix before :confused: - have to execute a script called with an argument which is a table name. I just need the syntax. Any help greatly appreciated. Thanks! M (1 Reply)
Discussion started by: MHD
1 Replies

3. UNIX for Dummies Questions & Answers

Text Files

I am a beginner and im writing my first script, i am using the code date >log.txt but everytime i run the script the text gets overwritten. how can i keep this code but have it paste in the line below each time? Help Please (3 Replies)
Discussion started by: chapmana
3 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. Shell Programming and Scripting

Script for Deleting Core files on root filesystem

ok i am setting up a script to run daily using crontab. This script will search the root filesystem and delete any and all core files. I have set up this script The only problem i get with this script is it searches for directories and attempts to delete them. Since i have probably... (7 Replies)
Discussion started by: rgfirefly24
7 Replies

6. UNIX for Dummies Questions & Answers


I need to write a script file that will tell me the largest number in a group of numbers. ANy help is greatly appreciated (2 Replies)
Discussion started by: twan
2 Replies

7. UNIX for Dummies Questions & Answers

Rookie grandmother needs help with script!!

I'm just starting learning Unix by myself and I need help writing a script. Any help is greatly appreciated!!! Thank you!! Here it is: Note: The output files labout1 and labout2 must be passed to the script as command line arguments. There should be no reference to the filenames labout1... (1 Reply)
Discussion started by: istru
1 Replies

8. UNIX for Advanced & Expert Users

Exim mail log

Hi Guys, I am quite a newbie to exim mail server.Below, I have pasted the the log entries of my exim maillog file. I am not able to understand these entries. Can anyone please help me?? Its very urgent. 2010-01-18 04:20:35 1NWpes-00018g-1O <= H=() P=esmtp S=1038... (1 Reply)
Discussion started by: mahesh_raghu
1 Replies

9. UNIX for Dummies Questions & Answers

startup script to monitor and stop exim

hi i am a newbie to linux , we use Communigate for our mail on Centos. my problem is how to stop exim from running at startup. If exim starts our users cannot send their mail. i have stopped it running on all run levels but if i check exim status it says : Exim is stopped but the pid is running. ... (4 Replies)
Discussion started by: dongcool
4 Replies

10. Red Hat

ip rotating on exim mail server

Hi all, We have the exim mail server configured on cpanel in centos. We have 5 dedicated ip's. So, when i sending mails to client systems, it should be rotate that ip addressees on every 15 minutes. That means Ip rotating. How can i do it. Can anybody show me how to do it. Thanks, (0 Replies)
Discussion started by: mastansaheb
0 Replies

11. Red Hat

check ip rotation

Hi all, I configured ip rotation on exim mail server by modifying the /etc/exim.conf file. I want to check whether the ip address rotating or not. Can any body show me how can i find out is it rotating or not. Thanks, (1 Reply)
Discussion started by: mastansaheb
1 Replies

12. Shell Programming and Scripting

Help with renaming file using sed

Hi, I am currently updating a script, It should do the ff: rename the YYYYMMDD in mainlog.YYYYMMDD to $NEW_DATE I was ask to use sed but I am not that familiar with it. I should update the touch part with the sed. Please kindly help me with this. Thanks a lot. ... (3 Replies)
Discussion started by: joyful1213
3 Replies

13. Debian

Changing file extension names

Hi I have a list of files :root@L28mustang:/var/log/exim4/2017/Jul2017_Blast_BC07# ls -lrt | grep mainlog -rw-r----- 1 Debian-exim adm 3636932 Jul 8 06:25 mainlog.3.gz -rw-r----- 1 Debian-exim adm 919512 Jul 9 06:27 mainlog.2.gz -rw-r----- 1 Debian-exim adm 7655054 Jul 10 06:25 mainlog.1... (1 Reply)
Discussion started by: anaigini45
1 Replies

14. UNIX for Beginners Questions & Answers

For cycle, process order

Hello, I am running a script under ubuntu 16.04 I have no problem with the script. My question is general algorithm of for file command. I just need to know how for file in *.txt process works. Let's say, I wish to run the script by sorting filename: for file in *.txt do "do something in... (2 Replies)
Discussion started by: baris35
2 Replies