Hello,
I have a problem on a configuration SOGo / dovecot / postfix and SQL
Authentication (mysql) on a same server.
On a blackberry Q5, with ActiveSync account, I can read and add
contacts, read and add events on calendars, read emails but can not send
them.
I also have this problem whenI use the web interface SOGo :
"cannot send message: (smtp) originator not accepted"
This same email account configured with imaps and submission works
perfectly, so I think the problem
is between SOGo and postfix, probably in the declaration of smtp server
but for me, everything seems ok.
What debugging options between SOGo and POSTFIX do I enable to
understand the origin of the problem?
Thank you in advance
Postfix / main.cf
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
append_dot_mydomain = no
readme_directory = no
myhostname = test.local.org
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = localhost
relayhost = [smtp.xyz.fr]
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
virtual_mailbox_domains =
mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf
sender_dependent_relayhost_maps =
mysql:/etc/postfix/mysql-sender_relay_hosts.cf
sender_canonical_maps = mysql:/etc/postfix/mysql-sender-canonical-maps.cf
recipient_canonical_maps =
mysql:/etc/postfix/mysql-recipient-canonical-maps.cf
smtp_generic_maps = mysql:/etc/postfix/mysql-sender-canonical-maps.cf
transport_maps = mysql:/etc/postfix/mysql-transport-maps.cf
smtpd_tls_cert_file = /etc/postfix/certs/postfix_.pem
smtpd_tls_key_file = /etc/postfix/private/postfix_.pem
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtp_sasl_password_maps =
mysql:/etc/postfix/mysql-sender_relay_hosts_auth.cf
smtp_sender_dependent_authentication = yes
smtp_sasl_security_options = noanonymous
smtp_use_tls = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
smtpd_tls_security_level = may
smtpd_tls_auth_only = yes
smtpd_recipient_restrictions = permit_mynetworks
permit_sasl_authenticated reject_unauth_destination
smtpd_client_restrictions = permit_mynetworks, reject_plaintext_session
virtual_transport = lmtp:unix:private/dovecot-lmtp
dovecot_destination_recipient_limit = 1
SOGo / .GNUstepDefaults
<key>SOGoMailingMechanism</key>
<string>smtp</string>
<key>SOGoSMTPServer</key>
<string>127.0.0.1:587</string>
<key>SOGoSMTPAuthenticationType</key>
<string>PLAIN</string>
--
[email protected]
https://inverse.ca/sogo/lists