- 1 Zimbra and Italian PEC
- 2 Free SSL
Zimbra and Italian PEC
08/08/2011 - As every italian zimbra syadm, i am faced with pec and zimbra-pec integretion.
Maybe I am near to solve it
All interesting references
Postfix SMTP client does not support TCP port 465
We have an issue: zimbra can connect to submission 587 port, *only*.
Aruba, in italy, accept connection on 465 port (old and deprecated, but aruba is aruba)
Here it is explained in detail:
The Postfix SMTP client does not support the obsolete "wrappermode" protocol, which uses TCP port 465 on the SMTP server. See TLS_README for a solution that uses the stunnel command
I have implemented stunnel solution, but I is unuseful at all; we cannot do sasl authentication on a cleartext port
Configuring Sender-Dependent SASL authentication
Postfix supports different ISP accounts for different sender addresses (version 2.3 and later). This can be useful when one person uses the same machine for work and for personal use, or when people with different ISP accounts share the same Postfix server.
To make this possible, Postfix supports per-sender SASL passwords and per-sender relay hosts. In the example below, the Postfix SMTP client will search the SASL password file by sender address before it searches that same file by destination. Likewise, the Postfix trivial-rewrite(8) daemon will search the per-sender relayhost file, and use the default relayhost setting only as a final resort.
/etc/postfix/main.cf: smtp_sender_dependent_authentication = yes sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd relayhost = [mail.isp.example] # Alternative form: # relayhost = [mail.isp.example]:submission
/etc/postfix/sasl_passwd: # Per-sender authentication; see also /etc/postfix/sender_relay. firstname.lastname@example.org username2:password2 email@example.com username2:password2 # Login information for the default relayhost. [mail.isp.example] username:password # Alternative form: # [mail.isp.example]:submission username:password
/etc/postfix/sender_relay: # Per-sender provider; see also /etc/postfix/sasl_passwd. firstname.lastname@example.org [mail.example.com]:submission email@example.com [mail.example.net]
Zimbra bug on Configuring Sender-Dependent SASL authentication
So, you have your account primary and many personalities.
You configure one of them with PEC credentials and data.
You should configure this account on sender_relay:
/opt/zimbra/postfix/conf/sender_relay firstname.lastname@example.org_con_pec.it mail.example.net
but this does not work!
Even if you send out an email using your pec personality, zimbra use always the primary one.
Freessl are installed.
I was faced with task of installing RapidSsl; i started with freessl as trial. I followed wiki on commercial 5.x but there is no way to install them using Admin GUI; using the CLI,instaed, they were installed like a charm.
Unified Communications Certificates (UCC)
Now, i am faced with this issue, but no zimbra employer has yet answered related post.
21-08-2008 as freessl cert is near to expire, i bought a final rapidssl cert paying it 18$ only (i cannot say where i get it, though) it was a nightmare to install it. i received it by mail and i save it without adding a cr at the end of last line.
zmcertmgr does concat
zmcertmgr does concat commercial.crt with commercial_ca.crt, and withou ending cr u get:
END CERTIFICATE----------BEGIN CERTIFICATE-----
finally, i discovered this small issue and i files a bug into bugzilla