Howard,
I think you have the wrong idea about relayhost. The relayhost parameter
in main.cf of postfix is for you to specify an external SMTP server to
send through (aka a smarthost).
Don't specify an internal host for this (unless you insist on sending
through that host). Usually the parameter would be set to your ISP's
SMTP server, or the SMTP server specified by your SPF records.
What you want to do is set up the relay_domains and transport parameters:
Something like:
relay_domains = yourdomainname.com.au
transport_maps = hash:/etc/postfix/transport
in main.cf and put in /etc/postfix/transport
yourdomainname.com.au smtp:[192.168.0.143]
Again, remember to run postmap /etc/postfix/transport
Obviously you'll also have to adjust domain names and IP addresses as
needed.
http://www.postfix.org/ has wonderful documentation available. There are
also a lot of examples that you can learn from.
All the best.
Raphael
Howard Lowndes wrote:
I have a Linux/Postfix server that accepts email from the Internet,
performs filtering checks on the email and then forwards acceptable
emails onto a Linux/Domino server on the local intranet.
The Postfix checks are all being done by LDAP so I am able to see what
is happening on the Linux/Postfix server.
Postfix has the relayhost parameter set in main.cf to point to the
Linux/Domino server so that emails are correctly forwarded on.
I can see the Linux/Postfix server doing all the checks that I have
specified in main.cf. These include:
smtpd_client_restrictions
smtpd_helo_restrictions
smtpd_sender_restrictions
smtpd_recipient_restrictions
However, the smtpd_recipient_restrictions appear to be failing safe
with a default DUNNO result rather than a default REJECT result. The
same checks, when not used in conjunction with a relayhost setting
appear to default fail as REJECT rather than DUNNO.
Am I right in assuming that the use of the relayhost parameter is
causing this change in default behaviour, and how is the best way to
fix it?
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html