The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Autoreponder in exim_mainlog, even when off

Discussion in 'E-mail Discussions' started by vikins, Jun 5, 2014.

  1. vikins

    vikins Well-Known Member

    Joined:
    Oct 3, 2006
    Messages:
    93
    Likes Received:
    1
    Trophy Points:
    8
    Is it normal to see autoresponder references in the exim_mainlog even when the autoresponder in question is off?

    What I mean is, there is an autoresponder setup for the particular email address, but in the settings for the autoresponder it is off, not active. So, what I think is happening is that exim must go through all the steps of forwarding it to the autoresponder but then it just dies after that unless the autoresponder is actually active?

    I am only thinking about this because I'm trying to control outgoing mail, and autoresponders create really bad backscatter when spam is sent to them. So, I parsed the exim logs to see just how much was being created by doing this:

    grep "=> .*@.*@.*" /var/log/exim_mainlog | awk '{print $6,$5}' | sort | uniq -c | sort -n | grep autorespond

    I was surprised to see hundreds of what seemed like outgoing autoresponder emails. When I looked closer I found that most of autoresponders were not even active but yet entries were being created in the exim log.

    I am just looking for some confirmation that my thinking is correct and wondering how I can get a real count of the outgoing email from active only autoresponders?

    Thanks!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Yes, it's normal to see that output in /var/log/exim_mainlog when the autoresponder is not active. EX:

    Code:
    2014-06-06 09:18:12 1Wsu28-0004dL-DA => |/usr/local/cpanel/bin/autorespond test2@example.com /home/example/.autorespond (test2@example.com) <test2@example.com> R=virtual_aliases_nostar T=jailed_virtual_address_pipe
    The "/usr/local/cpanel/bin/autorespond" script needs to be utilized in order make the determination if the auto responder is active or not. It should not result in any backscatter because the auto response is only sent when it's active.

    Thank you.
     
  3. vikins

    vikins Well-Known Member

    Joined:
    Oct 3, 2006
    Messages:
    93
    Likes Received:
    1
    Trophy Points:
    8
    Okay, so my thinking (which took me a while to figure out) was correct.

    Is there any way to determine the actual amount of autoresponses being generated?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You could go through /var/log/exim_mainlog and see what deliveries were made after emails sent to addresses with autoresponders configured, but there are no direct statistics available for that in cPanel/WHM.

    Thank you.
     
  5. vikins

    vikins Well-Known Member

    Joined:
    Oct 3, 2006
    Messages:
    93
    Likes Received:
    1
    Trophy Points:
    8
    Any command line magic that would make that not a massive undertaking? :)
     
Loading...

Share This Page