Darph Bobo

Active Member
Dec 15, 2002
29
0
151
I am just about ready to kill someone (or something) if I can't get this mail queue to clear out.

OK, maybe I'm not mad enough to kill, but I am getting extremely frustrated.

It is not unusual for me to have thousands of emails in the queue. Many of them appear to be legit, but when I try to deliver them manually, I get messages like these:

Message 1GRrlW-0007R1-05 is not frozen
delivering 1GRrlW-0007R1-05
LOG: MAIN
=> discarded <[email protected]> R=has_alias_but_no_mailbox_discarded_to_prevent_loop
LOG: MAIN
=> discarded <[email protected]> R=has_alias_but_no_mailbox_discarded_to_prevent_loop
LOG: MAIN PANIC
Unable to create file for virtual_sa_userdelivery transport to return message: No such file or directory
LOG: MAIN
== [email protected] <[email protected]> R=virtual_sa_user T=virtual_sa_userdelivery defer (2): No such file or directory: Unable to create file for virtual_sa_userdelivery transport to return message: No such file or directory
LOG: MAIN PANIC
Unable to create file for virtual_sa_userdelivery transport to return message: No such file or directory
LOG: MAIN
== [email protected] <[email protected]> R=virtual_sa_user T=virtual_sa_userdelivery defer (2): No such file or directory: Unable to create file for virtual_sa_userdelivery transport to return message: No such file or directory


Why would it not be working? The alias and associated email accounts are both there.
 

Darph Bobo

Active Member
Dec 15, 2002
29
0
151
sparek-3 said:
Does the mail directory exist for this account, /home/user/mail/domain.com/emailuser?

/scripts/mailperm might fix this.

Yes, that directory is there. I can receive mail, but it seems to randomly pick mail to not deliver. It tried that script and it did not help.
 

Darph Bobo

Active Member
Dec 15, 2002
29
0
151
nettigritty said:
Try running convert2maildir again with fix remaining mailboxes and then run a forced eximup.

I am afraid I don't know what that script does, as I have never run it before.
 

nettigritty

Well-Known Member
PartnerNOC
Jan 21, 2004
192
0
166
Bangalore, India
conver2maildir will convert your mailboxes to maildir format. Search maildir in the forum. Plenty results. This will switch you to courier POP and IMAP if you arent already using that and remove neomail support. This would help reduce your queues as well since there is no mailbox locking with maildir.

eximup is for updating exim.
 

Darph Bobo

Active Member
Dec 15, 2002
29
0
151
OK, I ran that on another server. It apparently keeps people from being able to check their email while it is running. :( I guess I will have to wait until tonight to run it on this server.

So you think this will fix the error listed above? I see that it will fix the locking errors I have seen, but this seems to be completely different.
 

sparek-3

Well-Known Member
Aug 10, 2002
2,152
267
388
cPanel Access Level
Root Administrator
MailDir is the new standard format. However, I'm not sure if that has anything to do with this error. It may indeed resolve this issue, but I don't think the issue is related to you using the mbox storage system instead of MailDir.

It looks to me like a file or directory is missing somewhere, typically that is what No such file or directory means.

You said /home/user/mail/domain.com/emailuser did exist. What about /home/user/etc/domain.com does it exist as well? Does the file /home/user/etc/domain.com/passwd also exist? Is the account near or over its quota?
 

Darph Bobo

Active Member
Dec 15, 2002
29
0
151
sparek-3 said:
MailDir is the new standard format. However, I'm not sure if that has anything to do with this error. It may indeed resolve this issue, but I don't think the issue is related to you using the mbox storage system instead of MailDir.

It looks to me like a file or directory is missing somewhere, typically that is what No such file or directory means.

You said /home/user/mail/domain.com/emailuser did exist. What about /home/user/etc/domain.com does it exist as well? Does the file /home/user/etc/domain.com/passwd also exist? Is the account near or over its quota?

Yes, all of those directories are there.
 

Darph Bobo

Active Member
Dec 15, 2002
29
0
151
Just to make sure I have the correct error - here is what I get when trying to force a legit email into my account:

Message 1GRmSW-00085S-0d is not frozen
delivering 1GRmSW-00085S-0d
LOG: MAIN PANIC
Unable to create file for virtual_sa_userdelivery transport to return message: No such file or directory
LOG: MAIN
== [email protected] R=virtual_sa_user T=virtual_sa_userdelivery defer (2): No such file or directory: Unable to create file for virtual_sa_userdelivery transport to return message: No such file or directory
 

Darph Bobo

Active Member
Dec 15, 2002
29
0
151
Strangely enough, that seemed to fix the issue. Now how do I get all this mail out of the queue???
 

Darph Bobo

Active Member
Dec 15, 2002
29
0
151
nettigritty said:
which one, creating the folders new and cur or conver2maildir?
convert2maildir did it. I have a couple mail files that would not convert (I am assuming because of size), but other than that they work great now.