On Wed, Sep 11, 2013 at 01:23:01PM +0200, Zel Uneec wrote:
> This is my problem/question: I have multiple domains on my mail 
> server running postfix (adn dovecot), with LDAP based user 
> accounts. When someone "from outside" (that is: not from my 
> domains) sends mail to a user that does not exist, he gets a bounce 
> message that the given mail account/user does not exist on server.

No, not from your server, anyway. Your server rejects the mail from 
the remote client, and that MTA generates the bounce for their own 
user.

> But, when someone "from inside" (from one of my domains) tries to 

"From one of my domains"? Do you mean from your networks?

> send mail to non existing user, he is not able to send e-mail, and 
> mail clients give him reject code (some with explanation that 
> account/user does not exist, some with no explanation).
> 
> What I want to do is to set postfix to let those "inside" mails 
> pass too, and then recive bounce mail with note that user does
> not exist

This is what happens if permit_mynetworks precedes any other 
reatrictions you may have set.

> (that is, the same behavior as when someone from outside sends
> mail to non existing user).

No, it is not. But in effect it is similar, if their MTA sent a 
bounce. I guess that's what you mean?

> I've tried numerous changes in main.cf, but could not achieve
> this behaviour. Is it even possible?

Of course it is. But it is not possible to guess what you did.

http://www.postfix.org/DEBUG_README.html#mail
-- 
  http://rob0.nodns4.us/ -- system administration and consulting
  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:

Reply via email to