Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member SubZero's Avatar
    Join Date
    Apr 2005
    Location
    Balmumcu, Istanbul, TR
    Posts
    100

    Default require verify = sender/callout but if $interface_port is 587 require verify = sender

    Hi,

    I want to set something here. I have this in my current config:

    Code:
      require verify          = sender/callout
      accept  domains         = +local_domains
              endpass
              message         = "The recipient cannot be verified.  Please check all recipients of this message to verify they are valid."
              verify          = recipient
    I want to add something like this:
    if the interface port is 587, don't use the callout function. Please help me to join theese two.

    Code:
              condition       = ${if eq{$interface_port}{587}{yes}{no}}
    Code:
      require verify          = sender
    Awaiting your answers.
    WHM 10.8.0 cPanel 10.8.2-C110
    CentOS 3.7 i686 - WHM X v3.1.0
    (nightly auto-updated at 6:00 GMT)

  2. #2
    Member
    Join Date
    Nov 2003
    Posts
    87

    Default

    Code:
    deny
      condition = ${if eq{$interface_port}{587}{no}{yes}}
      !verify   = sender/callout

  3. #3
    Member SubZero's Avatar
    Join Date
    Apr 2005
    Location
    Balmumcu, Istanbul, TR
    Posts
    100

    Default

    So nisse, all I have to do is this:

    Code:
      deny    condition       = ${if eq{$interface_port}{587}{no}{yes}}
              !verify         = sender/callout
      accept  domains         = +local_domains
              endpass
              message         = "The recipient cannot be verified.  Please check all recipients of this message to verify they are valid."
              verify          = recipient
    Right?
    WHM 10.8.0 cPanel 10.8.2-C110
    CentOS 3.7 i686 - WHM X v3.1.0
    (nightly auto-updated at 6:00 GMT)

  4. #4
    Member
    Join Date
    Nov 2003
    Posts
    87

    Default

    Yep, that should do it.

  5. #5
    Member SubZero's Avatar
    Join Date
    Apr 2005
    Location
    Balmumcu, Istanbul, TR
    Posts
    100

    Smile

    but where is the
    Code:
              verify          = sender
    part here?
    Last edited by SubZero; 10-30-2005 at 06:44 AM.
    WHM 10.8.0 cPanel 10.8.2-C110
    CentOS 3.7 i686 - WHM X v3.1.0
    (nightly auto-updated at 6:00 GMT)

  6. #6
    Member
    Join Date
    Nov 2003
    Posts
    87

    Default

    It's in the second line.

    What it's saying is:

    - verify the sender if the port isn't 587, and
    - if the sender verification fails, don't accept the message.

  7. #7
    Member
    Join Date
    Nov 2003
    Posts
    87

    Default

    Ah, sorry - I see what you're trying to do now.

    This should do it:

    Code:
    deny
      condition = ${if eq{$interface_port}{587}{no}{yes}}
      !verify   = sender/callout
    
    deny
      condition = ${if eq{$interface_port}{587}{yes}{no}}
      !verify   = sender

Similar Threads & Tags
Similar threads

  1. verify = sender/callout change?
    By ShaneK in forum E-mail Discussions
    Replies: 8
    Last Post: 12-18-2007, 08:11 AM
  2. Bypass sender verify callout for recipients
    By deadlock in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 08-29-2007, 10:12 AM
  3. Disable 'sender verify callout' or not?
    By babakb in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 08-09-2007, 03:10 AM
  4. sender verify callout question
    By shann in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 07-02-2007, 11:55 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube