Error Loading Optional Module Mail/spf.pm
instructions: Windows Mac Red Hat Linux Ubuntu Click URL instructions: Right-click on ad, choose "Copy Link", then paste here → (This may not be possible with some types of ads) More information about our ad policies X You seem to have CSS turned off. Please don't fill out this field. You seem to have CSS turned off. Please don't fill out this field. Briefly describe the problem (required): Upload screenshot of ad (required): Select a file, or drag & drop file here. ✔ ✘ Please provide the ad click URL, if possible: Home Browse AMaViS - A Mail Virus Scanner Mailing Lists AMaViS - A Mail Virus Scanner Brought to you by: braeucup, cbricart, lhecking, reniar Summary Files Reviews Support Wiki Mailing Lists Tickets ▾ Bugs Feature Requests Patches Support Requests News Discussion Code amavis-announce amavis-bugs amavis-tech amavis-user [AMaViS-user] error loading optional module [AMaViS-user] error loading optional module From: Bill Landry
[ date ] [ thread ] [ subject ] [ author ] I recently upgraded perl to 5.8.9, with portupgrade -rR, run perl-after-upgrade. Still run into some problems after that. Manually deinstalled and reinstalled many SA and Amavisd-new dependenices, but still get these errors in Amavisd-new https://sourceforge.net/p/amavis/mailman/message/19317705/ with Mail:SPF. I completely unistalled and reinstalled p5-Mail-SPF and p5-Mail-SPF-Query, but this isn't going away. Even rebuilding SA without SPF support doesn't fix this. Any suggestions ? I'd hate to switch to CPAN builds, the ports system is more https://lists.freebsd.org/pipermail/freebsd-ports/2009-January/052670.html managable. Thanks a lot in advance. fetch_modules: error loading optional module Mail/SPF/Request.pm: Base class package "Error" is empty. (Perhaps you need to 'use' the module which defines that package first, or make that module available in @INC (@INC contains: /usr/local/lib/perl5/5.8.9/BSDPAN /usr/local/lib/perl5/site_perl/5.8.9/mach /usr/local/lib/perl5/site_perl/5.8.9 /usr/local/lib/perl5/5.8.9/mach /usr/local/lib/perl5/5.8.9). at /usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/Exception.pm line 15 BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/Exception.pm line 15. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/Util.pm line 26. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/Util.pm line 26. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/Request.pm line 26. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/Request.pm line 26. Compilation failed in require at /usr/local/sbin/amavisd line 195. fetch_modules: error loading optional module Mail/SPF/Mech/A.pm: Can't locate object method "explanation_templates_by_result_code" via package "Mail::SPF::SenderIPAddrMech" at /usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/SenderIPAddrMech.pm line 28. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.9/Mail/SPF/SenderIPAd
10, 2016: iRedMail-0.9.5-1 has been released. How to migrate to a new iRedMail server More documents: http://www.iredmail.org/docs/. Subscribe to our mailing list so that you won't http://www.iredmail.org/forum/topic10142-iredmail-support-see-spam-before-erasing.html miss announcements, updates, bug fixes of iRedMail. See spam before erasing ? iRedMail →iRedMail Support →See spam before erasing ? Pages 1 You must login or register to post a https://lists.amavis.org/pipermail/amavis-users/2011-March/000106.html reply Topic RSS feed Posts: 17 1 Topic by Thierry 2015-11-11 14:21:55 Thierry Member Offline Registered: 2015-08-09 Posts: 136 Topic: See spam before erasing ? ==== Required information ====- iRedMail error loading version (check /etc/iredmail-release): 0.9.2- Linux/BSD distribution name and version: Debian 8- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql- Web server (Apache or Nginx): Nginx- Manage mail accounts with iRedAdmin-Pro? No- Related log if you're reporting an issue: ====Hi,I am not using the Pro version of iRedAdmin ...How is it possible for me to see spams before they are erase by error loading optional the system's script ?Is there any free tools ofr this ?thx ---- Urgent issue? Get fast and profressional supppport from iRedMail developers. 2 Reply by ZhangHuangbin 2015-11-11 14:26:38 ZhangHuangbin iRedMail Developers Online Registered: 2009-05-06 Posts: 18,866 Re: See spam before erasing ? *) If you configure Amavisd to quarantine Spam/Virus into SQL database, you can use SQL command line tool to get RAW message.*) If you quarantine spam/virus to file system, you can find it under the directory which is defined in '$QUARANTINEDIR =' in /etc/amavis/conf.d/*. ---- Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement? 3 Reply by Thierry 2015-11-12 19:13:23 Thierry Member Offline Registered: 2015-08-09 Posts: 136 Re: See spam before erasing ? I have long time ago, configured my system to quarantine spam/virus to sqlfile 20-debian_defaults: $QUARANTINEDIR = "$MYHOME/virusmails";Where is MYHOME defined ?File from 50-user:# Bad header. $bad_header_quarantine_method = undef; $bad_header_quarantine_method = 'sql:'; $bad_header_quarantine_to = 'bad-header-quarantine'; # SPAM. #$spam_quarantine_method = undef; $spam_quarantine_method = 'sql:'; $spam_quarantine_to = 'spam-quarantine'; # Virus $virus_quarantine_to = 'virus-quarantine'; $virus_quarantine_method = 'sql:'; # Banned #$banned_file
date ] [ thread ] [ subject ] [ author ] How can I fix that? Mar 21 09:52:00 bhaal amavis[22192]: logging initialized, log level 2, syslog: amavis.mail Mar 21 09:52:00 bhaal amavis[22192]: starting. /usr/sbin/amavisd at bhaal.floppy.org amavisd-new-2.6.4 (20090625), Unicode aware, LC_ALL="POSIX", LC_CTYPE="de_DE.UTF-8", LANG="POSIX" Mar 21 09:52:00 bhaal amavis[22192]: user=, EUID: 65 (65); group=, EGID: 114 114 (114 114) Mar 21 09:52:00 bhaal amavis[22192]: Perl version 5.012003 Mar 21 09:52:00 bhaal amavis[22192]: INFO: no optional modules: unicore::Canonical.pl unicore::Exact.pl unicore::PVA.pl Mar 21 09:52:00 bhaal amavis[22192]: SpamControl: scanner SpamAssassin, module Amavis::SpamControl::SpamAssassin fetch_modules: error loading optional module Mail/SPF.pm: Can't locate version/vpp.pm in @INC (@INC contains: lib /usr/lib/perl5/site_perl/5.12.3/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.12.3 /usr/lib/perl5/vendor_perl/5.12.3/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.12.3 /usr/lib/perl5/5.12.3/x86_64-linux-thread-multi /usr/lib/perl5/5.12.3) at (eval 130) line 2. BEGIN failed--compilation aborted at (eval 130) line 2. Compilation failed in require at /usr/lib/perl5/vendor_perl/5.12.3/Mail/SPF.pm line 24. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.12.3/Mail/SPF.pm line 24. Compilation failed in require at /usr/sbin/amavisd line 197. Mar 21 09:52:00 bhaal amavis[22192]: INFO: SA version: 3.3.1, 3.003001, no optional modules: Image::Info Image::Info::GIF Image::Info::JPEG Image::Info::PNG Image::Info::TIFF Mail::SPF -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt at chari