/usr/local/cpanel/bin/domain_keys_installer USERNAME
Archive for the ‘Exim’ category
Configuring DomainKeys from the CLI
September 28th, 2009Modify Default Mailbox Size
September 26th, 2009If using x3, edit the following file:
/usr/local/cpanel/base/frontend/x3/mail/popsinclude.html
and modify
input type="text" name="quota" value="250"
Change the value from 250 to your new default. This will modify the default quota server-wide.
Track down “nobody” spammers, Add Extended Logging To Exim
September 25th, 2009If you’re seeing outgoing spam from nobody@your.hostname.tld, you can track it down fairly easily.
In WHM, go to Exim Configuration Editor, then select Advanced Editor. In the first field, paste in:
log_selector = +address_rewrite +all_parents +arguments +connection_reject +delay_delivery +delivery_size +dnslist_defer +incoming_interface +incoming_port +lost_incoming_connection +queue_run +received_sender +received_recipients +retry_defer +sender_on_delivery +size_reject +skip_delivery +smtp_confirmation +smtp_connection +smtp_protocol_error +smtp_syntax_error +subject
You will then see extended logging in /var/log/exim_mainlog. You can simply run
grep cwd=/home /var/log/exim_mainlog
and that will show you the path for any user that is sending email via sendmail through exim. It won’t give you the filename, but at least you’ll have the user/folder name, and you can look through the scripts from there.
How to run Exim on a Secondary Port
September 24th, 2009Some ISPs will filter or completely block traffic on port 25, so you may want to make another port available to your customers. To configure exim to listen on a secondary port:
Navigate to WHM -> Service Configuration -> Service Manager, then check the box for “exim on another port.” You can use the default secondary port of 26, or enter your own.
