First let me explain my configuration so it makes sense for you to
assist me. I have a postfix server called 'mail.iamghost.com' this
servers IP is 192.168.0.100. Now I have a user who tells me that he
can send email from his phone using my server but when he tries from
his laptop using a Spring air card, Amavisd shows it rejects the
message. Let me show you the reject logs of this user trying to send
an email from his laptop through my Postfix server:

Apr  8 13:36:35 mail postfix/smtpd[17821]: connect from
mail.somedomain.com[192.168.0.164]
Apr  8 13:36:35 mail postfix/smtpd[17821]: 1C45C77835B:
client=mail.somedomain.com[192.168.0.164]
Apr  8 13:36:35 mail postfix/cleanup[22631]: 1C45C77835B:
message-id=<22ca3816-d99e-4999-8a6a-3b32ae56b...@somedomain.com>
Apr  8 13:36:35 mail postfix/smtpd[17821]: disconnect from
mail.somedomain.com[192.168.0.164]
Apr  8 13:36:35 mail postfix/qmgr[11482]: 1C45C77835B:
from=<k...@somedomain.com>, size=765, nrcpt=1 (queue active)
Apr  8 13:36:35 mail amavis[11414]: (11414-14) Blocked SPAM, MYNETS
LOCAL [192.168.0.164] [70.10.118.252] <k...@somedomain.com> ->
<k...@cfl.rr.com>, quarantine: spam-LvufEWdV5QP9.gz, Message-ID:
<22ca3816-d99e-4999-8a6a-3b32ae56b...@somedomain.com>, mail_id:
LvufEWdV5QP9, Hits: 9.201, size: 765, 371 ms
Apr  8 13:36:35 mail postfix/lmtp[21793]: 1C45C77835B:
to=<k...@cfl.rr.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.42,
delays=0.04/0/0/0.37, dsn=2.7.0, status=sent (250 2.7.0 Ok, discarded,
id=11414-14 - SPAM)
Apr  8 13:36:35 mail postfix/qmgr[11482]: 1C45C77835B: removed

As you can see from above in line 6, the message is 'Blocked' and no
notification is sent to the sender / recipient. I don't understand
what is causing it to be blocked. When I check my 'amavisd.conf' file
for 'MYNETS', I have:

@mynetworks = qw( 127.0.0.0/8 [::1] [FE80::]/10 [FEC0::]/10
                  10.1.0.0/16 192.168.0.0/16 );

$policy_bank{'MYNETS'} = {   # mail originating from @mynetworks
  originating => 1,  # is true in MYNETS by default, but let's make it explicit
  os_fingerprint_method => undef,  # don't query p0f for internal clients
};

Can anyone tell me why Amavisd-new is rejecting this message? I show
the client connecting to the server is 192.168.0.164 so that should be
listed in '@mynetworks', no?

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to