You can:

# Define address ownerships:
smtpd_sender_login_maps = hash:/etc/postfix/mailloginmap
# Reject the request if ownership is not observed
smtpd_sender_restrictions = reject_sender_login_mismatch

# /etc/postfix/mailloginmap:
a...@example.com A
a...@example.com A
a...@example.com A
a...@example.com A
...

You need to define ownerships for all aliases/mail-addresses.

And you may want to read this too: http://www.mail-archive.com/postfix-users@postfix.org/msg32442.html
and: http://www.postfix.org/postconf.5.html

Nick


On 4/3/2011 6:04 μμ, theqavor wrote:
Thank you for reply.

I want, that from Postfix only authenticated users can send mail, and only
from those addresses, which belongs them.
For example, if we have user A, who has aliases AA, AAA, A_A,  then before
sending a message user A must pass authentication, after user can send
message only from addresses. a...@example.com, a...@example.com, 
a...@example.com,
a...@example.com.


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to