You are not logged in.
Hello,
I have a postfix server running since half a year now. It worked perfectly well until I added pop/imap support (using dovecot). I can log in to update my mailbox on a remote computer. I wanted to be able to send mail from that remote computer so I configured postfix to use sasl. After a few hours fighting with the configuration options, I can send mail to the internet. My problem is: the internet cannot send mail to me...
I have a gmail account configured to transfer mail to my postfix installation. When I try to send an email to that account, the log show:
Jun 2 13:25:31 alarmpi postfix/submission/smtpd[743]: connect from unknown[192.168.1.19]
Jun 2 13:25:32 alarmpi postfix/submission/smtpd[743]: Anonymous TLS connection established from unknown[192.168.1.19]: TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)
Jun 2 13:25:40 alarmpi postfix/submission/smtpd[743]: CC34C820FC: client=unknown[192.168.1.19], sasl_method=PLAIN, sasl_username=roptat@mydomain.no-ip.org
Jun 2 13:25:40 alarmpi postfix/cleanup[745]: CC34C820FC: message-id=<20130602112602.GA4812@mydomain.no-ip.org>
Jun 2 13:25:40 alarmpi postfix/qmgr[713]: CC34C820FC: from=<roptat@mydomain.no-ip.org>, size=613, nrcpt=1 (queue active)
Jun 2 13:25:40 alarmpi postfix/submission/smtpd[743]: disconnect from unknown[192.168.1.19]
Jun 2 13:25:42 alarmpi postfix/smtp[746]: CC34C820FC: to=<roptat@gmail.com>, relay=smtp.orange.fr[193.252.22.64]:25, delay=1.3, delays=0.17/0.12/0.26/0.75, dsn=2.0.0, status=sent (250 2.0.0 jPUZ1l0080atLbX03PUZer mail accepted for delivery)
Jun 2 13:25:42 alarmpi postfix/qmgr[713]: CC34C820FC: removed
Jun 2 13:25:44 alarmpi postfix/submission/smtpd[743]: connect from mail-ee0-f42.google.com[74.125.83.42]
Jun 2 13:25:45 alarmpi postfix/submission/smtpd[743]: Anonymous TLS connection established from mail-ee0-f42.google.com[74.125.83.42]: TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)
Jun 2 13:25:45 alarmpi postfix/submission/smtpd[743]: NOQUEUE: reject: RCPT from mail-ee0-f42.google.com[74.125.83.42]: 554 5.7.1 <roptat@mydomain.no-ip.org>: Recipient address rejected: Access denied; from=<roptat+caf_=roptat=mydomain.no-ip.org@gmail.com> to=<roptat@mydomain.no-ip.org> proto=ESMTP helo=<mail-ee0-f42.google.com>
Jun 2 13:25:45 alarmpi postfix/submission/smtpd[743]: disconnect from mail-ee0-f42.google.com[74.125.83.42]
and my configuration:
alias_database = $alias_maps
alias_maps = hash:/etc/postfix/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
default_privs = nobody
home_mailbox = Maildir/
html_directory = no
in_flow_delay = 1s
inet_interfaces = all
inet_protocols = ipv4
local_recipient_maps = unix:passwd.byname $alias_maps
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailbox_command = procmail -a "$EXTENSION"
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost
mydomain = no-ip.org
myhostname = mydomain.no-ip.org
mynetworks = 127.0.0.0/8, 192.168.1.0/24
mynetworks_style = class
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix
relay_domains = $mydestination, smtp.orange.fr, 192.168.1.0/24
relayhost = smtp.orange.fr
sample_directory = /etc/postfix/sample
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = mydomain.no-ip.org
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 550
Thank you for your advices.
Offline