receive e-mail with postfix (blocked by....?)
thufir
hawat.thufir at gmail.com
Mon Dec 30 23:22:03 UTC 2013
I'm trying to receive only, not send, e-mail, using dovecot-postfix. I
think I have the mx record setup correctly:
thufir at dur:~$
thufir at dur:~$ dig dur.bounceme.net mx
; <<>> DiG 9.9.3-rpz2+rl.13214.22-P2-Ubuntu-1:9.9.3.dfsg.P2-4ubuntu1 <<>>
dur.bounceme.net mx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19885
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;dur.bounceme.net. IN MX
;; ANSWER SECTION:
dur.bounceme.net. 1800 IN MX 5 dur.bounceme.net.
;; Query time: 1564 msec
;; SERVER: 127.0.1.1#53(127.0.1.1)
;; WHEN: Mon Dec 30 15:13:36 PST 2013
;; MSG SIZE rcvd: 50
thufir at dur:~$
thufir at dur:~$ nslookup -query=mx dur.bounceme.net
Server: 127.0.1.1
Address: 127.0.1.1#53
Non-authoritative answer:
dur.bounceme.net mail exchanger = 5 dur.bounceme.net.
Authoritative answers can be found from:
thufir at dur:~$
thufir at dur:~$ nslookup dur.bounceme.net
Server: 127.0.1.1
Address: 127.0.1.1#53
Non-authoritative answer:
Name: dur.bounceme.net
Address: 96.55.205.166
thufir at dur:~$
thufir at dur:~$
and can send e-mail locally to myself. I want to receive e-mails from
the internet, however. I don't anticipate a need to send e-mail, and
don't want to re-send e-mail.
looking at:
http://www.anta.net/misc/telnet-troubleshooting/smtp.shtml
my setup looks ok:
thufir at dur:~$
thufir at dur:~$ nslookup dur.bounceme.net
Server: 127.0.1.1
Address: 127.0.1.1#53
Non-authoritative answer:
Name: dur.bounceme.net
Address: 96.55.205.166
thufir at dur:~$
thufir at dur:~$
thufir at dur:~$ postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
home_mailbox = Maildir/
inet_interfaces = all
mailbox_command = /usr/lib/dovecot/deliver -c /etc/dovecot/dovecot.conf -
m "${EXTENSION}"
mailbox_size_limit = 0
mydestination = dur.bounceme.net, localhost.bounceme.net, , localhost
myhostname = dur.bounceme.net
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
myorigin = /etc/mailname
readme_directory = no
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_recipient_restrictions = reject_unknown_sender_domain,
reject_unknown_recipient_domain, reject_unauth_pipelining,
permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated
defer_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_path = private/dovecot-auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = reject_unknown_sender_domain
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/dovecot/dovecot.pem
smtpd_tls_key_file = /etc/dovecot/private/dovecot.pem
smtpd_tls_mandatory_ciphers = medium
smtpd_tls_mandatory_protocols = SSLv3, TLSv1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
thufir at dur:~$
at least so far as I can tell. Why do messages to thufir at dur.bounceme.net
bounce? They should come through from gmail within a few minutes, I
would think, but they never do.
thanks,
thufir
More information about the ubuntu-users
mailing list