Date: Mon, 23 Dec 2002 18:46:50 +0100 From: Roman Neuhauser <neuhauser@bellavista.cz> To: Jim Arnold <jarnold@knightridder.com> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: once last try Message-ID: <20021223174650.GN690@freepuppy.bellavista.cz> In-Reply-To: <a05200f04ba2ce47a2131@[192.168.0.4]> References: <20021223112336.4286.qmail@web10707.mail.yahoo.com> <20021223123554.GB690@freepuppy.bellavista.cz> <a05200f03ba2cc64b0e33@[192.168.0.4]> <20021223144533.GH690@freepuppy.bellavista.cz> <a05200f04ba2ce47a2131@[192.168.0.4]>
next in thread | previous in thread | raw e-mail | index | archive | help
don't top-post please.
limit quoting to relevant context, please.
# jarnold@knightridder.com / 2002-12-23 12:16:34 -0500:
> Thanks for taking the time. That helps me understand a lot.
no problem as long as you keep it on the list. see my sig.
> A while back I setup Postfix on my FreeBSD box at home to handle my
> mail, mainly so I could use spamassassin. I was not certain what to
> put in the postfix main.cf file for the hostname parameter. for some
> reason jimarnold.org worked even though that domain lives on another
> server.
there's so many misconfigured MTAs out there that the rest mostly
accepts any babbling if it at least vaguely resembles SMTP. :)
example, $config_directory/sample-smtpd.cf regarding EHLO/HELO
restrictions:
The default is to permit everything.
> at home i'm behind a freebsd firewall (192.168.0.1 internally and
> 204.210.211.15 as you pointed out).
> The freebsd box and mail server lives on 192.168.0.2 and my mac is at
> 192.168.0.4.
>
> since i don't have a FQDN for my home setup what would you recommend
> i use for my hostname when it comes to postfix's hostname parameter?
> the hostname for the freebsd box is simply:
> hostname="spike"
[ 93 lines of useless cruft snipped. don't waste my bandwidth! ]
is your outside IP static, or DHCP?
static:
a) 1. put hostname="a11d015.neo.rr.com" in /etc/rc.conf
2. let postfix get it from gethotname()
b) 1. leave /etc/rc.conf as it is
2. put myhostname = a11d015.neo.rr.com in
$config_directory/main.cf
DHCP:
can't really help, but ISTR the DHCP client can update it's hostname
from the server. if this is true:
1. configure DHCP to update the hostname from the server
2. put myhostname = a11d015.neo.rr.com in $config_directory/main.cf
but I might be on crack.
if you can get your Postfix to EHLO a11d015.neo.rr.com, you've
covered the biggest obstacle in talking to mx1.freebsd.org.
--
begin 666 nonexistent.vbs
FreeBSD 4.7-STABLE
6:21PM up 9:40, 7 users, load averages: 0.08, 0.05, 0.02
end
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021223174650.GN690>
