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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Exim probs - relaying denied

Discussion in 'General Discussion' started by WildWayz, Jan 18, 2002.

  1. WildWayz

    WildWayz Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    209
    Likes Received:
    0
    Trophy Points:
    316
    Hi ya,

    Myself and other users have notice that sometimes we get a \"relaying denied\" error when emailing from their account.

    Any reason for this? It was working before I left for work, now I get this error.

    --James
     
  2. Craig

    Craig Well-Known Member

    Joined:
    Aug 10, 2001
    Messages:
    171
    Likes Received:
    0
    Trophy Points:
    316
    tail -f /var/log/exim_mainlog

    send a message and post here what it says..

    Make sure you have SMTP auth on

    C.
     
  3. WildWayz

    WildWayz Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    209
    Likes Received:
    0
    Trophy Points:
    316
    yeah - done the tail part - same error as Outlook reports... Relaying Denied + user/comp name/ip etc

    No setting has changed on the server unless cpanel done something in an update :/

    James
     
  4. Craig

    Craig Well-Known Member

    Joined:
    Aug 10, 2001
    Messages:
    171
    Likes Received:
    0
    Trophy Points:
    316
    You have STMP authentication on? (turned on in your email client)

    C.
     
  5. WildWayz

    WildWayz Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    209
    Likes Received:
    0
    Trophy Points:
    316
    no

    will try that tho

    James
     
  6. WildWayz

    WildWayz Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    209
    Likes Received:
    0
    Trophy Points:
    316
    ack - now it IS sending them without smtp auth turned on.

    It varies - most times it is fine, but sometimes it isn\'t.

    James
     
  7. AlaskanWolf

    AlaskanWolf Well-Known Member

    Joined:
    Aug 11, 2001
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    Fremont CA
    u sure theres no high loads on the server when it tires to send email? do you have any max_ configurations setup?
     
  8. WildWayz

    WildWayz Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    209
    Likes Received:
    0
    Trophy Points:
    316
    [quote:afbfa3d4d1][i:afbfa3d4d1]Originally posted by AlaskanWolf[/i:afbfa3d4d1]
    u sure theres no high loads on the server when it tires to send email? do you have any max_ configurations setup? [/quote:afbfa3d4d1]

    max_confurations?

    Its a normal Cpanel installation where only things like anonymous FTP are turned off.

    Server load nerver goes over 0.7 (unless CPanel is updating, but then that is at 3:00am).

    --James
     
  9. Deep8808

    Deep8808 Member

    Joined:
    Feb 12, 2002
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    301
    Hi,
    I am gettin the same problem here...... relaying denied.
    have tried /scripts/fixrelayd. This solves the problem temporarily but the problem crops up again within 24 hours.
    Is there a permanant fix to this problem.... and why does this happen anyway?
    Please advice.
    I heard this problem had happened before .... if so please redirect me to the older one. Searched for it... but canjnot find it.
    In deperate need of advice,
    Thank you
     
  10. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    316
    Unless your syslogging is not compatible with cpanel this shouldn't be happening.... your syslogd.conf is recording pop3 activity to /var/log/maillog , right?
    And even beyond people getting allowed for relay after logging in, if you force them to use the pop3 logins and passwords in SMTP authentication, which every popular email client supports, then you should never keep running through this cycle.
     
  11. Deep8808

    Deep8808 Member

    Joined:
    Feb 12, 2002
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    301
    Hi!
    Thanks for that prompt response!
    So using SMTP authentication should fix this problem?
    The installation is a standard CPanel one..... and the problems started showing only in the last 2 days..
     
  12. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    316
    Yes, if they have that enabled, then they authenticate upon every connection to the smtp server- there is no reason to depend on the antirelaydaemon actually doing its job if you tell everybody to engage SMTP auth.
     
  13. Deep8808

    Deep8808 Member

    Joined:
    Feb 12, 2002
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    301
    Hi,
    ooops! I am sorry. I tried that but it still does not work!!?
    However fixrelayd still produces a {temporary} fix.What does fixrelayd do..?
    Sorry about me behaving pest... but its just that I am running out of ideas...
    Please help...
    DeepEnd
     
  14. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    316
    What still doesn't work?

    Fixrelayd kills syslog and antirelayd and restarts them both, so that when users log in successfully via pop3 they are being added to the allow file to send through the server without SMTP authentication.
     
  15. Deep8808

    Deep8808 Member

    Joined:
    Feb 12, 2002
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    301
    Hi!

    &So using SMTP authentication should fix this problem?
    The installation is a standard CPanel one..... and the problems started showing only in the last 2 days.. &

    SMTP authentication does not fix the problem....
     
  16. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    316
    What is in /var/log/exim_mainlog , when these people are being rejected to send through the server........
     
  17. Deep8808

    Deep8808 Member

    Joined:
    Feb 12, 2002
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    301
    the error message that says &relaying denied...&
     
  18. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    316
    Is /etc/relayhosts even being built?
    Any content in it?


    R U sure your /etc/syslog.conf is intact?
     
  19. acetate

    acetate Active Member

    Joined:
    Aug 16, 2001
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    301
    Have you tried just setting up another session of exim running on a different port (ie.. 2500)?

    /usr/sbin/exim -bd -q1h -oX 2500

    or in cases where the client is running Eudora, you have to setup SMTP authentication with the username as account%domain.com
    not account@domain.com.

    Derek
    IntenseHost.com LLC.
    http://www.intensehost.com
     
  20. Deep8808

    Deep8808 Member

    Joined:
    Feb 12, 2002
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    301
    Hi,
    /etc/relayhosts is gettin built.... no probs with that...looks as it usually should.
    I was thinkin the problem could be 'cos of high server loads. But that is not the case...server load is real low.
    DeepEnd
     
Loading...

Share This Page