in the postfix.smtp needs to be:
smtpd_recipient_restrictions = permit_mynetworks,
regexp:/etc/postfix/access, check_relay_domains

in /etc/postfix/access needs to be:
/^username@foo\.bar/      550     This account is inactive

wow was that fun.
i hope this helps someone in the future

eric
----- Original Message -----
From: "dogface" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 05, 2002 1:16 PM
Subject: [RHL] help with postfix and access


hello,
i have a slight problem...

i have been trying to get postfix to bounce
users that are inactive with a 550 Account Disabled.
i have been looking into /etc/postfix/access. i currently
have this for settings.

main.cf :
smtpd_recipient_restrictions = check_client_access hash:/etc/postfix/access

/etc/postfix/access:
[EMAIL PROTECTED] [45]50 Account is Inactive

im using postfix 1.1.10 with amavis-perl11
so postfix gets the mail sends it to amavis then back out to
postfix again to deliver it to the mailbox. i put the settings in
the postfix not in the postfix.smtp.

what do i have wrong?
please help.....

TIA
eric



--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to