Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-27-2010, 02:01 PM
Junior Member
 
Posts: 9
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.
Reply With Quote
  #2 (permalink)  
Old 07-27-2010, 07:59 PM
Active Member
 
Posts: 26
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...
Reply With Quote
  #3 (permalink)  
Old 07-27-2010, 08:33 PM
Junior Member
 
Posts: 9
Default

Thanks. I appreciate it.
Reply With Quote
  #4 (permalink)  
Old 07-27-2010, 11:15 PM
Active Member
 
Posts: 26
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.
Reply With Quote
  #5 (permalink)  
Old 10-27-2010, 08:23 AM
Active Member
 
Posts: 26
Default

Dear friends, the procedure is working.
Now I'm working to extend this feature to the open relay networks.
Reply With Quote
  #6 (permalink)  
Old 08-19-2011, 06:48 AM
Intermediate Member
 
Posts: 18
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
Reply With Quote
  #7 (permalink)  
Old 08-22-2011, 06:47 PM
Member
 
Posts: 13
Default

In zmmta.cf file, there are 2 lines with the same value
Quote:
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!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.