Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member LiNUxG0d's Avatar
    Join Date
    Jun 2003
    Location
    Gatineau, Quebec, Canada
    Posts
    206

    Default Extra exim.conf logging options for all of you.

    Hi all,

    I had some good success with these extra Exim logging options. I would like you to view them and try them at your own leisure. They increase the /var/log/exim_log buuuut give you a better grasp on what mail your server is sending:

    -=-=-
    Add this to your /etc/exim.conf after "hostlist auth_relay_hosts = *"

    log_selector = \
    +address_rewrite \
    +all_parents \
    +arguments \
    +connection_reject \
    +delay_delivery \
    +delivery_size \
    +dnslist_defer \
    +incoming_interface \
    +incoming_port \
    +lost_incoming_connection \
    +queue_run \
    +received_sender \
    +received_recipients \
    +retry_defer \
    +sender_on_delivery \
    +size_reject \
    +skip_delivery \
    +smtp_confirmation \
    +smtp_connection \
    +smtp_protocol_error \
    +smtp_syntax_error \
    +subject \
    +tls_cipher \
    +tls_peerdn

    -=-=-

    Restart exim when you're done, then tail your log files. You can now see subject, SMTP connections, script execution, etc. Pretty nifty. Feel free to remove whatever you don't care to see logged.

    Warmest regards,

    Jamie
    Kiosk.ws
    http://www.okteck.com/
    The best web hosting, reseller hosting and dedicated server packages!

  2. #2
    Member
    Join Date
    Jun 2005
    Posts
    119

    Default

    heii.. which text box I need to use to add these commands to exim.config when I use WHM advance exim editor... is it the first one or second one?

    In first I already have some commands.. It is "smtp_return_error_details = true"... is that a problem?

  3. #3
    BANNED
    Join Date
    Jul 2005
    Posts
    537

    Default

    Quote Originally Posted by LiNUxG0d
    Hi all,

    I had some good success with these extra Exim logging options. I would like you to view them and try them at your own leisure. They increase the /var/log/exim_log buuuut give you a better grasp on what mail your server is sending:

    -=-=-
    Add this to your /etc/exim.conf after "hostlist auth_relay_hosts = *"

    log_selector = \
    +address_rewrite \
    +all_parents \
    +arguments \
    +connection_reject \
    +delay_delivery \
    +delivery_size \
    +dnslist_defer \
    +incoming_interface \
    +incoming_port \
    +lost_incoming_connection \
    +queue_run \
    +received_sender \
    +received_recipients \
    +retry_defer \
    +sender_on_delivery \
    +size_reject \
    +skip_delivery \
    +smtp_confirmation \
    +smtp_connection \
    +smtp_protocol_error \
    +smtp_syntax_error \
    +subject \
    +tls_cipher \
    +tls_peerdn

    -=-=-

    Restart exim when you're done, then tail your log files. You can now see subject, SMTP connections, script execution, etc. Pretty nifty. Feel free to remove whatever you don't care to see logged.

    Warmest regards,

    Jamie
    Kiosk.ws
    Why clutter exim_mainlog and make it bigger than ever before with all that logging?

    All you need to do is add;

    logwrite = Subject: $h_Subject:

    If all you want to see is the subject of each valid message.

  4. #4
    Member LiNUxG0d's Avatar
    Join Date
    Jun 2003
    Location
    Gatineau, Quebec, Canada
    Posts
    206

    Default

    Quote Originally Posted by neo4242002
    heii.. which text box I need to use to add these commands to exim.config when I use WHM advance exim editor... is it the first one or second one?

    In first I already have some commands.. It is "smtp_return_error_details = true"... is that a problem?
    Try it in the first box, under any additional options there.

    It works well for me. Play around with the options.

    Granted, it may be MORE information than what you need, but, feel free to drop some of the options. Play around with it, see what works for you.

    Warmest regards,

    J
    http://www.okteck.com/
    The best web hosting, reseller hosting and dedicated server packages!

Similar Threads & Tags
Similar threads

  1. httpd.conf extra configuration
    By bhd in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 10-22-2009, 11:14 AM
  2. is the httpd/conf/extra/* stuff deprecated in latest EA3?
    By sehh in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 10-16-2008, 04:41 PM
  3. I need help to access cpanels logging options.
    By darklord1 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-09-2006, 11:48 AM
  4. PHP5 extra options
    By DN-Paul in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-21-2005, 05:51 AM
  5. extra backup options.
    By Domenico in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 10-01-2003, 08:14 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube