Dumb Newbie
Cowles, Steve
steve at stevecowles.com
Sun Feb 8 19:19:57 UTC 2004
Jwp wrote:
> Well after a fresh install of postfix, setting my
> inet_interfaces = all and restarting postfix has
> allowed me to telnet to port 25 with the linux box
> itself, through localhost and I was also able to
> connect a telnet session from another box on my lan
> to port 25. Also I gained a new error on the
> message that was returned:
>
> Recipient address: usr at b-dub.org
> Reason: Remote SMTP server has rejected address
> Diagnostic code: smtp;554 <usr at b-dub.org>: Relay access denied
> Remote system: dns;b-dub.org
> (TCP|167.206.5.68|52577|24.44.190.85|25)
> (cosmo.b-dub.org ESMTP Postfix)
>
>
> Is this a good sign?
Yes, but it looks like you need to edit main.cf and change the following
lines...
myhostname = cosmo.b-dub.org
mydomain = b-dub.org
The above changes should configure postfix so that it knows what domain is
considered local. i.e. call the local delivery agent to store the inbound
e-mail in an actual mailbox or maildir.
Note: Now would probably be a good time for you to read about the difference
between MAILBOX and MAILDIR storage formats. Also, read about local delivery
agents like procmail. FWIW: I changed my postfix config to use procmail as
the local delivery agent. See main.cf and search for procmail.
> Or is this a sign that my ISP is stopping the mail?
I was able to telnet to your server. Your postfix MTA did reply with
cosmo.b-dub.org
> Cosmo.b-dub.org is the name of the server box, it does not
> have a mx or a record, should I set one up?
Yes, but first try adding an address record (A) for cosmo.b-dub.org, then
change your current mx record to use cosmo.b-dub.org. Right now your mx
record says...
[scowles at voyager scowles]$ dig b-dub.org mx
; <<>> DiG 9.2.1 <<>> b-dub.org mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62391
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3
;; QUESTION SECTION:
;b-dub.org. IN MX
;; ANSWER SECTION:
b-dub.org. 7163 IN MX 0 b-dub.org.
;; AUTHORITY SECTION:
b-dub.org. 7163 IN NS ns18.zoneedit.com.
b-dub.org. 7163 IN NS ns8.zoneedit.com.
;; ADDITIONAL SECTION:
b-dub.org. 24 IN A 24.44.190.85
ns8.zoneedit.com. 147919 IN A 216.122.4.151
ns18.zoneedit.com. 147919 IN A 65.125.227.35
The above should work, but typically the MX record should point to a fully
qualified domain name like cosmo.b-dub.org instead of your domain names A
record.
> The only forwarded port (well related to postfix) is port 25 through
> the linksys router do other ports need to be opened?
For e-mail... No
Steve Cowles
More information about the fedora-list
mailing list