 |
 |
Any postfix gurus out there?
|
 |
|
 |
|
Junior Member
Join Date: Oct 1999
Location: Greenville, NC USA
Status:
Offline
|
|
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
|
|
Try
inet_interfaces = all
Cheers.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Oct 2004
Location: Downtown Austin, TX
Status:
Offline
|
|
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...
|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Oct 1999
Location: Greenville, NC USA
Status:
Offline
|
|
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### 
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Oct 2000
Status:
Offline
|
|
what does postfix log when you try to connect/send mail?
|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Oct 1999
Location: Greenville, NC USA
Status:
Offline
|
|
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
|
|
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>
|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Oct 1999
Location: Greenville, NC USA
Status:
Offline
|
|
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
|
|
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
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|