Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Can't call method "isa" on unblessed reference at ... amavisd

Hi,


After upgrading out home OS X server from 10.7 to OS X Server 10.8 i run in quite some issues.. one is that fetchmail is unavailble now, can fix that.

But smtp mailforwarding als stops working with the following error ;


Dec 30 22:15:18 paris.harboursedge.nl postfix/smtp[9729]: C4612B863E7: to=<*****@paris.harboursedge.nl>, orig_to=<*****@harboursedge.nl>, relay=127.0.0.1[127.0.0.1]:10024, delay=558, delays=540/3.4/0.05/14, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=09539-02, decide_mail_destiny FAILED: Can't call method "isa" on unblessed reference at /Applications/Server.app/Contents/ServerRoot/usr/bin/amavisd line 6062. (in reply to end of DATA command))


Any clue how to resolve this ?


Thanks,


Peter


<Email Edited by Host>

Posted on Dec 30, 2012 1:27 PM

Reply
11 replies

Jan 5, 2013 7:59 PM in response to macpeterr

I'm seeing this too.


This seems like it should be something obvious. Perl's not even close to my best language, but from what I can see an unblessed reference in the code should be a problem for many people. Hopefully someone who knows what's going on will see this soon.


I see that it's breaking in lookup2() which is looking for an email address in SQL/LDAP/hash map etc. I have a lot of aliases defined. Wonder whether that affects this. I don't know how heavily people are usingthe different table types...

Jan 8, 2013 2:53 AM in response to kevinbrock

Since it is an upgraded system, my gut feeling would be that it is an issue with amavisd.conf causing this.

Earlier versions looked up /etc/amavisd.conf, 10.8 should look up /Library/Server/Mail/Config/amavisd/amavisd.conf


Try and remove the one in /etc (make a backup first of course), restart amavisd and see what happens.


Also check that the old amavis instance in /usr/bin is not being called instead of the one in /Applications/Server.app/Contents/ServerRoot/usr/bin/amavisd


And that there is no launchd item in /System/Library/LaunchDaemons launching an old version.

Jan 14, 2013 4:04 PM in response to pterobyte

Well, there's no other copy of amavisd.conf on the system. There's no other startup code for amavisd, just the proper version.


The entries in /Library/Logs/Mail/amavisd all look good as far as I can tell. The paths all point to the current places at least.


Sad that there's such poor information on what can go wrong with amavisd out there... The fact that it's not handling one of the types that can get passed in isn't good. I don't know enough Perl to narrow it down any more though.


Oh well. I guess I'll have to disable amavisd for the moment.

Jan 14, 2013 4:21 PM in response to macpeterr

I took one last look, and saw that the 'upgraded' version of amavisd.conf had a value for $sa_tag2_level_deflt in the format 'X.Y.Z', instead of a simple decimal number.


The value in the original amavisd was correct, but the upgrade process is broken somehow.


Changing it back to an X.Y value appears to have fixed the problem.


This is consistent with the type value of VSTRING that I was seeing in my debug output.

Can't call method "isa" on unblessed reference at ... amavisd

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.