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 10-05-2009, 01:43 AM
Intermediate Member
 
Posts: 17
Default IP Address Whitelisting

Hi,

I have followed the following wiki article:

http://wiki.zimbra.com/index.php?tit...s_whitelisting

but still the mails are rejected but now with the following message:

name@example.com>: connect to 127.0.0.1[127.0.0.1]:10026:

Connection refused

This is the warning received by the sender.

There is now firewall between (everything is on localhost, no iptables).

Before this setup the sender received the following errors:

<<< 450 4.7.1 Client host rejected: cannot find your hostname, [xx.xx.xx.xx]
<name@example.com>... Deferred: 450 4.7.1 Client host rejected: cannot find your hostname, [xx.xx.xx.xx]
But I need to keep Anti Spam settings.


I have ZCS 6.0 on Ubuntu 8.04 64bit.
Please advise.

Thanks.
Reply With Quote
  #2 (permalink)  
Old 10-05-2009, 02:06 AM
Moderator
 
Posts: 7,928
Default

Please check /var/log/zimbra.log for any error messages from postfix when it starts as you may have a error in your configuration.
__________________
Reply With Quote
  #3 (permalink)  
Old 10-06-2009, 12:58 AM
Intermediate Member
 
Posts: 17
Default

Quote:
Originally Posted by uxbod View Post
Please check /var/log/zimbra.log for any error messages from postfix when it starts as you may have a error in your configuration.
Nothing relevant, only:

postfix/smtp[29915]: connect to 127.0.0.1[127.0.0.1]:10026: Connection refused

it is like amavis doesn't listen on 10026 too.
I didn't pay attanetion to details like how the ports should be specified:
10024,10026; or 10024, 10026;
in the wiki article there is a space between them, in my setup also..

Thanks.
Reply With Quote
  #4 (permalink)  
Old 10-06-2009, 01:01 AM
Moderator
 
Posts: 7,928
Default

Would you post the files you have changed please so that we may check the syntax.
__________________
Reply With Quote
  #5 (permalink)  
Old 10-06-2009, 04:26 AM
Outstanding Member
 
Posts: 594
Default

Amavis port is changed as far as i see from 10024 to 10026. Was it intentional ?
Reply With Quote
  #6 (permalink)  
Old 10-06-2009, 04:37 AM
Intermediate Member
 
Posts: 17
Default

Quote:
Originally Posted by uxbod View Post
Would you post the files you have changed please so that we may check the syntax.
amavis.conf.in:

$inet_socket_port = 10024, 10026; # listen on this local TCP port(s) (see $protocol)
$interface_policy{'10026'} = 'CLIENTWHITELIST';
$policy_bank{'CLIENTWHITELIST'} = {
bypass_spam_checks_maps => [1],
final_spam_destiny => D_PASS,
};

and added:
amavis_client_whitelist (like in the article) with the following content:
xx.xx.xx.xx FILTER smtp-amavis:[127.0.0.1]:10026 (where xx.xx.xx.xx is the IP to be whitelisted)

and all the other details specified in the article.

Thanks.
Reply With Quote
  #7 (permalink)  
Old 10-06-2009, 04:45 AM
Moderator
 
Posts: 7,928
Default

Code:
$inet_socket_port = [10024, 10026];
__________________
Reply With Quote
  #8 (permalink)  
Old 10-06-2009, 04:53 AM
Outstanding Member
 
Posts: 594
Default

How can you have service listen on 2 different ports at same time ?
Reply With Quote
  #9 (permalink)  
Old 10-06-2009, 04:58 AM
Moderator
 
Posts: 7,928
Default

It will fork two different processes.
__________________
Reply With Quote
  #10 (permalink)  
Old 10-06-2009, 04:59 AM
Intermediate Member
 
Posts: 17
Default

Quote:
Originally Posted by veronica View Post
How can you have service listen on 2 different ports at same time ?
That shouldn't be a problem, I also have postfix listening on two different ports for standard SMTP and two different ports for SSL/TLS SMTP.

Amavis listening on two different ports in order to have IP white listing is described here:
IP Address whitelisting - Zimbra :: Wiki

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.