Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: [SOLVED] URGENT How to by-pass amavis

  1. #1
    przyswa is offline Senior Member
    Join Date
    Jun 2008
    Posts
    59
    Rep Power
    7

    Default [SOLVED] URGENT How to by-pass amavis

    Hi,

    After reboot all my mails are bounced by amavis (I think) with message:

    ...dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with 127.0.0.1[127.0.0.1] while receiving the initial server greeting)

    Before try to solve the problem let me know how to by-pass amavis to deliver the mails waiting.

    Thanks in advance.

    Sam.
    Last edited by przyswa; 01-13-2011 at 01:30 AM.

  2. #2
    Saturdays is offline Advanced Member
    Join Date
    Jun 2010
    Posts
    198
    Rep Power
    5

    Default

    Quote Originally Posted by przyswa View Post
    Hi,

    After reboot all my mails are bounced by amavis (I think) with message:

    ...dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with 127.0.0.1[127.0.0.1] while receiving the initial server greeting)

    Before try to solve the problem let me know how to by-pass amavis to deliver the mails waiting.

    Thanks in advance.

    Sam.
    try restarting amavis by
    zmamavisdctl restart

    check what is the status by

    zmamavisdctl status

  3. #3
    Saturdays is offline Advanced Member
    Join Date
    Jun 2010
    Posts
    198
    Rep Power
    5

    Default

    also, please post some more details from the logs, it will be helpful to solve the issue faster.

  4. #4
    przyswa is offline Senior Member
    Join Date
    Jun 2008
    Posts
    59
    Rep Power
    7

    Default

    Quote Originally Posted by Saturdays View Post
    try restarting amavis by
    zmamavisdctl restart

    check what is the status by

    zmamavisdctl status
    The 'zmamavisdctl status' give:

    amavisd is running.
    And I don't see any log to check to see what's wrong, only /var/log/mail.log with the error:

    ...relay=127.0.0.1[127.0.0.1]:10024, delay=4253, delays=4253/0/0/
    0, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while receiving the initial server greeting)
    To explained the origin of problem, the Zimbra worked fine more than one year but my hosting company make a machine update and the RAM grows from 8 Gb to 16Gb, but after reboot nothing worked, and the first problem was Java don't start any more I had to set:

    zmlocalconfig -e mailboxd_java_heap_memory_percent=15
    to make it working.

    Perhaps this talk to you...

    Thanks a lot for your help.

    Sam.
    Release 6.0.9_GA_2686.DEBIAN5 DEBIAN5 FOSS edition. On Debian 5.0 Vserver

  5. #5
    przyswa is offline Senior Member
    Join Date
    Jun 2008
    Posts
    59
    Rep Power
    7

    Default

    I restarted amavisd and check the status, zmcontrol status show:

    z
    imbra@zimbra:/$ zmcontrol status
    Host zimbra.geismar.com
    antispam Running
    antivirus Running
    ldap Running
    logger Running
    mailbox Running
    mta Running
    snmp Running
    spell Running
    stats Running
    At this time I commented the line:

    #content_filter = smtp-amavis:[127.0.0.1]:10024
    In postfix main.cf and restart it to by-pass amavis to deliver the waiting mails

    Have you an idea ?

    Thanks in advance.

    Sam.
    Release 6.0.9_GA_2686.DEBIAN5 DEBIAN5 FOSS edition. On Debian 5.0 Vserver

  6. #6
    Saturdays is offline Advanced Member
    Join Date
    Jun 2010
    Posts
    198
    Rep Power
    5

    Default

    try this,
    zmantivirusctl stop
    zmantivirusctl start


    and check if the mails are flowing.

  7. #7
    przyswa is offline Senior Member
    Join Date
    Jun 2008
    Posts
    59
    Rep Power
    7

    Default

    Quote Originally Posted by Saturdays View Post
    try this,
    zmantivirusctl stop
    zmantivirusctl start


    and check if the mails are flowing.
    I got:

    zimbra@zimbra:/$ zmantivirusctl stop
    Stopping freshclam...done.
    Stopping clamd...done.
    zimbra@zimbra:/$ zmantivirusctl start
    Thu Jan 13 15:37:15 2011 Rewrote: /opt/zimbra/conf/clamd.conf with mode 288
    Thu Jan 13 15:37:15 2011 Rewrote: /opt/zimbra/conf/freshclam.conf with mode 384
    Starting zmmtaconfig...zmmtaconfig is already running.
    Starting amavisd...amavisd is already running.
    Starting freshclam...done.
    Starting clamd...done.
    But always the same error and the mails go defered

    Sam.
    Release 6.0.9_GA_2686.DEBIAN5 DEBIAN5 FOSS edition. On Debian 5.0 Vserver

  8. #8
    iway is offline Partner (VAR/HSP)
    Join Date
    May 2008
    Posts
    432
    Rep Power
    7

    Default

    Have you checked if your amavis is outdated?

  9. #9
    przyswa is offline Senior Member
    Join Date
    Jun 2008
    Posts
    59
    Rep Power
    7

    Default

    Quote Originally Posted by iway View Post
    Have you checked if your amavis is outdated?
    It worked fine before the machine upgrade and it start without problem. I re-installed the zcs-6.0.7_GA_2473.DEBIAN5.20100616212143 but nothing change.

    Did you think that the Amavis on ZCS 6.0.7 is outdated ?

    Sam.
    Release 6.0.9_GA_2686.DEBIAN5 DEBIAN5 FOSS edition. On Debian 5.0 Vserver

  10. #10
    przyswa is offline Senior Member
    Join Date
    Jun 2008
    Posts
    59
    Rep Power
    7

    Default

    Jan 13 07:41:58 zimbra postfix/smtp[15922]: 825F918DE0B0: to=<d.ditner@geismar.com>, orig_to=<admin@zimbra.geismar.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=4253, delays=4253/0/0/
    0, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while receiving the initial server greeting)
    Why !!!!

    The /etc/hosts:

    # /etc/hosts

    127.0.0.1<----->localhost.localdomain<->localhost
    88.190.221.42<->zimbra.geismar.com<---->zimbra
    88.190.221.41<->postfix.geismar.com

    # The following lines are desirable for IPv6 capable hosts
    # (added automatically by netbase upgrade)

    ::1<--->ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts
    host `hostname`
    zimbra.geismar.com has address 88.190.221.42

    telnet localhost 10024:
    Trying 127.0.0.1...
    Connected to localhost.localdomain.
    Escape character is '^]'.
    220 [127.0.0.1] ESMTP amavisd-new service ready
    /etc/resolv.conf
    nameserver 127.0.0.1
    #nameserver 88.191.254.60
    #nameserver 88.190.221.42

    Without amavisd mails are well sent/received

    I loose my head

    Help.
    Release 6.0.9_GA_2686.DEBIAN5 DEBIAN5 FOSS edition. On Debian 5.0 Vserver

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Amavis RAM Disk Setup - OK Now To Reimplement?
    By LMStone in forum Administrators
    Replies: 7
    Last Post: 10-12-2011, 08:26 PM
  2. Daily mail report always reports "No messages found"
    By McPringle in forum Installation
    Replies: 42
    Last Post: 06-13-2011, 08:57 AM
  3. Wrong amavis stats
    By claros in forum Administrators
    Replies: 4
    Last Post: 10-06-2006, 06:06 AM
  4. Server Stats Cont...
    By DMRDave in forum Administrators
    Replies: 15
    Last Post: 02-16-2006, 01:16 PM
  5. No data in server statistics
    By zap in forum Administrators
    Replies: 63
    Last Post: 02-13-2006, 11:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •