longtone Posted April 2, 2010 Share Posted April 2, 2010 Hopefully this is the right to post this, sorry if I've put it in the wrong forum I am using google mail, so I thought I wouldn't have to worry about emails using up space. Now I've found the folder: /mail/new/ is taking up a lot of disk space. Also, looking at the MX entry in cPanel (version: 11.24.5-STABLE) the column 'Always accept' says 'yes' Am I right in assuming this means I am keeping a back up? And that it's safe to change this entry to 'no' And can I safely delete the contents of /mail/new/ ? Quote Link to comment https://forums.phpfreaks.com/topic/197388-understanding-mx-entries-and-deleting-mail-folder-contents/ Share on other sites More sharing options...
andrewgauger Posted April 3, 2010 Share Posted April 3, 2010 Does Google do your dns too? Do you have an account with DynDNS.com? What I think is happening is your DNS MX record does not accurately point to ASPMX.L.GOOGLE.COM what you can do is to go to http://www.mxtoolbox.com/ and see if your mx record is correct. Always accept is not for retaining local copies, and no it is not safe to delete. Quote Link to comment https://forums.phpfreaks.com/topic/197388-understanding-mx-entries-and-deleting-mail-folder-contents/#findComment-1036257 Share on other sites More sharing options...
longtone Posted April 4, 2010 Author Share Posted April 4, 2010 The domain and web hosting are with different companies, neither is Google. The domain nameserver entry points to the webhosting nameserver and all the DNS settings are on the webhosting server. The MX records point to aspmx.l.google.com, and I just checked that with mxtoolbox, a good tip. So what is 'Always Accept' for? And can I delete some of the older files if I back them up first? Quote Link to comment https://forums.phpfreaks.com/topic/197388-understanding-mx-entries-and-deleting-mail-folder-contents/#findComment-1036709 Share on other sites More sharing options...
andrewgauger Posted April 5, 2010 Share Posted April 5, 2010 From what I know about mail I'm guessing it relates to this scenario: I send mail to gabbitygook@yourcompany.com there is no gabbitygook working here, but instead of just sending back an autoreply "gabbitygook don't work here" you have that email go to an account that is designated as the universal recipient. Who knows, the message might have been from publisher's clearing house and you might have just won $45 million. (all i need is your bank account number to deposit the funds..... but I digress). What ever files are in that directory might be from your mail server before it was moved over (I don't exactly know the whole scenario). Check the dates of last modified for the files. Note: I don't have a google app account so don't take this as gospel. You can rename the directory to something like /mail/old and see if everyone looses their mail. It probably is just old mail. Your MX record is configured properly. Quote Link to comment https://forums.phpfreaks.com/topic/197388-understanding-mx-entries-and-deleting-mail-folder-contents/#findComment-1036978 Share on other sites More sharing options...
longtone Posted April 14, 2010 Author Share Posted April 14, 2010 I've more or less figured this out now The files are messages to ( and possibly from) the server relating to cron jobs. I think they may be all mail undelivered reports, but at the moment I'm still going through the oldest files, backing up and deleting them. When I get up to date I'll have more idea what's going on Quote Link to comment https://forums.phpfreaks.com/topic/197388-understanding-mx-entries-and-deleting-mail-folder-contents/#findComment-1041621 Share on other sites More sharing options...
longtone Posted April 15, 2010 Author Share Posted April 15, 2010 OK it's sorted now The email account I was using for notifications of cron jobs was getting full, and had started rejecting messages. The rejections were sent back to the server and stored in /mail/new/ Deleted old emails, deleted contents of /mail/new/, everyone's happy again Quote Link to comment https://forums.phpfreaks.com/topic/197388-understanding-mx-entries-and-deleting-mail-folder-contents/#findComment-1042689 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.