Restricted incoming users ruleset

Drew Marshall drew at themarshalls.co.uk
Wed Jul 12 00:10:34 IST 2006


On 11 Jul 2006, at 21:42, Industry Standard Computers wrote:

>
>> Just edit your transport file and add:
>>
>> joe at example.com     REJECT:Sory this user cannot receive incoming  
>> mail.
>> Please re-send to generic at somewhere.com
>>
>> and then postmap transport and reload Postfix for it to become  
>> effective now.
>>
>>
> Drew,
> I know I need to add a line to main.cf to hash the database, but how?
>
Just make sure you have a line transport_maps = hash:/etc/postfix/ 
transport or similar in main.cf The exact path and file name may  
differ depending where you keep your /postfix config directory and  
what your particular package might have called the transport map file.

Once this is in place, you can follow my previous.

> Sorry I am a cut & paste programmer. Just not my "cup of tea."
No worries. Have to start somewhere

Drew

-- 
In line with our policy, this message has 
been scanned for viruses and dangerous 
content by MailScanner, and is believed to be clean.
www.themarshalls.co.uk/policy



More information about the MailScanner mailing list