2014 March

What to check if your Linux server is sending spam

Check your outgoing mail queue.

Usually this is the first sign that something is going on. If you have hundreds to hundreds of thousands of messages waiting to be sent, you have probably been compromised.

Postfix

postqueue -p
By admin on March 12, 2014 | Spam | A comment?

How to add an additional IP in Debian or Ubuntu

View Current Network Settings

Before we start, lets take a look at the current settings.

cat /etc/network/interfaces
auto eth0
iface eth0 inet static
address 123.34.45.56
netmask 255.255.255.0
gateway 123.34.45.1
hwaddress 00:12:34:56:78:9A
dns-nameservers 69.64.66.11 69.64.66.10

auto lo
iface lo inet loopback

 

Configure Updated Settings

Before proceeding, a couple of variables need to be defined.

EthX:1 = The interface your IP is connected to. If your current IP is set with auto eth0, you will use eth0:1. If your current IP is set with auto eth1, you will need to use eth1:1.
IpAddress = The IP address you are adding to your server.
GatewayIP = The IP address you are adding to your server, but replace the last octet with 1. Example: if your IP address is 123.45.67.89, then gatewayIP = 123.45.67.1

 
Using the variable defined above, you are ready to configure the network adaptor to use your new IP and gateway. Use the nano editor which comes installed by default with Ubuntu and add the following lines underneath dns-nameservers.

sudo nano /etc/network/interfaces
auto EthX:1
iface EthX:1 inet static 
address IpAddress
netmask 255.255.255.0 
gateway GatewayIP

Once you have entered the values correctly, press Ctrl+Enter to save it with the current filename, then press Ctrl+X to exit the editor.

Provided you entered your values correctly, verify the new settings by retyping the cat command:

cat /etc/network/interfaces
auto eth0
iface eth0 inet static 
address 123.34.45.56
netmask 255.255.255.0 
gateway 123.34.45.1 
dns-nameservers 69.64.66.11 69.64.66.10

auto eth0:1
iface eth0:1 inet static 
address 123.45.67.89
netmask 255.255.255.0 
gateway 123.45.67.1

auto lo
iface lo inet loopback

 

Apply setting to Interface

After you have determined the values entered are correct, restart networking with the following command:

sudo service networking restart
stop: Unknown instance: 
networking stop/waiting
administrator@ubuntu:~#

 

Finish

Your IP should now be working correctly.

By admin on March 6, 2014 | Debian / Ubuntu, Linux | A comment?
Tags:

How to setup Mac Mail for Codero managed mail users

Open Mac Mail

 

Create Account

Click File, then Add Account from the drop down menu

mac_file_add-account

 

Add Account Information

Enter the User’s full name, email address and password that was set when the address was created in ServerPortal.com, then click Continue

mac_add-account-1

 

Incoming Mail Server

On the Incoming Mail Server window:
Account type: IMAP
Description: (This is optional, you can leave it blank)
Incoming mail server: mail.coderomail.com
User Name: Enter the full email address for the user
Password: Enter the user’s password that was setup when the account was created.

Please note these two items!
1. You must use the FULL EMAIL ADDRESS of the user for the User Name. the system will default to just the username and does not automatically add the domain name. The domain name must be added for the account to work.

2. For the Incoming Mail Server, use mail.coderomail.com if you are going to use SSL. Failure to use mail.coderomail.com may cause your system to reject the ssl certificate.

mac_add-account-imap
 

Outgoing Mail Server

On the Outgoing Mail Server screen:
Description: This is optional, you may leave it blank.
Outgoing Mail Server: Select mail.coderomail.com from the dropdown box.
[ ] Use only this server: Leave this unchecked.
[X] Use Authentication: Make sure this is checked.
User Name: Enter the full email address for the user
Password: Enter the user’s password that was setup when the account was created.

Please note these two items!
1. You must use the FULL EMAIL ADDRESS of the user for the User Name. the system will default to just the username and does not automatically add the domain name. The domain name must be added for the account to work.

2. For the Incoming Mail Server, use mail.coderomail.com if you are going to use SSL. Failure to use mail.coderomail.com may cause your system to reject the ssl certificate.

mac_add-account-smtp

 

Account Summary

The Account Summary screen will show you the current settings for your new account. Click the Create button to complete the setup.

mac_account-summary

 

Additional Support

If you are experiencing issues receiving, you may need to check the port values for IMAP.

Access Account Settings

Right click “Inbox” then select Edit “Domain” to open the Account Settings screen.

mac_edit-account

 

Account Information

Select the account by clicking the account name in the right hand column, then click the Account Information tab.

Description: Set the account name
Email Address: Set the full email address for the user
Full Name: Set the name of the email user. This is usually the users first and last names.
Incoming Mail Server: mail.coderomail.com
User Name: Enter the FULL email address for this account.
Password: Set the password of the email account.
Outgoing Mail Server (SMTP): Select mail.coderomail.com. This sets the mail server this account will send through.

mac_edit-account_general

 

Advanced Settings

[X] Enable this account. This must be checked for the account to work
[X] Include when automatically checking for new messages. This is optional but suggested. If this is not checked you will need to manually check for new messages.
Keep copies of messages for offline viewing: All messages and their attachments recommended
IMAP Path Prefix: Leave blank
Port: 993 & [X] SSL if you are using SSL
Port: 143 & [ ] SSL if you are not using SSL
Authentication: Password

By admin on March 5, 2014 | Mac, Mac Mail | A comment?