Halassy Zolt??n: > Hello! > > We are maintaining a couple mail hosts (>100). It's fine, cause they > generate low e-mail traffic. Now we got some new domains, and we belive > the stress will be excessive, not just bots, but i fear hackers, ddos, > etc (but the ham would be still low). To prevent risking the 100 other > domains, we bought a new server, different hostname, different ip. I > pulled up postfix on that one too, only for relaying those domains, with > a simple caching recipient address verification. It works fine, except > if someone tries to send to an address which doesn't exist, it will > expose the real mail server's name in the error message which i don't > want to. > > Is there a way to change the address verification failed message?
Yes. Wietse unverified_recipient_reject_reason (default: empty) The Postfix SMTP server's reply when rejecting mail with reject_unveri- fied_recipient. Do not include the numeric SMTP reply code or the enhanced status code. By default, the response includes actual address verification details. Example: unverified_recipient_reject_reason = Recipient address lookup failed This feature is available in Postfix 2.6 and later. > Well i tought i could list the valid users in a table too (instead of > address verification), but since email creation happens with a webadmin > tool directly to the (cyrus) IMAP server, and existence checked via lmtp > + address verification, i would need to write a syncronization code, > which i would like to avoid. >