don't top-post please.
    limit quoting to relevant context, please.

# [EMAIL PROTECTED] / 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to