I'm also trying to set-up a similar system and have encountered a couple of small glitches. Hopefully, my situtaiton can help the original poster.
Situation: Network & ISP Details
I'm running FC5 on a machine that connects to the web through a router. I have a registered domain that is set-up through a dynamic DNS provider (no-ip.com). My router updates the IP automatically whenever it changes using its built-in update client. I have ports for POP and SMTP forwarded to the linux box, which has a single NIC and static internal/private IP.
Status & Problem
At present, I have postfix, dovecot, and squirellmail running. I'm able to log-in to squirrelmail. I'm also able to receive mail, view it on squirrel mail, and get it through the email client on my desktop. However, I'm unable to send mail to email addresses outside my ISP's domain.
For example, email sent via either my mail client or squirrelmail will reach addresses on my ISP's network, such as
test@rogers.com. But mail to
test@notrogers.com, or any address not on rogers.com, doesn't reache its destination.
Obviously, I can tell my desktop mail client to use my ISP's SMTP server and work around the problem, but (a) I'm not sure how to do that when using squirrelmail; and (b) I would like to avoid using my ISP's SMTP.
Situation: Current Software Config
I'm running:
- postfix 2.2.8-1.2
- dovecot 1.0-0.beta2.7
- squirrelmail 1.4.6-5
What I've done so far has been guided by the how-to found at
http://www.linux.com/article.pl?sid=06/02/28/1515201
Here are the parameters that I've changed in /etc/postfix/main.cf:
Code:
myhostname = mail.nowhere.com
myorigin = $mydomain
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
local_recipient_maps = unix:passwd.byname $alias_maps
mynetworks_style = host
and for /etc/dovecot.conf:
Code:
protocols = imap imaps pop3 pop3s
I ran the 'Quick DNS Check' at pingability.com and got the following results in respect of the mail server (I've blacked-out some info with the xxxx'

:
Code:
Mail Server: mail.nowhere.com
Server Name mail.nowhere.com
IP xxx.xxx.xxx.xxx
Location Canada
Mail Server For *@nowhere.com
MX Priority 5
Connect Response Time 463ms
Server 'Hello' Line 220 mail.nowhere.com ESMTP Postfix
Open Relay? No Problems Found
RDNS Entry XXXXXXXXXXXXXX.cpe.net.cable.rogers.com.
Mail Server Info
Info Type Message
Information The mail server accepted email for 'abuse@nowhere.com' email address as it should have (250 Ok).
Information The mail server correctly rejected email to 'email_validation_service@domaincheckingservice.pingability.com' (554 <email_validation_service@domaincheckingservice.pingability.com>: Relay access denied)
Any and all help you can provide would be greatly appreciated.
N