q15m option on the command line to process (Web design online)

q15m option on the command line to process the queue every 15 minutes. You can also invoke exim -q from cron at these intervals. You can display the current mail queue by invoking Exim with the -bp option. Equivalently, you can make mailq a link to Exim, and invoke mailq: $ mailq 2h 52K 12EwGE-0005jD-00 D bob@vbrew.com harry@example.net This shows a single message from sam@vbrew.com to two recipients sitting in the message queue. It has been successfully delivered to bob@vbrew.com, but has not yet been delivered to harry@example.net, though it has been on the queue for two hours. The size of the message is 52K, and the ID by which Exim identifies this message is 12EwGE-0005jD-00. You can find out why the delivery is not yet complete by looking at the message’s individual log file, which is kept in the msglog directory in Exim’s spool directory. The -Mvl option is an easy way of doing this: $ exim -Mvl 12EwGE-0005jD-00 2000-01-30 17:28:13 example.net [192.168.8.2]: Connection timed out 2000-01-30 17:28:13 harry@example.net: remote_smtp transport deferred: Connection timed out Individual log files keep a copy of log entries for each message so you can easily inspect them. The same information could have been extracted from the main log file using the exigrep utility: $ exigrep 12EwGE-0005jD-00 /var/log/exim/exim_mainlog That would take longer, especially on a busy system where the log files can get quite big. The exigrep utility comes into its own when looking for information about more than one message. Its first argument is a regular expression, and it picks out all the log lines concerned with any messages that have at least one log line that matches the expression. Thus it can be used to pick out all messages for one specific address, or all those to or from a specific host. You can keep a general watch on what a running Exim is doing by running tail on its main log file. Another way of doing this is to run the eximon utility that comes with Exim. This is an X11 application that puts up a scrolling display of the main log, and also shows a list of messages that are awaiting delivery, as well as some stripcharts about delivery activity. Miscellaneous config Options Here are a few of the more useful options you can set in the configuration file: message_size_limit Setting this option limits the size of message that Exim will accept. return_size_limit Setting this option limits the amount of an incoming message that Exim will return as part of a bounce message. deliver_load_max If the system load exceeds the value given for this option, all mail delivery is suspended, though messages are still accepted. smtp_accept_max This is the maximum number of simultaneous incoming SMTP calls Exim is prepared to accept. log_level This option controls the amount of material that is written to the log. There are also some options with names beginning with log_ that control the logging of specific information.

Leave a Reply