mails not getting delivered

2009-05-19 Thread punit jain
Hi ,

I have a setup with postfix integrated with spamassassin and amavis. I have
a configuration with all spam tagged mails redirected to a spam id. For a
user i have a problem with mails not being recieved in inbox though postfix
logs say its delivered. I checked out time stamp with client system too and
everything seems fine. Do anyone has hints on this. Below are logs and
configuration: -

May 19 14:36:16 mail postfix/smtpd[22988]: A1A88E6063B:
client=localhost.localdomain[127.0.0.1]
May 19 14:36:16 mail postfix/cleanup[22961]: A1A88E6063B: redirect: header
X-Spam-Status: Yes, score=2.2 required=2
tests=[ALL_TRUSTED=-3.3,??BAYES_00=-2.599, NO_REAL_NAME=0.007,
URIBL_AB_SURBL=0.417,??URIBL_JP_SURBL=2.462, URIBL_OB_SURBL=3.213,
URIBL_PH_SURBL=2] from localhost.localdomain[127.0.0.1]; from=<
jeetendra.jo...@orgltd.com> to= proto=ESMTP
helo=: spamad...@orgltd.com
May 19 14:36:16 mail postfix/cleanup[22961]: A1A88E6063B: message-id=<
3888.192.168.2.60.1242723975.squir...@mail.orgltd.com>
May 19 14:36:16 mail postfix/qmgr[14618]: A1A88E6063B: from=<
jeetendra.jo...@orgltd.com>, size=2492, nrcpt=1 (queue active)
May 19 14:36:16 mail amavis[24359]: (24359-15) Passed SPAMMY, <
jeetendra.jo...@orgltd.com> -> , Message-ID: <
3888.192.168.2.60.1242723975.squir...@mail.orgltd.com>, mail_id:
BEs8YhKeJ-Tl, Hits: 2.2, size: 1785, queued_as: A1A88E6063B, 1361 ms
May 19 14:36:16 mail postfix/smtp[22962]: 3BA26E60642: to=<
vinod.n...@orgltd.com>, relay=127.0.0.1[127.0.0.1], delay=1, status=sent
(250 Ok: queued as A1A88E6063B)
May 19 14:36:16 mail postfix/local[23411]: A1A88E6063B: to=<
spamad...@orgltd.com>, orig_to=, relay=local,
delay=0, status=sent (delivered to maildir)
May 19 14:36:16 mail postfix/qmgr[14618]: A1A88E6063B: removed

This mail should be delivered to spamadmin account but is not.

Here is postconf -n output

[r...@mail ~]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 20
header_checks = regexp:/etc/postfix/header_checks
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
local_destination_concurrency_limit = 2
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
message_size_limit = 10485760
mydestination = $mydomain, $myhostname, localhost
mydomain = orgltd.com
myhostname = mail.orgltd.com
mynetworks = 127.0.0.0/8
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.1.5/README_FILES
sample_directory = /usr/share/doc/postfix-2.1.5/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_data_done_timeout = 10s
smtpd_banner = $myhostname ESMTP
smtpd_error_sleep_time = 3s
smtpd_hard_error_limit = 10
smtpd_helo_required = yes
smtpd_recipient_restrictions = reject_non_fqdn_recipient,
reject_non_fqdn_sender,reject_unknown_sender_domain,
permit_mynetworks,permit_sasl_authenticated,
reject_unauth_destination,  check_sender_access
hash:/etc/postfix/whitelist_sendersreject_rbl_client
zen.spamhaus.org,
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_soft_error_limit = 5
unknown_local_recipient_reject_code = 550


Any hints to the problem ?


Re: mails not getting delivered

2009-05-19 Thread Ralf Hildebrandt
* punit jain :
> Hi ,
> 
> I have a setup with postfix integrated with spamassassin and amavis. I
> have a configuration with all spam tagged mails redirected to a spam
> id. For a user i have a problem with mails not being recieved in inbox
> though postfix logs say its delivered.

How do you check if the mail is in the mailbox?

> May 19 14:36:16 mail postfix/local[23411]: A1A88E6063B: 
> to=, orig_to=, relay=local, 
> delay=0, status=sent (delivered to maildir)
...
> home_mailbox = Maildir/

I guess the mail should be here:

mutt -f ~spamadmin/Maildir/

-- 
Ralf Hildebrandt
Postfix - Einrichtung, Betrieb und Wartung   Tel. +49 (0)30-450 570-155
http://www.computerbeschimpfung.de
We have joy, we have fun, we have Linux on our Sun!