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 04-28-2011, 04:33 PM
Junior Member
 
Posts: 6
Default DKIM non_smtpd_milters='' Under Zimbra 7.0

Hi i follow many links about this subject and i have one mistake than i can't resolve

After a zmmtactl restart it rewrite fine smtpd_milters but non_smtpd_milters stay empty in /opt/zimbra/postfix/conf/main.cf

Code:
smtpd_milters = inet:localhost:8891
non_smtpd_milters = 
milter_default_action = accept
milter_protocol = 2
And it give me two errors
milter.log
Code:
ERROR [main] [] milter - Unable to start milter server: system failure: Could not bind to port=8891 bindaddr= ssl=false useChannels=true
zimbra.log
Code:
postfix/smtpd[2059]: warning: connect to Milter service inet:127.0.0.1:8891: Connection refused
¿ Could you help me with this information, or do you need all steps i do?
Best Regards
Reply With Quote
  #2 (permalink)  
Old 04-29-2011, 11:22 AM
Intermediate Member
 
Posts: 19
Default

What's the output of
Code:
netstat -antup | grep 8891
Seems like some service/app is lstening to that very port, but I might be wrong...
Reply With Quote
  #3 (permalink)  
Old 04-29-2011, 12:21 PM
Junior Member
 
Posts: 6
Default

Hi, thanks for the answer, it only listen DKIM
Quote:
# netstat -antup | grep 8891
tcp 0 0 XXX.XXX.19.242:8891 0.0.0.0:* LISTEN 1613/dkim-filter
Reply With Quote
  #4 (permalink)  
Old 04-29-2011, 01:50 PM
Intermediate Member
 
Posts: 19
Default

Try to restart milter-dkim service or even, change your listening socket port to something different than 8891 that is not already in use.
What howto you were using while setting this? What exactly did you do?
Reply With Quote
  #5 (permalink)  
Old 04-29-2011, 03:17 PM
Junior Member
 
Posts: 6
Default

Hi kaosmonk, this is what i do.

1.- I follow the instruction from Debian Tutorual for DKIM steps 1 to 8

2.- Restart Zimbra
Code:
su - zimbra
zmmtactl restart
And Zimbra reconfigure information from /opt/zimbra/postfix/conf/main.cf to look like that
Code:
milter_default_action = accept
milter_protocol = 2
smtpd_milters=
non_smtpd_milters=
3.- Verify Milter Port on Zimbra and change to 8091 following this link Change default Milter Port
Code:
zmprov gs mail.servermail.com zimbraMilterBindPort
# name mail.servermail.com
#zimbraMilterBindPort: 7026

zmprov ms mail.servermail.com zimbraMilterBindPort 8091
# name mail.servermail.com
#zimbraMilterBindPort: 8891
4.- Activate Milter Server following this link DKIM Milter not Workon Zimbra Admin Console

'Server Settings' > 'MTA' tab > and check the 'Milter Server' box.
Code:
zmmtactl restart
And Zimbra reconfigure information from /opt/zimbra/postfix/conf/main.cf to look like that
Code:
milter_default_action = accept
milter_protocol = 2
smtpd_milters = inet:127.0.0.1:8891
non_smtpd_milters=
5.- I have milter.log and zimbra.log with errors

I hope with this you can figurate what am i doing wrong

Best Regards
Reply With Quote
  #6 (permalink)  
Old 04-29-2011, 04:17 PM
Elite Member
 
Posts: 334
Default

Hi Kory,
Quote:
Originally Posted by kory View Post
Hi i follow many links about this subject and i have one mistake than i can't resolve

Code:
ERROR [main] [] milter - Unable to start milter server: system failure: Could not bind to port=8891 bindaddr= ssl=false useChannels=true
It seems that you already bind port 8891 to another milter, possibly the default milter on Zimbra Admin | Global Setting | MTA. Try to resetting the default port of Zimbra milter, 7026 and then restart your Zimbra Service

Ref :

[SOLVED] Change default milter server bind port

[SOLVED] DKIM milter not working after upgrade to version 7

[SOLVED] Problem with milters
__________________
Best Regards
---
Masim "Vavai" Sugianto
Vavai Personal Blog
Personal Blog [ID]

Release 7.1.3_GA_3346.SLES11_64_20110930001521 SLES11_64 FOSS edition.
Reply With Quote
  #7 (permalink)  
Old 04-29-2011, 05:19 PM
Junior Member
 
Posts: 6
Default

DKIM Steps

Hi kaosmonk, vavai, i don't know what i do but my last post dont appears.


Quote:
It seems that you already bind port 8891 to another milter, possibly the default milter on Zimbra Admin | Global Setting | MTA. Try to resetting the default port of Zimbra milter, 7026 and then restart your Zimbra Service
Hi Vavai you are correct i try to use another milter because i want my domain being authenticated using DKIM, using the default port 7026 i don't have MTA errors, but it did'nt authenticated my domain

Hi kaosmonk, this are the steps i do

1.- I Follow Setup DKIM Postfix from 1 to 8 steps

2.- Restart zmmtactl
Code:
su - zimbra
zmmtactl restart
3.- Check /opt/zimbra/postfix/conf/main.cf and i have
Code:
milter_default_action = accept
milter_protocol = 2
smtpd_milters =
non_smtpd_milters=
4.- Change port of Zimbra Milter SOLVE Change default milter

Code:
zmprov gs mail.server.com zimbraMilterBindPort
# name mail.server.com
#zimbraMilterBindPort: 7026

zmprov ms mail.server.com zimbraMilterBindPort 8091
# name mail.server.com
#zimbraMilterBindPort: 8891
5.- In Zimbra Admin Console go 'Server Settings' > 'MTA' tab > and check the 'Milter Server' box. Add your hostname/IP, save your settings and issue a 'zmmtactl restart'. SOLVE DKIM Milter not Working

Restart zmmtactl
Code:
su - zimbra
zmmtactl restart
6.- Check again /opt/zimbra/postfix/conf/main.cf
Code:
milter_default_action = accept
milter_protocol = 2
smtpd_milters = inet:127.0.0.1:8891
non_smtpd_milters=
I hope whit this you know what am i doing wrong

Best Regards
Reply With Quote
  #8 (permalink)  
Old 04-30-2011, 02:11 PM
Junior Member
 
Posts: 6
Default

Hi, i change dkim-filter for opendkim and Zimbra dont show any errors , but when i send an email to autorespond+dkim@dk.elandsys.com to test, it return to me

Code:
DKIM Signature validation: not available
DomainKeys Signature validation: not available
DomainKeys Policy: no DNS record for _domainkey.nibi.com
DKIM Author Domain Signing Practices: no DNS record for _adsp._domainkey.nibi.com
But im my DNS i have
Code:
nibi.com.   IN TXT          "v=spf1 a mx include:nibi.com ~all"
selector._domainkey IN TXT "v=DKIM1; g=*; k=rsa; p=MIGfMA0GCSqGSIb3D...."
My logic say, the problem is not on Zimbra, because there are no errors and i can send and recive mails, but my DNS look fine

Code:
dig any selector._domainkey.nibi.com
selector._domainkey.nibi.com. 86317 IN TXT	"v=DKIM1\; g=*\; k=rsa\; p=MIGfMA0GCSqGSIb3D...."
Any idea, of what i missing?

Best Regards
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.