Home » Email server

Disable imap/pop3 for a particular user

Edit /etc/dovecot.conf, find: mechanisms = plain Add after: passdb passwd-file { args = /etc/dovecot-deny.%Ls deny = yes } Now use the following script to disable IMAP (or POP3 (replace IMAP with POP3 in the script)) access (usage: ./script allow/deny usename):   #!/bin/sh # # Script used to deny IMAP access for a particular user show_help() [...]

SMTP Relaying Via a Smarthost

This page describes how to set up exim 4 on both a laptop and a server so that you can relay mail via the server no matter where your laptop logs in from. Overview Laptops are portable and end up being connected to various networks from day to day. You might connect it at the [...]

Postfix postdrop: unable to look up public/pickup: No such file or directory

The Postfix mail logs may indicate the following error when emails are not working: postdrop: warning: unable to look up public/pickup: No such file or directory It turns out to be sendmail running along with Postfix and creating issues. The fix is to stop/remove sendmail and create the necessary postfix directory and restart the postfix [...]

How To Relay Email On A Postfix Server

Introduction For two small businesses I set up a debian lenny installation on their “home” dsl connection. The problem is that they have dynamic ip addresses and most mailservers will not accept incoming mail from a server on a dynamic ip address. The solution is rather simple. Set up postfix in a way that it [...]

How To Install Qmailtoaster (CentOS 5.3)

Qmailtoaster (www.qmailtoaster.com) is a project that aims to make the installation of Qmail onto RPM based systems a snap. All of the packages are distributed in source RPMs so building the packages for your particular distro and architecture is as easy as running a script or a simple command for each package. The RPMs have [...]