Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Any postfix gurus out there?

Any postfix gurus out there?
Thread Tools
Junior Member
Join Date: Oct 1999
Location: Greenville, NC USA
Status: Offline
Reply With Quote
Oct 15, 2004, 12:43 AM
 
Stuck.. and been stuck all week.

Running Panther, and I used Postfix enabler.

My mail server will send messages outside it's own domain when I send from the local machine. But when I try to send from other machines, I won't relay.
I have mynetworks_style = subnet in my main.cf file.
After I change anything in the main.cf, I sudo postfix reload.
Everything in the directory is owned by root/wheel with 622 permissions (-rw-r--r--)

I setup my powerbook with postfix enabler, and it works fine, and will accept mail from subnet. I copied my main.cf file over to the server and it still blocks me.

What other file could have preferences in it that Postfix is looking for??


Thanks for any advice!
Tim
     
Mac Elite
Join Date: May 2001
Location: Vancouver
Status: Offline
Reply With Quote
Oct 15, 2004, 12:54 AM
 
Try

inet_interfaces = all

Cheers.
Macbook (Black) C2D/250GB/3GB | G5/1.6 250GBx2/2.0GB
Free Mobile Ringtone & Games Uploader | Flickr | Twitter
     
Mac Elite
Join Date: Oct 2004
Location: Downtown Austin, TX
Status: Offline
Reply With Quote
Oct 17, 2004, 05:47 PM
 
Postfix and Sendmail don't allow relaying by default - to avoid spam. I have Sendmail set up on my linux box and the easiest way I found to enable certain domain/IPs to relay mail was to use WebMin, but I'm not sure if it'll work on OS X. Did you check the Postfix documentation? it should be there...
     
Ecuguru  (op)
Junior Member
Join Date: Oct 1999
Location: Greenville, NC USA
Status: Offline
Reply With Quote
Oct 18, 2004, 05:24 PM
 
Originally posted by legacyb4:
Try

inet_interfaces = all

Cheers.
I have it set to all. Here is the config. I setup, using postfix enabler, postfix on my power book, and it worked fine. I copied my postfix main.cf to the server, and it still didn't work.

All ideas appreciated.

###Start PostfixEnabler###
alias_maps=hash:/etc/postfix/aliases
alias_database=hash:/etc/postfix/aliases
inet_interfaces=all
mynetworks_style=subnet
luser_relay=me
###End PostfixEnabler###
###Start Custom Config###
mailbox_size_limit=0
###End Custom Config###
     
rkt
Mac Enthusiast
Join Date: Oct 2000
Status: Offline
Reply With Quote
Oct 19, 2004, 08:48 AM
 
what does postfix log when you try to connect/send mail?
     
Ecuguru  (op)
Junior Member
Join Date: Oct 1999
Location: Greenville, NC USA
Status: Offline
Reply With Quote
Nov 22, 2004, 02:21 PM
 
Nov 22 15:20:31 server postfix/smtpd[28942]: 2DCEE1FFB93: reject: RCPT from rrcs.biz.rr.com[serverip]: 554 <test@yahoo.com>: Relay access denied; from=<me@server.com> to=<test@yahoo.com> proto=SMTP helo=<server.com>
(Last edited by Ecuguru; Nov 22, 2004 at 04:07 PM. )
     
Mac Elite
Join Date: May 2001
Location: Vancouver
Status: Offline
Reply With Quote
Nov 23, 2004, 01:23 AM
 
Instead of:

mynetworks_style=subnet

try:

mynetworks = 192.168.1.0/24 (or whatever your internal network is)

Cheers.

Originally posted by Ecuguru:
Nov 22 15:20:31 server postfix/smtpd[28942]: 2DCEE1FFB93: reject: RCPT from rrcs.biz.rr.com[serverip]: 554 <test@yahoo.com>: Relay access denied; from=<me@server.com> to=<test@yahoo.com> proto=SMTP helo=<server.com>
Macbook (Black) C2D/250GB/3GB | G5/1.6 250GBx2/2.0GB
Free Mobile Ringtone & Games Uploader | Flickr | Twitter
     
Ecuguru  (op)
Junior Member
Join Date: Oct 1999
Location: Greenville, NC USA
Status: Offline
Reply With Quote
Nov 23, 2004, 09:22 AM
 
Didn't work. I got an error of:
postfix: fatal: unknown mynetworks mask style value "192.168.0.0/24" in "192.168.0.0/24"

after adding:
#mynetworks_style=subnet
mynetworks_style=192.168.0.0/24


Originally posted by legacyb4:
Instead of:

mynetworks_style=subnet

try:

mynetworks = 192.168.1.0/24 (or whatever your internal network is)

Cheers.
     
Mac Elite
Join Date: May 2001
Location: Vancouver
Status: Offline
Reply With Quote
Nov 25, 2004, 08:56 AM
 
Hi,

Not "mynetworks_style", comment that one out and try using "mynetworks =" only.

Cheers.

Originally posted by Ecuguru:
Didn't work. I got an error of:
postfix: fatal: unknown mynetworks mask style value "192.168.0.0/24" in "192.168.0.0/24"

after adding:
#mynetworks_style=subnet
mynetworks_style=192.168.0.0/24
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:52 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2