apt get life

Life around technology

  • Technology
    • Guides
    • Linux
    • Development
      • Laravel
    • Misc
    • Raspberry Pi
  • Writing
  • Crafts
    • Crochet
    • Model Making
    • Painting
  • Privacy Policy
You are here: Home / Archives for email

The Cost of Email

2012/11/20 by sudo

The internet generation of today are used to having their free email accounts with Yahoo, Microsoft or Google. The simplicity of picking a username and password before being let lose to the world. Of course all of your data is being sold to the highest bidder in order to fund these services, and in turn advertise to you. Personalised email and business email solutions are a different kettle of fish. Most domain name registrars or webhosts offer email services with your own domain name but usually at a cost.

Over the past few weeks I’ve had several queries with regard to email hosting for small businesses. People want email for their own domain names, with the ability to store (large) attachments but are shocked to find out the costs involved with setting them up with a provider or their own VPS. The email they get at home is free, and they know this, so seek justification for paying when it’s this “simple” thing that is provided to them without cost at home. It can take some explaining that their home email is not infact free, but is paid for with their data and adverts or alternatively subsidised (often a “loss-leader” with hosting providers just to get you in the door).

But why exactly does it cost so much money to run a personalised email address over one provided under a third party domain? Well there are costs involved, potentially the biggest being support. Email, for something so simple seems to cause all manor of headaches for users. Problems setting up the account on a phone or PC, attachments aren’t getting through, excessive spam, viruses, bounces, or emails just plain disappear. Google’s approach is to avoid any form of direct contact with the clients, something most companies wouldn’t get away with. Beyond the support lines are maintenance costs of keeping the system running in tip-top shape, as well as any commercial anti-virus or anti-spam applications that are designed to protect you before the email gets to your inbox. The other big cost with email systems is security, specifically SSL certificates. These require renewing every year and need to be set-up for each domain on the system. Each SSL certificate will need it’s own IP address, once more adding cost to the set-up. All this starts adding up, though it does not justify the price of some solutions that can be found online.

So what options to businesses, or those wanting personalised email have? The first step should always be to interrogate your current providers for domain names or webhosting. It’s practically unheard of for a company offering those services to not provide email as well. If you’ve been with them for some time you may be entitled to a discount, if not it’s worth arguing your case. If that fails there are alternative providers, but there is often painful scenarios were you can’t use their services without transferring domains or webhosting to them. It is very important that you check to make sure that only MX records need to be pointed to them to avoid disruption over your website. Some of the providers that seem to offer good value for money, depending what you’re looking for are outlined below:

Google – Google actually provide personalised email addresses for free up to 10 users. This email is free from advertising and uses the familliar Google Mail interface. For more information visit the Google Apps website. At the time of writing the “free” accounts for up to 10 users are found under the “pricing” tab. Exceeding the 10 users will, once again, require investment.
123-reg – Often there are mixed reviews of 123-reg, one of the bigger domain name providers in the UK. If only their advertising budget was better spent on training technical support, or fixing broken parts of their system behind the scenes. Somewhat negative opinions aside, 123-reg offer bargain-basement email solutions to those who don’t want to spend a fortune. With personalised mailboxes starting from £0.99 with up-to 2GB storage and hosting in the UK, it’s easy to see why their a popular choice for small businesses. One thing to note is that they do not seem to provide SSL security for their email accounts, which leaves them quite vulnerable to hacking. SSL itself costs money, but since they offer that service themselves you’d have thought their own email system would include it. You can find out more about 123-reg’s email service by visiting their website.
fastmail – From the friendly company that brought us the Opera web browser, fastmail is supposedly well respected. Having never interacted with them personally, I shall refrain from praise or otherwise. For more information drop by the fastmail.fm website.
Run your own – You can provide your own email on your personalised domain if you’re willing to get technical. Free, open source programs that run on Linux operating systems such as Postfix and Dovecot allow you to host your own email on your own server somewhere. There are of course many considerations if you go down this route, but sites like workaround.org do have tutorials worth investigating.
So, email isn’t free and shouldn’t be expected as such. A good email provider will always cost money, but a bad email provider will charge too much. Make sure you understand what you want from your email service provider before handing over money to anyone.

Filed Under: Misc Tagged With: business, cost, email

