Hi,
I am new to Linux/Ubuntu OS. I have installed Ubuntu 10.04 with Postfix and Dovecot for IMAP.
I can send emails out to external account (e.g. yahoo) with no problem. The problem is I can not receive emails from external account such as yahoo. Even more strangely, I can not receive emails internally within my domain.
I was wondering if anyone would be kind to check my main.cf as follows
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
readme_directory = /usr/share/doc/postfix
# TLS parameters
#smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
#smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
#smtpd_use_tls=yes
#smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
#smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
# myhostname = Ubuntu-MailServer.
www.mycompany.com.au
myhostname =
www.mycompany.com.au
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
# myorigin = /etc/mailname
myorigin = mycompany.com.au
# mydestination =
www.mycompany.com.au, Ubuntu-MailServer.
www.mycompany.com.au, localhost.
www.mycompany.com.au, localhost
mydestination =
www.mycompany.com.au, localhost
relayhost =
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
home_mailbox = Maildir/
html_directory = /usr/share/doc/postfix/html
I have also found some warnings from mail.log as follows
Oct 22 02:30:02 Ubuntu-MailServer postfix/smtp[19995]: warning: host
www.mycompany.com.au[152.56.77.100]:25 greeted me with my own hostname
www.mycompany.com.au
Oct 22 02:30:02 Ubuntu-MailServer postfix/smtp[19995]: warning: host
www.mycompany.com.au[152.56.77.100]:25 replied to HELO/EHLO with my own hostname
www.mycompany.com.au
Oct 22 02:30:02 Ubuntu-MailServer postfix/smtp[19995]: 4CF6DC0542: to=<root@mycompany.com.au>, relay=www.mycompany.com.au[152.56.77.100]:25, delay=0.07, delays=0.03/0/0.04/0, dsn=5.4.6, status=bounced (mail for mycompany.com.au loops back to myself)
I wonder if anyone might be able to tell me what went wrong and how to work around this.
Any help would be greatly appreciated.
Thank you in advance