Brian Evans - Postfix List wrote:
[EMAIL PROTECTED] wrote:
Hello,
I tried to get my own delivery transport agent. It works perfectly.
But I get no address verification to work.
virtual_mailbox_domains = testmail2.dyndns.org
virtual_mailbox_base = /var/mail/obsolete # I'm forced to put this line?
virtual_mailbox_maps = hash:/etc/postfix/vmailbox # is simply ignored
with myagent?
virtual_minimum_uid = 65534
virtual_uid_maps = static:65534
virtual_gid_maps = static:65534
virtual_transport = myagent:
So when I try to send something to [EMAIL PROTECTED],
then it accepts ANY mail sender by myagent without doing any kind of
address
verification.
Is there a possibility to force to do an adress verification in a
database (or local file) before continuing to pipe the data
to my myagent service?
The goal is to send an error 550 for unknown recipient addresses instead
of passing any email to the application myagent because of performance
reasons.
You are missing virtual_alias_maps.
http://www.postfix.org/VIRTUAL_README.html#in_virtual_other
http://www.postfix.org/postconf.5.html#virtual_alias_maps
Brian
Correction.. Pay attention to the notes of the VIRTUAL_README link above.
virtual_alias_maps are not 100% required.
Please test your map:
'postmap -q [EMAIL PROTECTED]
hash:/etc/postfix/vmailbox'
It should return no rows.
Brian