postfix virtual a ignorovana email adresal

Jan Poctavek poctavek at kmit.sk
Tue Jan 30 19:03:05 CET 2007


> main.cf: (priklad!)
> 
> ...
> smtpd_recipient_restrictions=permit_mynetworks, ..., ..., ...,
>                          check_recipient_access hash:/cesta/badusers,
>                          reject_unauth_destination
> ...
> 
> 
> /cesta/badusers:
> 
> ccc at example.com 511 Tento uzivatel neexistuje
> 

Vzhladom na to, ze poziadavka je aby odosielatel nevedel preco je 
odmietnuty, /cesta/badusers moze obsahovat

ccc at example.com REJECT

co vygeneruje defaultnu reject spravu.
Podla toho ci sa check_recipient_access pouzije v 
smtpd_recipient_restrictions alebo v smtpd_sender_restrictions sa 
vygeneruje sprava

Recipient address rejected: Access denied
alebo
Sender address rejected: Access denied

...a to je vsetko co odosielatel zisti.

BTW nezabudni po editacii pregenerovat databazu

postmap hash:/cesta/badusers



Dufam ze sme sa konecne dopracovali k nejakemu rieseniu :).


Janci




More information about the Users-l mailing list