From: Rocco Rutte (no email)
Date: Sat Jun 01 2002 - 17:52:10 EDT
Hi,
I've looked through documentation and still have a question.
What I need is a mixture of header_checks and access(5).
Read: I'd like to only accept a mail for a local recipient
(which is an alias in /etc/aliases, if that matters) if the
mail was sent by one specific host and contains one specific
header. The problem (at least for me) is that the allowed
client IP and the allowed value of the header differ from
recipient to recipient -- for some there're also no
restrictions.
I thought of something like:
/etc/postfix/access:
user1@ hash:/etc/postfix/user1-access
regexp:/etc/postfix/user1-regexp
user2@ hash:/etc/postfix/user2-access
regexp:/etc/postfix/user2-regexp
/etc/postfix/user1-access:
ip OK
REJECT
/etc/postfix/user1-regexp:
/.../ OK
REJECT
Is that possible? If not, how to define individual access
restrictions per local recipient? What I'd like to know,
too, is if there's a way to forward the rejected mails to
another account for approval.
Cheers, Rocco.
-
To unsubscribe, send mail to with content
(not subject): unsubscribe postfix-users
|
|
|