> Your problem description is useful, but actual logging that corresponds
> to your situation and the output of 'postconf -n' are required.  Please
> see DEBUG_README (a document to which you were linked upon joining this
> mailing list) for tips on seeking help here. 

Thanks for the response. 

-> Corresponding postfix logs:

SUCCESSFUL EMAIL

Dec 27 18:34:03 SERVER postfix/smtpd[30149]: CFD0A1000084:
client=CLIENT[172.22.23.21]
Dec 27 18:34:04 SERVER postfix/cleanup[29796]: CFD0A1000084:
message-id=<20091227183402.ea54a37...@client>
Dec 27 18:34:04 SERVER postfix/qmgr[32069]: CFD0A1000084:
from=<us...@domain.com>, size=874, nrcpt=1 (queue active)
Dec 27 18:34:04 SERVER postfix/local[30215]: CFD0A1000084:
to=<us...@domain.com>, relay=local, delay=1, status=sent (forwarded as
1CBAF100008C)
Dec 27 18:34:04 SERVER postfix/qmgr[32069]: CFD0A1000084: removed

Dec 27 18:34:04 SERVER postfix/cleanup[29800]: 1CBAF100008C:
message-id=<20091227183402.ea54a37...@client>
Dec 27 18:34:04 SERVER postfix/qmgr[32069]: 1CBAF100008C:
from=<us...@domain.com>, size=1019, nrcpt=1 (queue active)
Dec 27 18:34:04 SERVER postfix/smtp[29014]: 1CBAF100008C:
to=<us...@sub8.domain.com>, orig_to=<us...@domain.com>,
relay=INTERNAL-SERVER1[172.17.34.37], delay=0, status=sent (250 2.6.0 
<20091227183402.ea54a37...@client> Queued mail for delivery)
Dec 27 18:34:04 SERVER postfix/qmgr[32069]: 1CBAF100008C: removed


BOUNCED EMAIL

Dec 27 18:30:03 SERVER postfix/smtpd[29854]: 946F8100008C:
client=CLIENT[172.22.23.21]
Dec 27 18:30:03 SERVER postfix/cleanup[29863]: 946F8100008C:
message-id=<20091227183002.af64b37...@client>
Dec 27 18:30:03 SERVER postfix/qmgr[32069]: 946F8100008C:
from=<us...@domain.com>, size=874, nrcpt=1 (queue active)
Dec 27 18:30:04 SERVER postfix/local[30128]: 946F8100008C:
to=<us...@domain.com>, relay=local, delay=1, status=bounced (unknown user:
"USER1")
Dec 27 18:30:04 SERVER postfix/qmgr[32069]: 946F8100008C: removed

EXAMPLE REJECTED EMAIL FOR UNKNOWN RECIPIENT by postfix/smtpd:

Dec 27 16:16:29 SERVER postfix/smtpd[24805]: NOQUEUE: reject: RCPT from
CLIENT[172.22.23.21]: 550 <a...@domain.com>: Recipient address rejected: User
unknown in local recipient table; from=<us...@client> to=<a...@domain.com>
proto=ESMTP helo=<CLIENT>

Kindly check the postfix/local lines for both the emails. Sorry, I disguised
the client, server, domain and user names in the logs (all other portions
are intact). If 'USER1' user is really not found, postfix/smtpd should have
rejected - but this is not the case. Thousands of emails get through for all
the users, but once in a while postfix/local fails to find the user in the
alias tables (as shown above).

-> O/p of "postconf -n" command

alias_database = hash:/etc/postfix/aliases       
hash:/etc/postfix/aliases.shared        hash:/etc/postfix/aliases.users       
hash:/etc/postfix/aliases.lists hash:/etc/postfix/aliases.dllists
alias_maps = hash:/etc/postfix/aliases       
hash:/etc/postfix/aliases.shared        hash:/etc/postfix/aliases.users       
hash:/etc/postfix/aliases.lists hash:/etc/postfix/aliases.dllists
biff = no
canonical_maps = regexp:/etc/postfix/canonical
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
html_directory = /usr/share/doc/packages/postfix/html
local_header_rewrite_clients = permit_mynetworks
local_recipient_maps = $alias_maps
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_domains = !sub1.DOMAIN.com !sub2.DOMAIN.com !sub3.DOMAIN.com
!sub4.DOMAIN.com !sub5.DOMAIN.com !sub6.DOMAIN.com !sub7.DOMAIN.com
!sub8.DOMAIN.com DOMAIN.com
message_size_limit = 41943040
mydestination = $myhostname, $mydomain, sub1.DOMAIN.com, sub2.DOMAIN.com,
localhost, localhost.localdomain
mydomain = DOMAIN.com
mynetworks = 127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16,
/etc/postfix/relay_from
mynetworks_style = subnet
myorigin = DOMAIN.com
newaliases_path = /usr/bin/newaliases
notify_classes = resource, software, policy
readme_directory = /usr/share/doc/packages/postfix/README_FILES
recipient_delimiter = +
relay_domains = 
sample_directory = /usr/share/doc/packages/postfix/samples
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
transport_maps = hash:/etc/postfix/transport

Thanks,
Satish
-- 
View this message in context: 
http://old.nabble.com/possible-problem-with-postfix-local---tp26939697p26942833.html
Sent from the Postfix mailing list archive at Nabble.com.

Reply via email to