Postfix; Delete Mailq Messages From a Single Sender

2012/09/27 by sudo

So this is a similar post to the previous one on deleting messages to a single recipient, except this focuses on deleting messages from a recipient. It works quite well if a spammer blasts you from a single address.

To remove the nuisance mail from the queue, use a similar command as last time, except $7 indicates the senders address:

 

mailq | grep -v '^ *(' | >awk 'BEGIN { RS = "" } { if ($7 == "user@example.com")print $1 }' | tr -d '*!' | sudo postsuper -d -

*Note this command is cut of due to the width of the site. if copying make sure you select all of the text.
 

This will search the mailq for messages with a specific sender “user@example.com” and pass the message(s) to postsuper with the delete option. Please note that you will need to update the email address used in the example with the one for your sender. The command is also meant to be on one line, and has been reformatted to display on the website.

 

You can find more information from the content-source: http://themomorohoax.com/2010/05/10/deleting-messages-to-a-specific-recipient-from-the-postfix-queue

Filed Under: Guides, Technology Tagged With: email, mailq, Postfix

Auditing Postfix, Adding sender BCC to monitor outgoing email

2010/10/31 by sudo Leave a Comment

copy sent mail to inbox in postfix

My scenario is this: A customer has hosted email with me, and they had a problem with one of their members of staff. They suspected he was emailing confidential information to third parties. As a result they wanted all emails inbound and outboud forwarded to one of their senior managers for review without the member of staff knowing. I run a system using postfix, so it’s quite simple to setup the inbound redirects.

Inbound Redirects (aliases) in postfix

Inbound redirects in postfix should be very straight forward. You’ll already have a /etc/postfix/virtual file.

Edit the /etc/postfix/virtual file and find the email account you want. Then change the line so has the detectives mailbox after the suspects. My file looks like the example, but depending on your setup it might be slightly different. The important thing is to leave the suspect in both places and simply add a comma followed by your detectives details in the same format.

#Emails to this address #Go to these inboxes (seporate by comma)
suspect@domain.com suspect@domain.com, detective@domain.com

Save the file, you might need to run the postfix reload command to make this work.

Inbound Redirects (aliases) in Courier MTA

Courier MTA operates in a similar way when setting up inbound redirects, so I thought I’d detail that for you too. You’ll need to edit /etc/courier/aliases/domain.com so make a backup for it first!

Edit /etc/courier/aliases/domain.com and find the line with suspect@domain.com in it. The way this file works is that it takes the email address on the left and sends it to the place on the right, in my case that’s the Maildir folder for that user

#Emails to this address #go to these folders
suspect@domain.com suspect, detective

You’ll probably need to restart the mta in order for it to recognise the new entries file.
Update: You’ll need to run makealiases to get this to work!

Outbound Auditing sender BCC in postfix

This doesn’t work on older versions. We will need to edit the /etc/postfix/main.cf file and create a /etc/postfix/sender_bcc file. As always make a backup of the files we’re editing first, incase it all goes wrong! (cp /etc/postfix/main.cf /etc/postfix/main.cf.old)

Edit the /etc/postfix/main.cf file and add the line:
sender_bcc_maps = hash:/etc/postfix/sender_bcc

Create the file /etc/postifx/sender_bcc

#emails from #BCC to
suspect@domain.com detective@domain.com

You then need to run the commands:
postmap /etc/postfix/sender_bcc
postfix reload

Filed Under: Guides, Technology Tagged With: auditing, email, Postfix

Recent Posts

  • Disable iLO on HP Microserver Gen8
  • Ubuntu Desktop 24.04 Change Wallpaper Settings
  • Customising Ubuntu Desktop 24.04
  • Remove domains from Let’s Encrypt using Certbot
  • Install Jetbrains Toolbox on Ubuntu 22.04

Tags

API auditing crochet data recovery debian debudding development Dingo API docker email Getting started with Laravel 5 & Dingo API hard drive health HP Microserver KVM Laravel larvel 5 lenovo Linux Minion mint netgear nas networking network shares php PHP development Postfix raspberry pi review samba security SMART smartctl smartmontools smb testing traefik ubuntu ubuntu 18.04 ubuntu 20.04 ubuntu 22.04 ubuntu server vagrant Virtual machines xdebug xubuntu

© Copyright 2015 apt get life