[CentOS] Postfix/Amavisd/Clamd - Mail send failing

Fri Mar 15 03:08:02 UTC 2013
Austin Einter <austin.einter at gmail.com>

I hope I have solved the first issue by giving right permission to
/var/spool/amavisd/tmp.
I gave the permission to that folder as 770.

Any input for 2nd issue.., Can it be a firewall issue...., do I need to
open any port in   IN or OUT interfaces...

It is strange when it logs "*very temporarily suspended: connect to
alt2.gmail-smtp-in.l.google.com[2607:f8b0:4002:c04::1a]:25: Network is
unreachable*".

It is just some network/dns setting causing the issue, not able to catch
the issue here .., any input...

-Austin



On Fri, Mar 15, 2013 at 7:38 AM, Austin Einter <austin.einter at gmail.com>wrote:

> Dear All
> With help from you all I am now at better stage. Special thanks to Robert.
>
> Atleast I am able to run all the required services (postfix, amavisd,
> clamd etc).
>
> I sent a mail from my gmail, I received at my newly setup domain/mailbox.
>
> I am facing issue while sending the mail outside.
>
> From maillog I realized, two issues are there.
>
>
> *1. Virus scan failed. The error log is as below *
>
> *Mar 14 18:49:55 ip-173-201-189-43 amavis[3325]: (03325-01) (!)run_av
> (ClamAV-clamd) FAILED - unexpected ,
> output="/var/spool/amavisd/tmp/amavis-20130314T184955-03325-nFS5UJ4F/parts:
> lstat() failed: Permission denied. ERROR\n"
> Mar 14 18:49:55 ip-173-201-189-43 amavis[3325]: (03325-01) (!)ClamAV-clamd
> av-scanner FAILED: CODE(0x19c3ec0) unexpected ,
> output="/var/spool/amavisd/tmp/amavis-20130314T184955-03325-nFS5UJ4F/parts:
> lstat() failed: Permission denied. ERROR\n" at (eval 113) line 897.
> Mar 14 18:49:55 ip-173-201-189-43 amavis[3325]: (03325-01) (!)WARN: all
> primary virus scanners failed, considering backups
> *
>
> *2. Looks destination network not reachable (probably here gmail's mail
> server)*
> *
> Mar 14 18:49:58 ip-173-201-189-43 amavis[3325]: (03325-01) FWD from <
> bhanu at netcloudjobs.com> -> <austin.einter at gmail.com>,BODY=7BIT 250 2.0.0
> from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 1AE0E38A0D3E
> Mar 14 18:49:58 ip-173-201-189-43 postfix/error[3384]: 1AE0E38A0D3E: to=<
> austin.einter at gmail.com>, relay=none, delay=0.02, delays=0.01/0.01/0/0,
> dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to
> alt2.gmail-smtp-in.l.google.com[2607:f8b0:4002:c04::1a]:25: Network is
> unreachable)
> Mar 14 18:49:58 ip-173-201-189-43 amavis[3325]: (03325-01) Passed CLEAN
> {RelayedOutbound}, MYNETS LOCAL [127.0.0.1]:46504 [127.0.0.1] <
> bhanu at netcloudjobs.com> -> <austin.einter at gmail.com>, Message-ID: <
> bd17726f3d35c7980426e4a55566cf79 at netcloudjobs.com>, mail_id:
> T8Zt2QE1Eico, Hits: -1, size: 805, queued_as: 1AE0E38A0D3E, 2885 ms
> *
> Is it a dns issue. Why my mail server is saying "*delivery temporarily
> suspended: connect to alt2.gmail-smtp-in.l.google.com[2607:f8b0:4002:c04::1a]:25:
> Network is unreachable)*".
>
> Kindly guide me to solve these 2 issues.
>
> Best regards
> Austin
>
>
>
>
>