Thanks all who replied :) Regards Muzaffer
On 7 December 2012 14:08, Noel Jones <njo...@megan.vbhcs.org> wrote: > On 12/7/2012 5:26 AM, Muzaffer Tolga Özses wrote: > > NOQUEUE: reject: RCPT from mail-ea0-f172.google.com[209.85.215.172]: > > 550 5.1.1 <r...@bilgisayarciniz.org>: Recipient address rejected: > > User unknown in virtual mailbox table; from=<to...@ozses.net> > > to=<r...@bilgisayarciniz.org> proto=ESMTP > > helo=<mail-ea0-f172.google.com> <--- This piece of log is from when > > I try to mail r...@bilgisayarciniz.org directly. > > This is correct behavior; SMTP mail to unknown recipient is rejected. > > > > > 2617A9BFF: to=<r...@bilgisayarciniz.org>, relay=virtual, delay=0.01, > > delays=0/0/0/0, dsn=5.1.1, status=bounced (unknown user: > > "r...@bilgisayarciniz.org") <--- This is from when the system-sent > > mail to root is redirected to r...@bilgisayarciniz.org. > > This is correct behavior; undeliverable local mail submitted via the > sendmail(1) interface is returned to sender. > > > > > In both cases r...@bilgisayarciniz.org does not exist. How can I > > silently discard in the second case? > > Add a virtual_alias_maps entry redirecting root to a valid > recipient. If you don't want these potentially important messages, > you can direct the valid recipient to the discard: transport with a > transport_maps entry. > > > > -- Noel Jones >