Re: Postfix/Amavisd/Clamd - Mail send failing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I just executed below command

*[root@ip-173-201-189-43 tmp]#
[root@ip-173-201-189-43 tmp]# telnet gmail-smtp-in.l.google.com 25
Trying 173.194.79.27...
telnet: connect to address 173.194.79.27: No route to host
Trying 2607:f8b0:400e:c01::1b...
telnet: connect to address 2607:f8b0:400e:c01::1b: Network is unreachable
[root@ip-173-201-189-43 tmp]#
*
Looks its a generic issue, nothing to do with mail setup.

I am not able to connect to gmail server's 25 port.

What is the work around here, any idea.....





On Fri, Mar 15, 2013 at 8:38 AM, Austin Einter <austin.einter@xxxxxxxxx>wrote:

> 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@xxxxxxxxx>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@xxxxxxxxxxxxxxxx> -> <austin.einter@xxxxxxxxx>,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@xxxxxxxxx>, 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@xxxxxxxxxxxxxxxx> -> <austin.einter@xxxxxxxxx>, Message-ID: <
>> bd17726f3d35c7980426e4a55566cf79@xxxxxxxxxxxxxxxx>, 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
>>
>>
>>
>>
>>
>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux