Here is the output that i have.
####snip####
[zimbra@xxxxx ~]$ zmprov gcf zimbraMtaRestriction
zimbraMtaRestriction: reject_invalid_hostname
zimbraMtaRestriction: reject_non_fqdn_sender
####end snip####
Also i noticed in the logs these emails are getting rejected.
####snip####
Jan 29 09:22:45 mail0341 amavis[16865]: (16865-17) ESMTP::10024 /opt/zimbra/data/amavisd/tmp/amavis-20090126T102430-16865: <test@asdfijsofa.com> -> <sdfhisudfhiwdu@mydomain.com> SIZE=356 Received: from mail0341.dti ([127.0.0.1]) by localhost (mail0341.dti [127.0.0.1]) (amavisd-new, port 10024) with ESMTP for <sdfhisudfhiwdu@mydomain.com>; Thu, 29 Jan 2009 09:22:45 -0800 (PST)
Jan 29 09:22:45 mail0341 amavis[16865]: (16865-17) Checking: dn9eeZel7W7x [10.20.6.142] <test@asdfijsofa.com> -> <sdfhisudfhiwdu@mydomain.com>
Jan 29 09:22:46 mail0341 amavis[16865]: (16865-17) FWD via SMTP: <test@asdfijsofa.com> -> <sdfhisudfhiwdu@mydomain.com>,BODY=7BIT 250 2.6.0 Ok, id=16865-17, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 2F6622CC04BB
Jan 29 09:22:46 mail0341 amavis[16865]: (16865-17) Passed CLEAN, LOCAL [10.20.6.142] [10.20.6.142] <test@asdfijsofa.com> -> <sdfhisudfhiwdu@mydomain.com>, Message-ID: <20090129172242.4B4442CC04BA@mail0341.dti>, mail_id: dn9eeZel7W7x, Hits: 0.718, size: 356, queued_as: 2F6622CC04BB, 636 ms
Jan 29 09:22:46 mail0341 postfix/smtp[11323]: 4B4442CC04BA: to=<sdfhisudfhiwdu@mydomain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=21, delays=20/0.01/0/0.64, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 2F6622CC04BB)
Jan 29 09:22:46 mail0341 postfix/smtp[11328]: 2F6622CC04BB: to=<sdfhisudfhiwdu@mydomain.com>, relay=mx.mailix.net[216.148.221.135]:25, delay=0.19, delays=0.01/0.01/0.14/0.03, dsn=5.0.0, status=bounced (host mx.mailix.net[216.148.221.135] said: 550 unrouteable address (in reply to RCPT TO command))
####snip####
I am curious how come i can not reject right at the smtp handshake level. Once again i am asking this because my gateway server needs to able to verify_user_maps against my zimbra mail server. like for example these are the verify logs from my gateway server
Working one my old non-zimbra server:
###snip###
2:0:1233186812:host x.x.x.x[x.x.x.x] said: 550 <xxx@xxxxxxx.com>: User unknown in virtual mailbox table (in reply to RCPT TO command)
xxx@xxxxx.xxx
#####end snip####
On the new zimbra server it doesnt seem to check and just gives me 250 and lets it though.
####snip#####
0:0:1233217377:250 2.1.5 Ok
xxxxx@xxxxxxxxx
####end snip######
Does that make more sense now?
Jliu
Jason