Help for postfix and virtaul_alias_map table
"Ali Nebi" <[email protected]> Tue, 27 Nov 2007 16:19:38 +0200
| Newsgroups | gmane.comp.isp.ispman.user |
|---|---|
| Message-ID | <[email protected]> |
--===============0550071139==
Content-Type: multipart/alternative;
boundary="----=_Part_35236_33324612.1196173178391"
------=_Part_35236_33324612.1196173178391
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi, want to ask for little bit help and ideas how we can solve a problem
with ispman. We have installed ispman and it works very well, but we
have a problem with mail server. We have set in ldap_alias.cf in postfix
to get all mail aliases and fill virtual_alias_map database. The content
inside ldap_alias.cf is:
server_host = localhost
version = 3
timeout = 30
bind = no
search_base = ou=ISPMan,dc=ourdomain,dc=com
query_filter = (|(mailLocalAddress=%s)(mailAlias=%s)(uid=%s))
result_attribute = mailRoutingAddress,mailForwardingAddress
Problem is that when we use this query, it take all aliases for replica
domains that have this kind of records:
# replicadomain, ISPMan, ourdomain.com
dn: ispmanDomain=replicadomain.com,ou=ISPMan,dc=ourdomain,dc=com
objectClass: ispmanDomain
objectClass: ispmanBranch
ispmanStatus: active
ispmanCreateTimestamp: 1104227375
ispmanDomainType: replica
ispmanDomainOwner: rp
ispmanDomainCustomer: rp
ispmanDomain: replicadomain.com
ispmanDomainMailDeliveryMethod: local
ispmanReplicaMaster: masterdomain.com
mailLocalAddress: @replicadomain.com
mailForwardingAddress: @masterdomain.com
with this query in ldap_alias.cf it take and write in
virtual_alias_table also @replicadomain.com and this means that
all emails send to replica domains will be accepted. There is no
matter if the email address exist or not. What we need is to reject all
mail send to non-exist localusers and accept these mail that are send to
exist users.
How we can solve this problem?
Thanks in advanced, and sorry for my bad english.
------=_Part_35236_33324612.1196173178391
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
<blockquote>
<font size="2"><tt>Hi, want to ask for little bit help and ideas how we can solve a problem</tt><br><tt>with ispman. We have installed ispman and it works very well, but we</tt><br><tt>have a problem with mail server. We have set in ldap_alias.cf in postfix
</tt><br><tt>to get all mail aliases and fill virtual_alias_map database. The content</tt><br><tt>inside ldap_alias.cf is:</tt><br><tt> </tt><br><tt>server_host = localhost</tt><br><tt>version = 3</tt><br><tt>
timeout = 30</tt><br><tt>bind = no</tt><br><tt>search_base = ou=ISPMan,dc=ourdomain,dc=com</tt><br><tt>query_filter = (|(mailLocalAddress=%s)(mailAlias=%s)(uid=%s))</tt><br><tt>result_attribute = mailRoutingAddress,mailForwardingAddress
</tt><br><tt> </tt><br><tt>Problem is that when we use this query, it take all aliases for replica</tt><br><tt>domains that have this kind of records:</tt><br><tt> # replicadomain, ISPMan, <a href="http://ourdomain.com">
ourdomain.com</a></tt><br><tt> dn: ispmanDomain=<a href="http://replicadomain.com">replicadomain.com</a>,ou=ISPMan,dc=ourdomain,dc=com</tt><br><tt> objectClass: ispmanDomain</tt><br><tt> objectClass: ispmanBranch
</tt><br><tt> ispmanStatus: active</tt><br><tt> ispmanCreateTimestamp: 1104227375</tt><br><tt> ispmanDomainType: replica</tt><br><tt> ispmanDomainOwner: rp</tt><br><tt> ispmanDomainCustomer: rp
</tt><br><tt> ispmanDomain: <a href="http://replicadomain.com">replicadomain.com</a></tt><br><tt> ispmanDomainMailDeliveryMethod: local</tt><br><tt> ispmanReplicaMaster: <a href="http://masterdomain.com">
masterdomain.com</a></tt><br><tt> mailLocalAddress: @<a href="http://replicadomain.com">replicadomain.com</a></tt><br><tt> mailForwardingAddress: @<a href="http://masterdomain.com">masterdomain.com</a></tt><br>
<tt> </tt><br><tt>with this query in ldap_alias.cf it take and write in</tt><br><tt>virtual_alias_table also @<a href="http://replicadomain.com">replicadomain.com</a> and this means that</tt><br><tt>all emails send to replica domains will be accepted. There is no
</tt><br><tt>matter if the email address exist or not. What we need is to reject all</tt><br><tt>mail send to non-exist localusers and accept these mail that are send to</tt><br><tt>exist users.</tt><br><tt>
</tt><br><tt>How we can solve this problem?</tt><br><tt> </tt><br><tt>Thanks in advanced, and sorry for my bad english.</tt></font>
</blockquote>
------=_Part_35236_33324612.1196173178391--
--===============0550071139==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--===============0550071139==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Ispman-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ispman-users
--===============0550071139==--