Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

antirelayd not updating /etc/relayhosts ?

Discussion in 'General Discussion' started by BrooksBridges, Sep 5, 2004.

  1. BrooksBridges

    BrooksBridges Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    156
    Hey all

    new cpanel user here

    I've configured everything to the best of my knowledge, and I'm trying to figure out why antirelayd isn't inserting anything into the /etc/relayhosts file when I check pop3. I've tried restarting the daemon, but no luck. Anyone have a suggestion where to start looking for a solution?

    system specs are as follows:

    WHM 9.7.2
    Cpanel 9.7.7-R15
    CentOS 3.1 i686

    edit: I've also tried /scripts/fixrelayd and it didn't change anything

    Thanks!

    -Brooks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 BrooksBridges, Sep 5, 2004
    Last edited: Sep 5, 2004
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,470
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Are cppop POP3 or imap logins being logged to /var/log/maillog? It's that log file that antirelayd reads to determine the IP addresses that it will keep for 30 minutes inside the relayhosts file.

    Also, does /etc/userdomains list your accounts domains and user account?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. BrooksBridges

    BrooksBridges Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    156
    Are cppop POP3 or imap logins being logged to /var/log/maillog? It's that log file that antirelayd reads to determine the IP addresses that it will keep for 30 minutes inside the relayhosts file.

    yes, I've got this line in /var/log/maillog:
    Sep 5 12:41:16 ns cpanelpop[16388]: Login host=127.0.0.1 ip=127.0.0.1 user=(edited) realuser=(edited)

    could it be because stunnel is relaying the connection and it's getting the localhost ip?

    Also, does /etc/userdomains list your accounts domains and user account?

    yes, they are:

    (edited).net: (edited)
    (edited).us: (edited)
    *: nobody

    I'm going to try pop3 without ssl right now and see if it logs the right ip. I'll let you know =)

    Thanks for the suggestions!

    -Brooks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. BrooksBridges

    BrooksBridges Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    156
    ok, well it's adding the ip in non-ssl mode, but now I'm getting the "0x800CCC0B" timeout error when it tries to connect to send.

    ideas?

    -Brooks

    edit: /var/log/exim_rejectlog shows this:

    2004-09-05 13:01:31 H=(gamer) [12.221.xx.xxx] F=<(edited)@(edited).net> rejected RCPT <brooks@(edited).com>: Sender verify failed

    any ideas why it would do that?

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #4 BrooksBridges, Sep 5, 2004
    Last edited: Sep 5, 2004
  5. BrooksBridges

    BrooksBridges Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    156
    anyone please? I've searched, but can't find a solution, need some help here =(
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,366
    Likes Received:
    5
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Have you considered falling back to a STABLE cPanel version?
     
  7. BrooksBridges

    BrooksBridges Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    156
    don't need to now, I figured it out about 30 minutes ago. thanks anyway :)

    -Brooks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,470
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    It would be polite to post what you did so that others that find your thread can use the information that you were looking for :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Gnomercy

    Gnomercy Well-Known Member
    PartnerNOC

    Joined:
    Sep 4, 2002
    Messages:
    80
    Likes Received:
    0
    Trophy Points:
    156
    Others like me you mean?
     
  10. Jeff75

    Jeff75 Well-Known Member

    Joined:
    Apr 11, 2003
    Messages:
    555
    Likes Received:
    0
    Trophy Points:
    166
    And me? I'm having this same freaking problem!!!
     
  11. speckados

    speckados Well-Known Member

    Joined:
    May 21, 2003
    Messages:
    315
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Pastrana :: Guadalajara :: España
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Any bug already posted (hoiw too much bugs)

    syslog don't work properly.

    Write in /var/log/messages.1 instead /var/log/messages after log rotations.

    How antirelyad work get on messages, if don't work messages properly, don't work antirelayd.

    Restart syslog and restart exim.

    See if /var/log/messages work
    and after see if
    /etc/relay* it's modify (can need some minutes).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. Jeff75

    Jeff75 Well-Known Member

    Joined:
    Apr 11, 2003
    Messages:
    555
    Likes Received:
    0
    Trophy Points:
    166
    It seems like you may be on the right track since you said the problem is with messages. I had to delete this file yesterday because it had gone from 2 GBs to 2.5 GBs within 40 minutes and the server was running out of space. I tried restarting named and syslogd but it didn't help. Data is being added to /var/log/messages but nothing is showing up in /etc/relayhosts. Here's what I did and here's the error message that appears when restarting Exim:

    Code:
    # killall syslogd
    # ./syslogd
    # ./syslogd
    syslogd: child pid 4491 exited with return code 1
    # /scripts/restartsrv_exim
     antirelaydperl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
            LC_ALL = (unset),
            LANG = "en_US"
        are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    unix dgram connect: No such file or directory at /usr/bin/spamd line 282
    Any other ideas?
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice