Re: Report for a bug probably, that you can fix in the develop version - Master - Replica domain - virtual_alias_map

Andreas John <lists-qqKX2RIXbnLLeiHq/[email protected]> Fri, 28 Dec 2007 23:56:15 +0100
Newsgroups gmane.comp.isp.ispman.devel
Message-ID <[email protected]>
Hi,

> The problem is that when we send message to non-exist user
> ([email protected]) everything works ok, it rejects the message,
> but when we send message to replica domain ([email protected])
> SMTP server accept the mail. What we want is to reject every mail send
> to non-exist user in our system.

We have a similar problem, even with non-ISPMan-Setups. The problem
comes IMVHO from

@domain.foo  @domain.bar

In that case  postfix doesnt reject mail for non-existing users in the
first steup (client or recipient restrictions).

Currently we circumvent th eproblem by setting

[email protected] user-BTRca/[email protected]
[email protected] user2-BTRca/[email protected]
etc.

rgds,
Andreas




> I think this happens because we have this for replica domain:
> 
> mailLocalAddress: @replica.com
> mailForwardingAddress: @master.com
> 
> and in virtual_alias_map is writen domain like @replica.com and this
> tell smtp server to accept every mail send top this domain.
> 
> I think that if we make aliases for every user like:
> 
> mailAlias: username-sezmvf7S7QxWVPTZF4YnfwC/[email protected]
> 
> for every replica domains and remove the lines:
> 
> mailLocalAddress: @replica.com
> mailForwardingAddress: @master.com
> 
> from replica domain definition, this will help to validate the mails
> send to replica domains.
> 
> What is your opinion for this and is there some way to solve this
> problem ?
> 
> If this is the real problem please to fix this in new version.
> 
> Thanks in advanced!
> 
> Regards, Ali Nebi!
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> 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/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Ispman-developers mailing list
> Ispman-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/ispman-developers



-------------------------------------------------------------------------
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/