Hi,
I wonder what port is used for sending emails out when logged in at web client, and which one is used when sending emails from within Zimbra Desktop? How can I force port 587 usage for both send outs?
Thanks!
Hi,
I wonder what port is used for sending emails out when logged in at web client, and which one is used when sending emails from within Zimbra Desktop? How can I force port 587 usage for both send outs?
Thanks!
This is kinda related to this thread started by me. I'm not sure about the concept behind this, but I'd like to have all outbound emails to be dk signed, and am not sure if they will when using the howto from the link I've posted in my other thread.
When using the Web UI & ZD (connected to a Zimbra server) you use port 80 (or preferably the more secure port 443) to compose an email and send it to the server, when mail is sent from the server to the outside world it uses Port 25 - the same as every other MTA.
Regards
Bill
Thanks for responding.
Sure, right, that's understandable. But what I want to achieve is to have all emails signed, no matter from where they were sent (ZD/web) and all guides say I should use port 587 for that.
Can this be changed somehow and how? Is there any other way of signing emails when using DKIMProxy that I'm not aware about?
Use this instead (I use it and it works well): How to get DKIM (DomainKeys Identified Mail) working with Postfix on RHEL 5 / CentOS 5 using OpenDKIM – Steve Jenkins' Blog
Regards
Bill
Awesome! Will try that and get back to you if it helps!
One more thing - I'm using MailArchiva thus having some options already set:
and I have changed default milter port to chosen_port (same one from above) withCode:smtpd_milters = inet:mailarchiva_IP:chosen_port milter_default_action = tempfail
and that setup works. Now, what needs to be done in order to leave MailArchiva working? Would it be enough if I manually change and add a line like this:Code:zmprov ms mail.server.com zimbraMilterBindPort chosen_port
Or should I perform something else? Will I need to switch zimbraMilterBindPort to something else in that case? Should I leave milter_default_action to tempfail or change it to accept (as shown in that howto of yours)?Code:smtpd_milters = inet:mailarchiva_IP:chosen_port, inet:127.0.0.1:20209
I'd appreciate any advice in regards to this, as it seems to me that I'm circling around...
You already helped me alot!
Last edited by kaosmonk; 04-26-2011 at 12:13 PM.
Ok, just to check if I'm moving to the right direction... judging by this link, non_smtpd_milters are used for signing only, but I believe that in my case, it wont hurt to have them included in smtpd_milters line too, right? The page also says that milter_default_action shouldn't be set to 'tempfail' as non_smtpd_milters will report a config error; but later on, text says that shouldn't be the problem for mail filters that digitally sign emails...
So... I my case, I suppose I should have something like this:
If I understood it right, I may leave the last parameter at 'tempfail' as it wont affect filter for digitally signing mails, right?Code:smtpd_milters = inet:mailarchiva_ip:portnumber, inet:localhost:dkim_port non_smtpd_milters = inet:localhost:dkim_port milter_default_action = tempfail
If all this make sense, what I should set for zimbraMilterBindPort at the end?
Hi phoenix, can you please shed some light up to this matter? Would really appreciate it!Thanks!
I have tried to setup this by changing main.cf file and adding
but as soon as I run 'zmmtactl restart', main.cf file gets rewritten. 192.168.6.109 is an IP address of MailArchiva server.Code:smtpd_milters = inet:192.168.6.109:8092, inet:127.0.0.1:20209 non_smtpd_milters = inet:127.0.0.1:20209 milter_default_action = accept milter_protocol = 2
If I try to add another IP address from within Zimbra Admin panel: Server Settings > MTA > Milter Server > MilterServerBindAddress> 127.0.0.1, in main.cf I can see the line
which I believe is not what I need, as only one port is shown...Code:smtpd_milters = inet:192.168.6.109 127.0.0.1:8092
and if afterwards I try to set non_smtpd_milters as
and after running 'zmmtactl restart' I getCode:non_smtpd_milters = inet:127.0.0.1:20209
What am I doing wrong here? How can I setup both smtpd_milters and non_smtpd_milters to values I want them to have?/opt/zimbra/conf/mta_milter_options: line 2: 127.0.0.1: command not found
bumping this thread - any idea on how to resolve this?
There are currently 1 users browsing this thread. (0 members and 1 guests)