OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
An "in between" server

From: Mark Maas (markmaas-martin.nl)
Date: Tue Mar 11 2008 - 14:50:05 CDT


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

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,
- --
M. Maas GPG: 0x50C6776B
: markmaas-martin.nl
http://maas-martin.nl/downloads/Mark_Maas_0x50C6776B.pub.asc
Freedom of speech is not there for the things you love...
But for the things you hate the most. --Larry Flint
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH1uJtLw76slDGd2sRAslYAKDT2pb2C72n1zlL7ye5EmLMUyoN1wCeIH6T
Nvzkv3055OnPdcU6I2DxjEo=
=OR2B
-----END PGP SIGNATURE-----