>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:
>
>mydestination = foo.com, bar.com, other.com
>local_transport = error:no local mail delivery
>local_recipient_maps =
>relay_recipient_maps =
hash:/etc/postfix/relay_recipients
>relay_domains = mrains.com, 192.168.1., 192.168.2,
192.168.5
>smtpd_recipient_restrictions =
permit_sasl_authenticated,
permit_mynetworks, reject_unauth_destination,
reject_unauth_pipelining,
reject_unknown_recipient_domain,
reject_unverified_recipient
>unverified_recipient_reject_code = 550
>address_verify_map = btree:/var/spool/postfix/verify
>
>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
Not all versions of Exchange will immediately reject mail to
invalid users
(and some of the ones that do need to be configured to do
so) so
reject_unverified_recipient may work great for you but it
may not work for
others. Older versions of Exchange will accept the mail,
then bounce it, so
reject_unverified_recipient will not work in those cases. I
agree that it is
the fastest way to solve the problem if the conditions are
right.
I have never seen IP addresses listed as domains in
relay_domains and I'm
not sure what you have going on there. You have placed
domains you relay for
in mydestination. mydestination is for local delivery. A
properly set up
system that is acting only as a relay may be more like:
mydestination =
and your foo.com bar.com and other.com should be in
relay_domains. BUT,
since I don't know what you have in your relay_recipients
map at the moment,
making this change could start rejecting all mail to those
three domains.
Here's why: if you have domains listed in relay_domains and
you have a
relay_recipients map, then for each domain in relay_domains
you must ideally
list every single email address you accept mail for.
Assuming you have more
than one domain and you have configured
relay_recipient_maps: if you don't
have addresses for every user in one of those domains then
at least you must
have a wildcard ( other.com OK) or all mail for that domain
will be
rejected. With a wildcard all mail for that domain will be
allowed.
Gary V
____________________________________________________________
_____
Laugh, share and connect with Windows Live Messenger
http://clk.atdmt.c
om/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://imagi
ne-msn.com/messenger/launch80/default.aspx?locale=en-us&
source=hmtagline
_______________________________________________
Maia-users mailing list
Maia-users renaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
|