Hi,
here are my postconf -n data, I removed some sensitive data, but I think this
should be enough for debugging:
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
home_mailbox = .mailbox/
inet_protocols = ipv4
mailbox_command = /usr/lib64/dovecot/deliver
mydestination = <all domains>, localhost
myhostname = <main domain>
mynetworks = localhost <IP and domain>
myorigin = /etc/mailname
readme_directory = no
recipient_delimiter = +
relayhost =
smtp_sasl_auth_enable = no
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_client_restrictions =
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_helo_required = yes
smtpd_helo_restrictions = reject_invalid_hostname
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated, reject_unauth_destination,
reject_invalid_hostname, reject_unknown_sender_domain,
check_policy_service inet:127.0.0.1:10023
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_path = smtpd
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = cyrus
smtpd_sender_restrictions = reject_non_fqdn_sender,
reject_unknown_sender_domain
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = <ssl pem>
smtpd_tls_key_file = <ssl key>
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
Greetings,
Malte
-----Ursprüngliche Nachricht-----
Von: Patrick Ben Koetter [mailto:[email protected]]
Gesendet: Mittwoch, 17. August 2011 22:43
An: [email protected]
Betreff: Re: AW: [SOGo] Error with recipient
Malte,
* Francis Lachapelle <[email protected]>:
> Hi Malte
>
> On 2011-08-17, at 2:49 PM, <[email protected]> <[email protected]>
> wrote:
>
> > here the relevant lines of the postfix log:
> >
> > Aug 17 18:39:49 v220101057154023 postfix/smtpd[7069]: connect from
> > localhost.localdomain[127.0.0.1] Aug 17 18:39:49 v220101057154023
> > postfix/smtpd[7069]: NOQUEUE: reject: RCPT from
> > localhost.localdomain[127.0.0.1]: 554 5.7.1 <[email protected]>: Relay
> > access denied; from=<*********> to=<[email protected]> proto=ESMTP
> > helo=<localhost.localdomain> Aug 17 18:39:49 v220101057154023
> > postfix/smtpd[7069]: disconnect from
> > localhost.localdomain[127.0.0.1]
> >
> > My configuration of the postfix parameters "mydestination" and "mynetworks"
> > is the following:
> > mydestination: >my domains<, >localhost<
> > mynetworks: >localhost<, >my IP<, >my domain< What should be changed
> > in order to send email via SOGo. Everything works fine using
> > Roundcube or directly connecting to SMTP server via other clients.
>
> Maybe you should explicitly use 127.0.0.1 in "mynetworks".
>
> Otherwise, is "permit_mynetworks" appears in smtpd_client_restrictions?
Sorry, if I interrupt. You won't get the picture if you ask for
permit_mynetworks or anything alike if you don't know about other options that
control how restrictions are evaluated.
> postconf smtpd_client_restrictions
Please send "postconf -n" to debug this.
p@rick
--
state of mind ()
http://www.state-of-mind.de
Franziskanerstraße 15 Telefon +49 89 3090 4664
81669 München Telefax +49 89 3090 4666
Amtsgericht München Partnerschaftsregister PR 563
--
[email protected]
https://inverse.ca/sogo/lists
--
[email protected]
https://inverse.ca/sogo/lists