Hi,
Not sure how you are trying to set up your Maia, but I do
the frontend
to Exchange witout setting up any users at all... Just use
the default
user ( ) and have postfix probe the exchange server to see
if the account
exists... Here is a sample main.cf file off an in-service
Maia filter:
# See /usr/share/postfix/main.cf.dist for a commented, more
complete version
smtpd_banner = $myhostname ESMTP $mail_name
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed
mail" warnings
delay_warning_time = 4h
myhostname = filter.foo.local
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = foo.com
mydestination = foo.com, bar.com, other.com
relayhost = 192.168.1.250
mynetworks = 192.168.1.0/24, 192.168.2.0/24, 127.0.0.0/8
mailbox_size_limit = 25000000
recipient_delimiter =
inet_interfaces = all
message_size_limit = 10000000
local_transport = error:no local mail delivery
local_recipient_maps =
virtual_alias_maps = hash:/etc/postfix/virtual
relay_recipient_maps = hash:/etc/postfix/relay_recipients
transport_maps = hash:/etc/postfix/transport
relay_domains = mrains.com, 192.168.1., 192.168.2,
192.168.5
smtpd_helo_required = yes
smtpd_client_restrictions = reject_rbl_client
dul.dnsbl.sorbs.net, reject_rbl_cl
ient sbl.spamhaus.org, reject_rbl_client cbl.abuseat.org,
reject_rbl_client rela
ys.ordb.org, reject_rbl_client list.dsbl.org
smtpd_sender_restrictions = check_sender_access
hash:/etc/postfix/sender_access,
reject_non_fqdn_sender, reject_unknown_sender_domain
smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks, rej
ect_unauth_destination, reject_unauth_pipelining,
reject_unknown_recipient_domai
n, reject_unverified_recipient
unverified_recipient_reject_code = 550
address_verify_map = btree:/var/spool/postfix/verify
header_checks = pcre:/etc/postfix/header_checks
body_checks = pcre:/etc/postfix/body_checks
content_filter = smtp-amavis:[127.0.0.1]:10024
The transport map simply says:
foo.com smtp:[192.168.1.250]
bar.com smtp:[192.168.1.250]
other.com smtp:[192.168.1.250]
HTH,
Dave
************************************************************
****************
On Mon, 29 Jan 2007, Gary MacKay wrote:
> This is probably more of a postfix question, but does
anyone know of a
> good tutorial or faq to setup a maia/postfix box as a
filter for
> Exchange? I tried an ldap script I found that is
supposed to pull a list
> of valid email accounts out of Exchange but can not get
it working. So,
> in the mean time, I hand edited a relay_recipients file
and postmap'd
> it. I then added these lines to the main.cf file:
>
> [root maia postfix]# postconf | grep recipients
> local_recipient_maps =
hash:/etc/postfix/exchange_recipients, $alias_maps
> relay_recipient_maps =
hash:/etc/postfix/exchange_recipients
>
> But, when I telnet into the box and manually send it a
bogus email, it
> passes it right on through to Exchange. It does not
appear to be paying
> attention to the xxx_recipient_maps files.
>
> - Gary
>
> _______________________________________________
> Maia-users mailing list
> Maia-users renaissoft.com
> http://www.renaissoft.com/mailman/listinfo/maia-users
>
_______________________________________________
Maia-users mailing list
Maia-users renaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
|