LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-16-2004, 03:52 PM   #1
deviance99
Member
 
Registered: Jun 2004
Location: Mount Pleasant, MI
Posts: 41

Rep: Reputation: 16
POSTFIX won't recieve external mail


Hi.

I am trying to setup a mail server at home using postfix. I can send mail to my gmail and yahoo e-mail accounts but I can't recieve mail when I send mail from them. I can send mail between accounts on the localhost.

Here is my maillog shortly after I tried sending an e-mail from an external source:

Code:
Oct 16 16:30:11 deviance99 postfix/smtp[683]: 14817610077: to=<deviance99@gmail.com>, relay=gsmtp171.google.com[64.233.171.27],
 delay=12, status=sent (250 OK 1097958613)
Oct 16 16:33:48 deviance99 postfix[745]: fatal: parameter inet_interfaces: no local interface found for 63.173.85.40
Oct 16 16:33:55 deviance99 postfix[746]: fatal: parameter inet_interfaces: no local interface found for 63.173.85.40
Oct 16 16:37:16 deviance99 postfix[747]: fatal: parameter inet_interfaces: no local interface found for 63.173.85.40
Oct 16 16:37:39 deviance99 postfix/postfix-script: stopping the Postfix mail system
Oct 16 16:37:39 deviance99 postfix/master[617]: terminating on signal 15
Oct 16 16:37:42 deviance99 postfix/postfix-script: starting the Postfix mail system
Oct 16 16:37:42 deviance99 postfix/master[795]: daemon started -- version 2.0.18
Oct 16 16:44:14 deviance99 postfix/postfix-script: stopping the Postfix mail system
Oct 16 16:44:14 deviance99 postfix/master[795]: terminating on signal 15
Oct 16 16:44:18 deviance99 postfix/postfix-script: starting the Postfix mail system
Oct 16 16:44:18 deviance99 postfix/master[880]: daemon started -- version 2.0.18
Oct 16 16:46:07 deviance99 imap-login: Login: justin [63.173.85.40]
Code:
here are my postfix settings from #alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain
myhostname = deviance99.afraid.org
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.0.18/README_FILES
sample_directory = /usr/share/doc/postfix-2.0.18/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 450
postconf -n:

Last edited by deviance99; 10-16-2004 at 03:53 PM.
 
Old 10-16-2004, 04:14 PM   #2
Linux_in_NH
Member
 
Registered: Jan 2004
Location: NH
Distribution: Mandrake, Geentoo, Ubuntu
Posts: 105

Rep: Reputation: 15
Add [63.173.85.40] to the 'mydestination' line

so it looks like

mydestination = $myhostname, localhost.$mydomain, [63.173.85.40]

and then restart.
 
Old 10-16-2004, 04:57 PM   #3
deviance99
Member
 
Registered: Jun 2004
Location: Mount Pleasant, MI
Posts: 41

Original Poster
Rep: Reputation: 16
Thanks for the input, but this didn't solve the problem,

I also notice that I am getting "Relay access denied" errors if I try to use an external program (I can send mail using squirrelmail).
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix - external mail reader doesn't get messages Danny Regan Debian 3 11-16-2005 07:30 AM
Postfix can't receive external mail kantoboy Linux - Networking 4 09-03-2004 11:57 AM
cant send recieve mail with postfix bentman78 Linux - Software 3 05-05-2004 09:12 AM
Postfix mail server not accepting incoming mail from the external interface rexmundi Linux - Networking 7 12-22-2003 03:41 PM
pop3 won't recieve external mail, pls help. locke Linux - Security 3 01-18-2002 10:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration