Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 23rd October 2010, 07:08
said76 said76 is offline
Junior Member
Join Date: Oct 2010
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default cannot receive emails internally or externally


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_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 = [::ffff:]/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[]: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[]: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[]: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
Reply With Quote
Sponsored Links
Old 24th October 2010, 21:16
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

Please add mycompany.com.au to the mydestination line and restart Postfix.
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PostFix can receive but can not send emails cjsdfw Server Operation 10 8th December 2009 09:11
I can receive emails but i cant send any... Makis77 Installation/Configuration 1 3rd July 2009 09:30
Cannot receive emails gorolla Installation/Configuration 10 6th September 2006 03:11
SMTP failed & can't receive new emails torusturtle Installation/Configuration 3 20th August 2006 20:48
Cannot receive emails skeeta Installation/Configuration 18 22nd April 2006 17:02

All times are GMT +2. The time now is 03:19.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.