Results 1 to 10 of 19

Thread: Zimbra 8 Restrict Posfix Senders?

Hybrid View

  1. #1
    Join Date
    Jan 2011
    Posts
    6
    Rep Power
    4

    Default Zimbra 8 Restrict Posfix Senders?

    What is the best way to restrict postfix senders in Zimbra 8 so that users cannot send using a FROM address other than their own?

    I've tried modifying the instruction here:
    RestrictPostfixSenders - Zimbra :: Wiki

    By using zmlocalconfig -e postfix_<variable_name>=<value>

    To set the values (since main.cf) doesn't exist in Zimbra 8. When I look at the posfix configuration, it appears correct, but testing has proven that it is not blocking faked FROM addresses.

    Any help is appreciated.

  2. #2
    Join Date
    Feb 2012
    Posts
    10
    Rep Power
    3

    Default

    Did you find any solution for this ?

  3. #3
    Join Date
    Jan 2008
    Posts
    223
    Rep Power
    7

    Default

    There is a minor change in file locations . Check and you should be through .you can find the same in other post.

  4. #4
    Join Date
    Feb 2012
    Posts
    10
    Rep Power
    3

    Default What am i doing wrong here

    I have added This on zmconfigd.cf

    Code:
    POSTCONF smtpd_sender_restrictions FILE zmconfigd/smtpd_sender_restrictions.cf
    POSTCONF smtpd_sender_login_maps FILE zmconfigd/postfix_sender_login_maps.cf
    I already had rest of file from previous installation(before upgrade)

    Code:
    zimbra@mail:~/conf$ cat zmconfigd/postfix_sender_login_maps.cf
    hash:/opt/zimbra/conf/exceptions-db
    ldap:/opt/zimbra/conf/ldap-restricrelay.cf
    Code:
    zimbra@mail:~/conf$ cat /opt/zimbra/conf/ldap-restricrelay.cf
    server_host = ldap://mail.mycompany.com:389 >----- Doman Hidden i have place the actual domain here
    server_port = 389
    search_base =
    query_filter = (&(|(uid=%s)(zimbraMailDeliveryAddress=%s)(zimbraMailAlias=%s)(zimbraMailCatchAllAddress=%s))(zimbraMailStatus=enabled))
    result_attribute = uid,zimbraMailDeliveryAddress,zimbraMailForwardingAddress,zimbraPrefMailForwardingAddress,zimbraMailCatchAllForwardingAddress
    version = 3
    start_tls = yes
    tls_ca_cert_dir = /opt/zimbra/conf/ca
    bind = yes
    bind_dn = uid=zmpostfix,cn=appaccts,cn=zimbra
    bind_pw = <password> >--- Password hidden, I have place the right one
    timeout = 30
    Used Swaks to sent mail and the authenticated user was able to sent email out with spoofed domain part..

    Now i am lost why isn't it working.. If you could explain what i did wrong it would be really helpfull. This small config has kept my server clean for 8 months. Upgraded yesterday already spam attack has happened...


    Main.cf entry

    Code:
    smtpd_sender_login_maps = hash:/opt/zimbra/conf/exceptions-db, ldap:/opt/zimbra/conf/ldap-restricrelay.cf

  5. #5
    Join Date
    Feb 2012
    Location
    USA
    Posts
    6
    Rep Power
    3

    Default

    Having the same exact issue, everything configured properly as far as I can tell, but will not restrict sending from unauthorized email/domain addresses.

    Has anyone been successful in restricting, can you offer any additional advice?

    Thank You.

  6. #6
    Join Date
    Feb 2012
    Posts
    10
    Rep Power
    3

    Default

    No one knows how to enable this ?

Similar Threads

  1. Restrict Postfix Senders
    By nwhit in forum Administrators
    Replies: 6
    Last Post: 08-22-2011, 06:47 PM
  2. how to restrict senders by COS
    By fmodola in forum Administrators
    Replies: 2
    Last Post: 10-11-2010, 02:22 PM
  3. [SOLVED] How to restrict senders at the &quot;mail from&quot; command?
    By Thiago Camargo Martins in forum Administrators
    Replies: 14
    Last Post: 07-12-2010, 10:43 PM
  4. Restrict senders on Local domain only
    By Samp in forum Administrators
    Replies: 0
    Last Post: 11-30-2009, 07:40 AM
  5. Replies: 4
    Last Post: 08-12-2008, 05:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •