[7.901][BUG][FIXED] SMTP proxy stopped processing new incoming/outgoing email following up2date

Hi,

I applied the 7.901 up2date at circa 19.35 BST, it seems from that point onwards - after the system had rebooted no more incoming/outgoing email was processed until I went into the mail queue and forced a retry circa 23.19 BST.  I did notice that Astaro generated emails were being processed during this time though.

Any incoming/outgoing emails were processed with the final log entry being:
2010:04:08-19:36:12 mercury smtpd[5281]: QMGR[5281]: 1NzwaI-0001lp-0e moved to work queue

Entries in the log following the forced retry of email:
2010:04:08-23:19:55 mercury smtpd[5229]: MASTER[5229]: Action: retrying 1Nzz3f-0008SI-2S (moved from error to input)
2010:04:08-23:19:55 mercury smtpd[5229]: MASTER[5229]: Action: retrying 1NzwaI-0001lp-0e (moved from error to input)
2010:04:08-23:19:55 mercury smtpd[5229]: MASTER[5229]: Action: retrying 1Nzxll-0004vN-0U (moved from error to input)
2010:04:08-23:19:55 mercury smtpd[5229]: MASTER[5229]: Action: retrying 1NzzJJ-0000kI-2i (moved from error to input)
2010:04:08-23:19:55 mercury smtpd[5229]: MASTER[5229]: Action: retrying 1NzxQL-0003tv-18 (moved from error to input)
2010:04:08-23:19:55 mercury smtpd[5229]: MASTER[5229]: Action: retrying 1NzzZa-0001U3-2b (moved from error to input)
2010:04:08-23:19:55 mercury smtpd[5229]: MASTER[5229]: Action: retrying 1NzxYg-0004K7-1G (moved from error to input)
2010:04:08-23:19:55 mercury smtpd[5229]: MASTER[5229]: Action: retrying 1NzxpH-00053p-00 (moved from error to input)
2010:04:08-23:19:55 mercury smtpd[5229]: MASTER[5229]: Action: retrying 1Nzy5O-0005lY-31 (moved from error to input)
2010:04:08-23:19:55 mercury smtpd[5229]: MASTER[5229]: Action: retrying 1NzyGv-0006IJ-2P (moved from error to input)
2010:04:08-23:19:55 mercury smtpd[5229]: MASTER[5229]: Action: retrying 1NzwbO-0001o4-2I (moved from error to input)
2010:04:08-23:19:55 mercury smtpd[5229]: MASTER[5229]: Action: retrying 1NzyOB-0006dc-0a (moved from error to input)
2010:04:08-23:19:55 mercury smtpd[5229]: MASTER[5229]: Action: retrying 1NzwmI-00027g-2q (moved from error to input)
2010:04:08-23:19:55 mercury smtpd[5229]: MASTER[5229]: Action: retrying 1NzwiJ-0001z2-0B (moved from error to input)
2010:04:08-23:19:55 mercury smtpd[5229]: MASTER[5229]: Action: retrying 1Nzztl-0002PP-08 (moved from error to input)

All held incoming/outgoing email was then processed.  Monitoring to see if any further email becomes trapped.


Cheers,

Darren
  • Found these in the kernel.log

    2010:04:09-02:00:40 mercury kernel: smtpd.bin[10807]: segfault at 20756f5d ip 00000000f6792d33 sp 00000000fff46d80 error 6 in libmagic.so.1.0.0[f6783000+14000]
    2010:04:09-02:05:35 mercury kernel: smtpd.bin[10819]: segfault at 2d2d2d31 ip 00000000f6792d33 sp 00000000fff46d80 error 6 in libmagic.so.1.0.0[f6783000+14000]
    2010:04:09-02:08:45 mercury kernel: smtpd.bin[10951]: segfault at 7920664d ip 00000000f6792d33 sp 00000000fff46d80 error 6 in libmagic.so.1.0.0[f6783000+14000]
    2010:04:09-02:09:23 mercury kernel: smtpd.bin[11006]: segfault at 7420656f ip 00000000f6959b1a sp 00000000fff46f90 error 4 in libperl.so[f68b7000+150000]
    2010:04:09-02:44:30 mercury kernel: smtpd.bin[12516]: segfault at 65746373 ip 00000000f678c436 sp 00000000fff46e60 error 4 in libmagic.so.1.0.0[f6783000+14000]
    2010:04:09-03:31:20 mercury kernel: smtpd.bin[14588]: segfault at 65746373 ip 00000000f678c436 sp 00000000fff46e60 error 4 in libmagic.so.1.0.0[f6783000+14000]
    2010:04:09-03:55:10 mercury kernel: smtpd.bin[15574]: segfault at 38206e53 ip 00000000f6792d33 sp 00000000fff46d80 error 6 in libmagic.so.1.0.0[f6783000+14000]
    2010:04:09-05:00:10 mercury kernel: smtpd.bin[18276]: segfault at 2c746157 ip 00000000f6792d33 sp 00000000fff46d80 error 6 in libmagic.so.1.0.0[f6783000+14000]
    2010:04:09-05:13:00 mercury kernel: smtpd.bin[18735]: segfault at 7327744d ip 00000000f6792d33 sp 00000000fff46d80 error 6 in libmagic.so.1.0.0[f6783000+14000]
    2010:04:09-05:15:17 mercury kernel: smtpd.bin[18743]: segfault at 430a0a0e ip 00000000f6792d33 sp 00000000fff46d80 error 6 in libmagic.so.1.0.0[f6783000+14000]
    2010:04:09-05:45:40 mercury kernel: smtpd.bin[20264]: segfault at 2a2a2a2e ip 00000000f6792d33 sp 00000000fff46d80 error 6 in libmagic.so.1.0.0[f6783000+14000]
    2010:04:09-06:00:30 mercury kernel: smtpd.bin[20880]: segfault at 6d746840 ip 00000000f6792d33 sp 00000000fff46d80 error 6 in libmagic.so.1.0.0[f6783000+14000]
    2010:04:09-06:36:20 mercury kernel: smtpd.bin[22271]: segfault at ebb ip 00000000f696e6be sp 00000000fff46da0 error 4 in libperl.so[f68b7000+150000]
    2010:04:09-06:48:50 mercury kernel: smtpd.bin[22832]: segfault at 74680a0e ip 00000000f6792d33 sp 00000000fff46d80 error 6 in libmagic.so.1.0.0[f6783000+14000]
    2010:04:09-06:55:26 mercury kernel: smtpd.bin[22844]: segfault at eb7 ip 00000000f69531d8 sp 00000000fff46510 error 4 in libperl.so[f68b7000+150000]
    2010:04:09-06:56:46 mercury kernel: smtpd.bin[23144]: segfault at 68203436 ip 00000000f6792d33 sp 00000000fff46d80 error 6 in libmagic.so.1.0.0[f6783000+14000]
    2010:04:09-06:58:12 mercury kernel: smtpd.bin[23175]: segfault at 76206f58 ip 00000000f6792d33 sp 00000000fff46d80 error 6 in libmagic.so.1.0.0[f6783000+14000]
    2010:04:09-07:32:30 mercury kernel: smtpd.bin[24743]: segfault at 5320504f ip 00000000f75827d0 sp 00000000fff46e18 error 6 in libc-2.9.so[f7514000+155000]
    2010:04:09-07:35:20 mercury kernel: smtpd.bin[24753]: segfault at 2a2a2a2e ip 00000000f6792d33 sp 00000000fff46d80 error 6 in libmagic.so.1.0.0[f6783000+14000]
    2010:04:09-07:53:00 mercury kernel: smtpd.bin[25497]: segfault at 30206e53 ip 00000000f6792d33 sp 00000000fff46d80 error 6 in libmagic.so.1.0.0[f6783000+14000]
    2010:04:09-08:04:20 mercury kernel: smtpd.bin[25506]: segfault at 72616548 ip 00000000f6792d33 sp 00000000fff46d80 error 6 in libmagic.so.1.0.0[f6783000+14000]
    2010:04:09-08:31:30 mercury kernel: smtpd.bin[27281]: segfault at 65746373 ip 00000000f678c436 sp 00000000fff46e60 error 4 in libmagic.so.1.0.0[f6783000+14000]
    2010:04:09-08:31:30 mercury kernel: smtpd.bin[27286]: segfault at 7920664d ip 00000000f6792d33 sp 00000000fff46e40 error 6 in libmagic.so.1.0.0[f6783000+14000]
    2010:04:09-08:31:40 mercury kernel: smtpd.bin[27298]: segfault at 2d2d0a0e ip 00000000f6792d33 sp 00000000fff46d80 error 6 in libmagic.so.1.0.0[f6783000+14000]
    2010:04:09-08:31:40 mercury kernel: smtpd.bin[27303]: segfault at 683c0a0e ip 00000000f6792d33 sp 00000000fff46d80 error 6 in libmagic.so.1.0.0[f6783000+14000]
    2010:04:09-08:31:50 mercury kernel: smtpd.bin[27312]: segfault at 61656840 ip 00000000f6952e66 sp 00000000fff464b0 error 4 in libperl.so[f68b7000+150000]
    2010:04:09-08:31:50 mercury kernel: smtpd.bin[27316]: segfault at 65746373 ip 00000000f678c436 sp 00000000fff46e60 error 4 in libmagic.so.1.0.0[f6783000+14000]
    2010:04:09-08:32:00 mercury kernel: smtpd.bin[27335]: segfault at 54202024 ip 00000000f6792d33 sp 00000000fff46d80 error 6 in libmagic.so.1.0.0[f6783000+14000]
  • same on My 7.901 after up2date ... hope there will be a fix soon ...

    Will now close my own post on that issue ..
    Regards
    Robert
  • Unfortunately I have had to take the 7.901 server offline and revert back to my 7.504 production server - I couldn't get any emails in/out of the Astaro except system generated emails.  I hope we get a fix soon [:)]
  • Unfortunately I have had to take the 7.901 server offline and revert back to my 7.504 production server - I couldn't get any emails in/out of the Astaro except system generated emails.  I hope we get a fix soon [:)]


    The same here, I also had to remove 7.901 SMTP proxy to get the mailflow up again. SMTP traffic is routed again through 7.504 ASG320.
  • I found an easy workaround ... it seems that the smtpd crashes on scanning for Fileattachments ... so a simple rule to not scann for attachments fixes the problem and e-mail is working well again!

    Have a look at the screenshot [:)]

    Regards
    Robert
  • Robert is right! When skipping Extension Blocking all mail is delivered.
    It's a workaround, but ok for the time beïng.
  • Hi,

    please install the attached RPM, which should fix the 'scanner crash' issue.

    - copy the rpm to the asg

    and issue the following commands as 'root' on the ASG:

    rpm -Uhv file-4.24-43.17.687.g564e541.i686.rpm --force
    buildchroot.sh smtp
    buildchroot.sh http
    /var/mdw/scripts/smtp restart
    /var/mdw/scripts/httpproxy restart (only if you have the httpproxy enabled)

    Please report if that fixes the scanner crash messages. Thanks!

    Regards,

    Sven.
    file-4.24-43.17.687.g564e541.i686.rpm
  • Hi there,

    installed, seems to work..


    VERRY good job! thank you verry much ...

    does this fix the problem with http proxy too, which stops work sometimes?

    Regards Robert


    firewall:/root # rpm -Uhv file-4.24-43.17.687.g564e541.i686.rpm --force
    Preparing...                ########################################### [100%]
       1:file                   ########################################### [100%]
    firewall:/root # buildchroot.sh smtp
    firewall:/root # buildchroot.sh http
    firewall:/root # /var/mdw/scripts/smtp restart
    :: Restarting SMTP Proxy
    :: Stopping SMTP Proxy
    [ ok ]
    :: Starting SMTP Proxy
    [ ok ]
    [ ok ]
    firewall:/root # /var/mdw/scripts/httpproxy restart
    :: Restarting httpproxy
    :: Stopping httpproxy                                                                                                                                                    done
    :: Starting httpproxy                                                                                                                                                    done
    firewall:/root #


  • Please report if that fixes the scanner crash messages. Thanks!


    So far so good, will keep you posted if I get any new errors.
    Thanks for a quick fix.
    Best Regards.
    Bill.
  • Thanks, the fix seems to have resolved the issue here ;o)