GICT knowledge base
MOJO Mail tells me Inappropriate ioctl for device
Published
When moving hosts MOJO mail may break due to server changes. Here is one example of an error you have see:
couldn’t tie /home/printing/public_html/DADA/dada_lists/mj-upe for reading: Inappropriate ioctl for device at /DADA/MailingList/Settings/Db.pm line 91.
First attempt to run the db_upgrade utility on the archive file like
db_upgrade /path/to/database
If that does not work try to edit the Config.pm file with the following changes:
BEGIN { @AnyDBM_File::ISA = qw(DB_File GDBM_File NDBM_File ODBM_File SDBM_File) }
to
BEGIN { @AnyDBM_File::ISA = qw(NDBM_File) }
This is around line 2350.
Related guides
How to Test Application Emails with Mailpit
Capture staging emails with Mailpit over a private connection. Inspect message formats and attachments without confusing capture with real delivery.
EmailHow to Test SMTP Login and TLS with swaks
Diagnose SMTP connectivity, TLS and authentication with swaks. Protect credentials and distinguish server acceptance from recipient delivery.
EmailResolving: This message was classified as rSPAM and may not be delivered
Resolve InterServer rSPAM rejections using the SMTP code and MailBaby rule details. Check authentication, security and false positives through support.
EmailHow to Check SPF, DKIM and DMARC Using Message Evidence
Diagnose email authentication using real message identities and selectors, DNS answers and alignment instead of guessed records or delivery assumptions.
