Skip to main content

Greylist and smtp block issue

Comments

8 comments

  • cPRex Jurassic Moderator
    Hey there! For the first question, that would best be handled by the CSF support team directly, although a quick search didn't show a way to have one domain bypass the SMTP_BLOCK setting. it is recommended to use the CSF tools if you have that installed over the WHM tools as outlined here:
    0
  • Spirogg
    not clear on if your greylist question is regarding outgoing email or mail coming in to the server

    Ok so I use postmarkapp for emails outgoing from my website script. It"s a forum using xenforo like you guys use here. But when I get emails sent to myemail@myforumdomain as a reply from someone it gets stuck in greylist. so I"m trying to avoid that. PS. There are multiple ips that send email it"s not just 1 IP from postmarkapp email service. So I"d rather turn it off for that domain that I"m using xenforo on. Can I turn it off safely in cPanel vs WHM so it won"t affect my other domains As I said all domains are mine on this server. tha is so much.
    0
  • Spirogg
    @cPRex ok just an update I got the ip ranges that send email from my email service. So I added the blocks to the greylist and all is fine there. - So my question regarding SMTP BLOCK Can I add those IP blocks to the allow list and turn on SMTP. Either WHM or CSF There has to be a way to allow an IP block and port - yes? If so what would the line be Example 1.1.1.25/27 port 25 in the allow list how can I accomplish this in csf I know you don"t support but I think this would solve my issue when I have csf smtp_block on maybe not sure but hoping this would be it thanks if you or anyone can asssit. Spiro
    0
  • cPRex Jurassic Moderator
    SMTP_BLOCK itself doesn't have any values except on or off. Do you also have this option enabled? # If SMTP_BLOCK is enabled but you want to allow local connections to port 25 # on the server (e.g. for webmail or web scripts) then enable this option to # allow outgoing SMTP connections to the loopback device SMTP_ALLOWLOCAL = "1"
    0
  • Spirogg
    SMTP_BLOCK itself doesn't have any values except on or off. Do you also have this option enabled? # If SMTP_BLOCK is enabled but you want to allow local connections to port 25 # on the server (e.g. for webmail or web scripts) then enable this option to # allow outgoing SMTP connections to the loopback device SMTP_ALLOWLOCAL = "1"

    Yes it"s on enabled. And still it won"t allow postmarkapp mail to be sent for xenforo notifications. example smtp_block is on Smtp_allowlocal is on But when I try to private message someone in xenforo it shows can"t send error because port 25 is blocked But if I turn off smtp_block it will allow for Xenforo script to send emails. - that"s why I was hoping to allow the ip"s blocks from the mail service to port 25 and it might work. ?
    0
  • cPRex Jurassic Moderator
    I did some more reading on this and found the "SMTP_ALLOWUSER" or "SMTP_ALLOWGROUP" options, which should let you bypass the SMTP_BLOCK feature on the system for the certain users you allow. Can you test that?
    0
  • Spirogg
    I did some more reading on this and found the "SMTP_ALLOWUSER" or "SMTP_ALLOWGROUP" options, which should let you bypass the SMTP_BLOCK feature on the system for the certain users you allow. Can you test that?

    @cPRex - Y O U A R E T H E B. E. S. T. That worked. I added to SMTP_ALLOWUSER the user account of the domain there was only cPanel in that field, so I added cPanel,mydomainsuseraccount then saved and restarted and tried again in XenForo script to reply to someone in a conversation and it sent the email notification... YOU my friend are the best .. thank you so so much I wish I could donate to you for always helping us... if you have a donate button I would be more than happy to donate.. :) Kind Regards, Spiro
    0
  • cPRex Jurassic Moderator
    You're very welcome!!!!
    0

Please sign in to leave a comment.