[X-Unix] Postfix troubles

William H. Magill magill at mcgillsociety.org
Wed Jan 28 10:46:43 PST 2004


On 28 Jan, 2004, at 11:40, Michael Grant wrote:

> On Jan 28, 2004, at 10:12 AM, Juan Manuel Palacios wrote:
>
>> 	Hi Michael. The message came through, which means you have a working 
>> local stmp server. I had one with sendmail back in my jaguar days but 
>> since Apple spoiled my cake with Postfix in Panther I haven't had the 
>> time to dig into the proper documentation to set it up again. You 
>> think you could please, if you have the time of course, give me a 
>> quick run down of the needed parameters to set up an smtp server like 
>> yours? On list or off list, whatever you prefer. Hey, you could even 
>> send me your config file with abstracted values for your protection 
>> if you like, without any other explanation, that'll do!
>
> I think the stuff on Mike B.'s link should do the trick.
> What I did differently (besides the actual hostname and domain of 
> course) was, in /etc/postfix/main.cf:
>
> Keep line 105 commented but un-comment line 107 instead, like this:
> #inet_interfaces = all
> #inet_interfaces = $myhostname
> inet_interfaces = $myhostname, localhost
>
> Keep line 239 commented but un-comment line 240 instead, like this:
> #mynetworks_style = subnet
> mynetworks_style = host
>
> Keep line 253 commented (see notes in config file).
>
> Also, instead of rebooting as the hint says, it's enough (since the 
> actual postfix process was already running) to enter the following in 
> the Terminal: sudo /usr/sbin/postfix reload

Don't miss the last comment at MacOSX hints...

The last 10 lines or so of the main.cf file contain Apple OVERRIDES for 
configuration lines above.... You need to comment them out for the 
previous lines to have meaning.

# THE FOLLOWING DEFAULTS ARE SET BY APPLE
#
# bind to localhost only
#
inet_interfaces = localhost

# turn off relaying for local subnet
#
mynetworks_style = host

# mydomain_fallback: optional domain to use if mydomain is not set and
# myhostname is not fully qualified.  It is ignored if neither are true.
#
mydomain_fallback = localhost



T.T.F.N.
William H. Magill
# Beige G3 - Rev A motherboard - 768 Meg
# Flat-panel iMac (2.1) 800MHz - Super Drive - 768 Meg
# PWS433a [Alpha 21164 Rev 7.2 (EV56)- 64 Meg]- Tru64 5.1a
# XP1000 - [Alpha EV6]
magill at mcgillsociety.org
magill at acm.org
magill at mac.com



More information about the X-Unix mailing list