|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Brian Evans (grknight
scent-team.com)
Date: Tue Mar 11 2008 - 15:01:04 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Mark Maas wrote:
> Dear list,
>
> For the past few day's I have been trying to get a installation of
> postfix to accept email for maas-martin.nl run it through postgrey
> and then send to another server inside the network.
>
> This is I think a "satelite" server config (?)
>
> I have the following main.cf:
> ##############################
> smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
> biff = no
> append_dot_mydomain = yes
> myhostname = borg.maas-martin.nl
> alias_maps = hash:/etc/aliases
> alias_database = hash:/etc/aliases
> myorigin = /etc/mailname
>
> mydestination = borg.maas-martin.nl, localhost.maas-martin.nl,
> localhost, maas-martin.nl
>
mydestination means this is the end server and deliver mail locally.
Define relay_domains and relay_recipient_maps (stops Backscatter) if all
mail for a domain is to be routed to a remote machine.
See http://www.postfix.org/STANDARD_CONFIGURATION_README.html#backup
and http://www.postfix.org/BASIC_CONFIGURATION_README.html#relay_to
Brian
> relayhost = 10.0.0.2
> relay = 10.0.0.2
> mynetworks = 127.0.0.0/8 10.0.0.0/24
> mailbox_command = procmail -a "$EXTENSION"
> mailbox_size_limit = 0
> recipient_delimiter = +
> net_interfaces = loopback-only
> smtpd_recipient_restrictions = permit_mynetworks,
> reject_unauth_destination,
> check_policy_service inet:127.0.0.1:60000
> inet_interfaces = all
> inet_protocols = ipv4
> ##############################
>
> But still all emails are being delivered locally to the box this
> postfix is running on. Instead of routing it to 10.0.0.2.
>
> What do I need to change to get all the emails to be handed to
> 10.0.0.2 including all email generated on the machine itself?
>
> Thanks,
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]