Re: Postfix redirects emails to postmaster for non-existent users

2017-02-07 Thread Süleyman Düzdaban
Thank you very much, sir. Much appreciated. Süleyman Düzdaban Ankara Üniversitesi Bilgi İşlem Daire Başkanlığı - Sistem Grubu 0312 215 90 01 (Dahili: 3033) On 02/07/2017 05:03 PM, Viktor Dukhovni wrote: >> On Feb 7, 2017, at 7:59 AM, Süleyman Düzdaban >> wrote: >> >> When I remove the record (

Re: Postfix redirects emails to postmaster for non-existent users

2017-02-07 Thread Viktor Dukhovni
> On Feb 7, 2017, at 7:59 AM, Süleyman Düzdaban > wrote: > > When I remove the record (For example, @ankara.edu.tr) from "alias" > table then I can get "Recipient address rejected: User unknown in > virtual mailbox table" message and that's what I want. > So I can remove all of that records fro

Re: Postfix redirects emails to postmaster for non-existent users

2017-02-07 Thread Süleyman Düzdaban
Yes, you're right sir, we have for all of our domains ("postmap -q @ankara.edu.tr(or other subdomains) mysql:$config_directory/maps/sql-valiases.cf" yields some return value). When I remove the record (For example, @ankara.edu.tr) from "alias" table then I can get "Recipient address rejected: User

Re: Postfix redirects emails to postmaster for non-existent users

2017-02-06 Thread Viktor Dukhovni
On Mon, Feb 06, 2017 at 05:37:27PM +0300, Süleyman Düzdaban wrote: > > Be specific, what type of domain is "mydomain": > > > > Please be very clear whether you're trying to reject mail *to* > > non-existent recipients, or *from* non-existent senders. I am > > assuming "recipients" for now based o

Re: Postfix redirects emails to postmaster for non-existent users

2017-02-06 Thread Süleyman Düzdaban
On 02/02/2017 06:41 PM, Viktor Dukhovni wrote: > On Thu, Feb 02, 2017 at 04:21:41PM +0300, S�leyman D�zdaban wrote: > >> 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

Re: maximal_queue_lifetime (was Re: Postfix redirects emails to postmaster for non-existent users)

2017-02-02 Thread Viktor Dukhovni
> On Feb 2, 2017, at 2:07 PM, @lbutlr wrote: > > Curious for opinions on shortening this some from the default (5days, IIRC). > > I mean, 1d seems too short to me, but 5d seems a bit long in today’s > Internet. 2d? 60h? I've at times set it as short as 2d (never less), but the RFC requirement

Re: maximal_queue_lifetime (was Re: Postfix redirects emails to postmaster for non-existent users)

2017-02-02 Thread Shawn Heisey
On 2/2/2017 12:07 PM, @lbutlr wrote: > On Feb 2, 2017, at 8:41 AM, Viktor Dukhovni > wrote: >>> maximal_queue_lifetime = 1d >> >> Perhaps too short. > > Curious for opinions on shortening this some from the default (5days, IIRC). > > I mean, 1d seems too short to me, but 5d seems a bit long in

Re: Postfix redirects emails to postmaster for non-existent users

2017-02-02 Thread @lbutlr
On Feb 2, 2017, at 8:47 AM, Süleyman Düzdaban wrote: > postmap -q "existing-but-not-act...@ankara.edu.tr" So, for me: postman -q krem...@kreme.com hash:/usr/local/etc/postfix/virtual It looks to us like your hostname in main.cf doesn’t match “ankara.edu.tr”. -- Apple broke AppleScriptin

maximal_queue_lifetime (was Re: Postfix redirects emails to postmaster for non-existent users)

2017-02-02 Thread @lbutlr
On Feb 2, 2017, at 8:41 AM, Viktor Dukhovni wrote: >> maximal_queue_lifetime = 1d > > Perhaps too short. Curious for opinions on shortening this some from the default (5days, IIRC). I mean, 1d seems too short to me, but 5d seems a bit long in today’s Internet. 2d? 60h? I can’t recall the last

Re: Postfix redirects emails to postmaster for non-existent users

2017-02-02 Thread Süleyman Düzdaban
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

Re: Postfix redirects emails to postmaster for non-existent users

2017-02-02 Thread Viktor Dukhovni
On Thu, Feb 02, 2017 at 04:21:41PM +0300, S�leyman D�zdaban wrote: > 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. Be specific, what type of domain

Re: Postfix redirects emails to postmaster for non-existent users

2017-02-02 Thread Wietse Venema
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 1

Re: Postfix redirects emails to postmaster for non-existent users

2017-02-02 Thread Süleyman Düzdaban
It didn't work. 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

Re: Postfix redirects emails to postmaster for non-existent users

2017-02-02 Thread Benny Pedersen
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@$m

Re: Postfix redirects emails to postmaster for non-existent users

2017-02-02 Thread Dominic Raferd
On 2 February 2017 at 13:21, Süleyman Düzdaban < suleyman.duzda...@ankara.edu.tr> wrote: > Hi, > > 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. > >

Postfix redirects emails to postmaster for non-existent users

2017-02-02 Thread Süleyman Düzdaban
Hi, 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. Postfix version: 2.9.6-2 "mail.log": Feb 2 15:25:40 postaci postfix-policyd: rcpt=156749, throttl