Restricted incoming users ruleset
Drew Marshall
drew at themarshalls.co.uk
Tue Jul 11 14:09:09 IST 2006
On Tue, July 11, 2006 00:00, Industry Standard Computers wrote:
> Everyone:
> I didn't know if this is a postfix or MS question or if someone has a
> ruleset fix for this I might have.
>
> On one of my email servers I have "restricted users" who have no rights
> to INCOMING email. So anyone sending in email to those accounts gets a
> bounce message like the following:
>
> Transcript of session follows.
>
> Out: 220 mail.somewhere.com ESMTP Postfix
> In: EHLO iscnetwork.com
> Out: 250-mail.somewhere.com
> Out: 250-PIPELINING
> Out: 250-SIZE 10240000
> Out: 250-VRFY
> Out: 250-ETRN
> Out: 250-AUTH DIGEST-MD5 PLAIN LOGIN CRAM-MD5
> Out: 250-AUTH=DIGEST-MD5 PLAIN LOGIN CRAM-MD5
> Out: 250 8BITMIME
> In: MAIL FROM:<sales11 at iscnetwork.com> SIZE=1317
> Out: 250 Ok
> In: RCPT TO:<joe at somewhere.com>
> Out: 451 Server configuration error
> In: QUIT
> Out: 221 Bye
>
> Any nice way to say "Sorry joe at somewhere.com cannot receive incoming
> email." "Please send email to generic at somewhere.com."
Yes and it's actually nice and simple (Being a simple person myself, I
like simple :-) )
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
--
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