Excuse me, sir. No, I didn't forget to 'postfix reload' and I'm reading the documentation for days but I can't figure it out. If you don't mind me asking can you point me to where i have to look specifically, please?
By the way I've noticed that when I send an email to an existing-but-not-active address (in database) it bounces: "This is the mail system at host postaci.cc.ankara.edu.tr. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster. If you do so, please include this problem report. You can delete your own text from the attached returned message. The mail system <existing-but-not-act...@ankara.edu.tr>: user unknown. Command output: Invalid user specified. Reporting-MTA: dns; postaci.cc.ankara.edu.tr X-Postfix-Queue-ID: 60077221F31 X-Postfix-Sender: rfc822; suleyman.duzda...@ankara.edu.tr Arrival-Date: Thu, 2 Feb 2017 18:19:49 +0300 (+03) Final-Recipient: rfc822; existing-but-not-act...@ankara.edu.tr Original-Recipient: rfc822;existing-but-not-act...@ankara.edu.tr Action: failed Status: 5.1.1 Diagnostic-Code: x-unix; Invalid user specified." Here is virtual_alias_maps file: user = ******** password = ******** dbname = ******** table = table-name select_field = select-field-name where_field = where-field-name additional_conditions = and active = '1' order by alias_id and virtual_mailbox_maps file: user = ******** password = ******** dbname = ******** table = table-name select_field = select-field-name where_field = where-field-name additional_conditions = AND active = '1' Thanks. Süleyman Düzdaban Ankara Üniversitesi Bilgi İşlem Daire Başkanlığı - Sistem Grubu 0312 215 90 01 (Dahili: 3033) On 02/02/2017 05:21 PM, Wietse Venema wrote: > S?leyman D?zdaban: >> It didn't work. > Please clarify. It's working now, because you forgot to 'postfix > reload'? It doesn't work the way you want, because you did not read > the documentation? > > Wietse > >> On 02/02/2017 04:56 PM, Benny Pedersen wrote: >>> S?leyman D?zdaban skrev den 2017-02-02 14:21: >>> >>>> When I send an email from existent-address@mydomain to >>>> non-existent-address@mydomain postfix redirects email to postmaster. >>>> I want to reject email to addresses that do not exist in database. >>>> "postconf -n": >>>> >>>> 2bounce_notice_recipient = postmaster@$mydomain >>> there you ask for it imho >>> >>