Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !
RichoDemus wrote:I have 32k files in /var/spool/postfix/maildrop and it's 7.8 gigabytes
I think that directory is supposed to be empty, sounds to me like mail that should be delivered somewhere but has stuck. What do you get when running "mailq"?
RichoDemus wrote:Is there a way to see the contents of these files? running mail as root simply gives me "no mail for root"
Those messages are stuck in the queue. For some reason postfix doesn't know what to do with them.
I don't really know what the default config is, but I've set up an alias so mail destinated for root ends up in my "normal" users mailbox instead. I've just added a line in my /etc/postfix/virtual for this, though I don't know if this is correct for you. Check "man 5 virtual" for a description about what to do.
It seems like postfix had stopped working which is why the queue kept getting bigger. I started it again after deleting the emails and now everything works.
But it seems like the whole email system is pretty messed up at the moment, I tried sending an email to myself:
The mail command uses a different concept. The B3 is configured to use the IMAP maildir format for use with Dovecot and places incoming emails in ~/Mail/new. You need an IMAP compatible application to access the email, but of course root is not permitted to log in to Horde (I'm not sure if it's Horde or Dovecot blocking the login).
Good for pointing this out. I had literally tens of thousands of emails from the cron daemon in roots mailbox from the Horde alarm script. I've added an alias for root now that points to user admin so I can actually read those messages and act on them if required.
The whole issue here is that, with maildir, root is not permitted to receive mail at all. That i why the mail is stuck. The postfix installer is quite lear on this topic.
nobody wrote:The whole issue here is that, with maildir, root is not permitted to receive mail at all. That i why the mail is stuck. The postfix installer is quite lear on this topic.
That doesn't conform with what I'm seeing. The only issue is that there is no commandline routine to read those emails (that I know of). In any case, the command `mail` reads the content of /var/mail/$USER which stays empty if you use maildir. So that's why it insists that there is no mail.