Archive for the ‘Mail’ category

Reinstall Mailman

July 29th, 2010

If you run into an issue where you need to reinstall Mailman, you can do so with the following:

# /usr/local/cpanel/bin/mailman-install --force

Share

Fatal! Write Failure to /etc/valiases

May 3rd, 2010

Fatal! Write Failure: /etc/valiases/yourdomain.tld. Ignore any messages of success this can only result in failure!

First, verify that your domain exists (as a file) in /etc/valiases, and that it has “username:mail” permissions.

# touch /etc/valiases/yourdomain.tld
# chown username:mail /etc/valiases/yourdomain.tld

Share

Where are the Mail Filters Located?

May 3rd, 2010

Account level filters:
/home/user/.filter

User Level Filters:
/home/user/.cpanel/filter.yaml

Share

DomainKeys and SPF Record Checking

April 10th, 2010

You probably know that you can configure DomainKeys and SPF records in cPanel >> Email Authentication (if you didn’t, there you go :) ). If you’d like to confirm that your TXT records are working properly, here are some resources for you:

SPF Record Check – via HTTP
PoliteMail’s SPF Check – outputs a brief breakdown of your records details – the IP addresses permitted in the record, the hostname, and the mailserver name. Then outputs the TXT record it queried.

MXToolBox’s SuperTool – Provides SPF checks, among other useful queries.

kitterman.com

SPF Record Check – via email
This is pretty neat – you can send an email to spf-test@openspf.org from the domain you want to test, and it will reject the message, but in that rejection message, you’ll see the results of your test:

spf-test@openspf.org
SMTP error from remote mail server after RCPT TO::
host mailout02.controlledmail.com [72.81.252.18]:
550 5.7.1 : Recipient address rejected:
SPF Tests: Mail-From Result="pass": Mail From="test@cpaneladmins.com" HELO name="server.cpaneladmins.com" HELO Result="none" Remote IP="12.34.56.78"

DomainKeys Record Check

http://www.mailradar.com/domainkeys/

Other Resources:
OpenSPF.org’s Wizard – If you want to configure SPF records manually, go here. Note that you won’t be able to edit the records via cPanel >> Email Authentication later on, though.

Share

Install DomainKeys and SPF Records for All Users

December 7th, 2009


cd /var/cpanel/users
for user in * ; do /usr/local/cpanel/bin/domain_keys_installer $user ; done
for user in * ; do /usr/local/cpanel/bin/spf_installer $user ; done

Share

cPanel Web Site Hosting by IntraHost