/var/mail/root accumulates with forwarded messages

Discussion in 'Installation/Configuration' started by ronee, Sep 21, 2009.

  1. ronee

    ronee Member HowtoForge Supporter

    Running ispconfig 2.2.32 on CentOS 4.7 on several systems. On one only it seems that /var/mail/root accumulates with copies of messages that hit user mailboxes that have forwarding configured. The file grows until it is too large to be further written to at which point messages to users that have configured forwarding start bouncing with NDRs like this:



    This is the Postfix program at host host.domain.

    I'm sorry to have to inform you that your message could not
    be delivered to one or more recipients. It's attached below.

    For further assistance, please send mail to <postmaster>

    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.

    The Postfix program

    <[email protected]> (expanded from <original-recipient@domain>):
    cannot access mailbox /var/mail/root for user root. error writing message:
    File too large

    Final-Recipient: rfc822; [email protected]
    Original-Recipient: rfc822; original-recipient@domain
    Action: failed
    Status: 5.0.0
    Diagnostic-Code: X-Postfix; cannot access mailbox /var/mail/root for user root.
    error writing message: File too large
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Which messages appear in the mail log when a email gets redirected to root?
     
  3. ronee

    ronee Member HowtoForge Supporter

    not sure how that matters -- I haven't tried forwarding any user email addresses to root... have no need to do that and haven't done that

    point is that I have a user [email protected] who has a forwarding address configured with a copy of all his mail also going to [email protected], watching the logs and examining /var/mail/root it is evident that root is getting a copy of all his mail, the file /var/mail/root endlessly grows with this traffic until it is too large too be written to at which point the forwarding fails and the NDRs start happening

    odd as I have forwarding on other systems where this is not happening, the system is configured for maildir in case that matters
     

Share This Page