Results 1 to 7 of 7

Thread: Restrict Postfix Senders

  1. #1
    nwhit is offline Junior Member
    Join Date
    Jul 2009
    Posts
    9
    Rep Power
    6

    Default Restrict Postfix Senders

    I have followed the article RestrictPostfixSenders - Zimbra :: Wiki and verified the settings several times and it doesn't appear to restrict the senders to local domain users. I want to make sure that any email that is relayed through the server, even from allowed IP addresses, are restricted to MAIL FROM one of our domains. After following the wiki article I can still send out from any email account:

    [zimbra@mail ~]$ telnet localhost 25
    Trying 127.0.0.1...
    Connected to localhost.localdomain (127.0.0.1).
    Escape character is '^]'.
    220 mail.domain.com ESMTP Postfix
    HELO test.com
    250 mail.domain.com
    MAIL FROM: test@test.com
    250 2.1.0 Ok
    RCPT TO: testing@testing.com
    250 2.1.5 Ok
    DATA
    354 End data with <CR><LF>.<CR><LF>
    Testing
    .
    250 2.0.0 Ok: queued as 1E2354AB8001
    quit
    221 2.0.0 Bye
    Connection closed by foreign host.

    Any help?

    Release 6.0.7_GA_2473.RHEL5_64_20100616215237 CentOS5_64 FOSS edition.

  2. #2
    Thiago Camargo Martins is offline Active Member
    Join Date
    Mar 2008
    Location
    São Paulo - Brasil
    Posts
    26
    Rep Power
    7

    Default Hi!

    I have this setup working in my network, more precisely 12 Zimbra servers, both open source and network edition but, I'll review the entire procedure to help you guys...

  3. #3
    nwhit is offline Junior Member
    Join Date
    Jul 2009
    Posts
    9
    Rep Power
    6

    Default

    Thanks. I appreciate it.

  4. #4
    Thiago Camargo Martins is offline Active Member
    Join Date
    Mar 2008
    Location
    São Paulo - Brasil
    Posts
    26
    Rep Power
    7

    Default Hi!

    Guys, this procedure have some problems with the new versions of the Zimbra, me and my expert in Postfix's man are working to fix it immediatly.

  5. #5
    Thiago Camargo Martins is offline Active Member
    Join Date
    Mar 2008
    Location
    São Paulo - Brasil
    Posts
    26
    Rep Power
    7

    Default

    Dear friends, the procedure is working.
    Now I'm working to extend this feature to the open relay networks.

  6. #6
    leandropazc is offline Intermediate Member
    Join Date
    May 2011
    Posts
    20
    Rep Power
    4

    Default

    This procedure works in the Zimbra Open Source Edition 7?

    I tried it, and even so I can send emails from any email address.

    regards

  7. #7
    tonnuchimse is offline Member
    Join Date
    Aug 2011
    Posts
    13
    Rep Power
    3

    Default

    In zmmta.cf file, there are 2 lines with the same value
    POSTCONF smtpd_sender_restrictions LOCAL postfix_sender_restrictions
    POSTCONF smtpd_sender_restrictions FILE postfix_sender_restrictions
    In my case, I delete the first line (line with "LOCAL") and it works.
    Hope this help and good luck!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. postdrop fail to create file after upgrade to 5.0.3
    By echoadisan in forum Installation
    Replies: 23
    Last Post: 07-15-2013, 03:02 PM
  2. how to restrict senders by COS
    By fmodola in forum Administrators
    Replies: 2
    Last Post: 10-11-2010, 02:22 PM
  3. Replies: 9
    Last Post: 10-25-2009, 08:20 AM
  4. [SOLVED] Distribution list
    By chandu in forum Administrators
    Replies: 16
    Last Post: 04-02-2009, 05:17 AM
  5. changed ip addr/zmmailboxdctl not running
    By pwhite76 in forum Installation
    Replies: 23
    Last Post: 03-11-2009, 11:43 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
  •