PostfixAdmin 3.0. Mailserver administration made easy. Christian Boltz



Similar documents
Spam fighting with Postfix

Postfix. by Rod Roark

Enhanced Spam Defence

Plesk Control Panel Adding accounts

Configuring Your Gateman Server

Configure a Mail Server

debops.postfix documentation

Domains Help Documentation This document was auto-created from web content and is subject to change at any time. Copyright (c) 2016 SmarterTools Inc.

The Beginner s Guide to G-Lock WPNewsman Plugin for WordPress: Installation and Configuration

Postfix Configuration and Administration

MXSAVE XMLRPC Web Service Guide. Last Revision: 6/14/2012

Postfix Anti-Spam Workshop

Postfix: Status Quo current development an overview

SMTP Settings. Magento Extension User Guide. Official extension page: SMTP Settings. User Guide: SMTP Settings

MPP Manager Users Guide

HGC SUPERHUB HOSTED EXCHANGE SMART PANEL 2013 USER GUIDE

Transferring Your Internet Services

policyd-weight and some unorthodox approaches to eliminating spam

Ciphermail for BlackBerry Quick Start Guide

Preparing an SMTP/IMAP/HTTP Server for mail with Raid partitions under Geom

Avira Managed Security (AMES) User Guide

ConnectMail Mobile Configuration

Written by: Johan Strand, Reviewed by: Chafic Nassif, Date: Getting an ipath server running on Linux

When you first login to your reseller account you will see the following on your screen:

Help for System Administrators

Getting an ipath server running on Linux

Avira Managed Security (AMES) User Guide

G-Lock WPNewsman WordPress Plugin Reviewer s Guide

SpamPanel Level Manual Version 1 Last update: March 21, 2014 SpamPanel

Welcome to this review guide for Configuration and Using ZyALERT. Conditions. Contact Us. Review Guide Configuration and Using ZyALERT

DOMAIN CENTRAL HOSTING

Panda Cloud Protection. Quick guide Service registration procedure

HOWTO Virtual Mail Hosting on CentOS 6.x Postfix MySQL Dovecot PostfixAdmin Amavisd-new Spamassassin Clamav

IceWarp Outlook Connector 4 User Guide

Exim4U. Server Solution For Unix And Linux Systems

SmarterMail User Guide

Fus - Exchange ControlPanel Admin Guide Feb V1.0. Exchange ControlPanel Administration Guide

Green House Data Spam Firewall Administrator Guide

Ficha técnica de curso Código: IFCAD241

to Alfresco Folder

Securepoint Security Systems

ESA FAQ. Self Administration Frequently Asked Questions

Controlling mail message flow by content analysis

Mail system components. Electronic Mail MRA MUA MSA MAA. David Byers

Plesk 7.6 For Windows User Guide

Navigating Through SpamTitan

Parallels Plesk Panel

SpamPanel Reseller Level Manual 1 Last update: September 26, 2014 SpamPanel

Enterprise Mail User Manual Advanced Internet Technologies, Inc. June 2012

SaskTel Hosted Exchange Administrator Guide

Ciphermail Gateway Administration Guide

A D M I N I S T R A T O R V 1. 0

Logging into the control panel

SIOS Protection Suite for Linux v Postfix Recovery Kit Administration Guide

Talk-101 User Guides Mailgate Administration Guide

VPS Hosting User Guide

Distributor Control Center Private Label/Channel Administrators

Plesk for Windows Copyright Notice

Fighting Spam: Tools, Tips, and Techniques

Parallels Plesk Control Panel

Plesk Panel HEAnet Customer Guide

How to move to your account with MAC Mail

. Help Documentation. This document was auto-created from web content and is subject to change at any time. Copyright (c) 2013 SmarterTools Inc.

Devdas Bhagat Spam Control

Quick-Start Guide

Patented hosting technology protected by U.S.Patents 7,0909,948; 7,076,633. Patents pending in the U.S.

HGC SUPERHUB HOSTED EXCHANGE / 2007 SMART PANEL USER GUIDE

Celframe - Easy Linux - Lesson 8 - Server

Integrated Migration Tool

Spe. SpearMail Sets up Complete Messaging System

. Service Option Description. Deltacom Product Management - updated 9/17/2007 1

Implementing a SPAM and virus scanning mail server using RedHat Linux 8.0

Parallels Plesk Panel 11 for your Linux server

Parallels Plesk Panel

Apple Mail Outlook Web Access (OWA) Logging In Changing Passwords Mobile Devices Blackberry...

Web24 Web Hosting Guide

Webmail Instruction Guide

Open-Xchange Server High availability Daniel Halbe, Holger Achtziger

Outlook Web Access Tipsheets

MailEnable Connector for Microsoft Outlook

SECURE MESSAGING PLATFORM

Quick Start Guide Getting started with your Hetzner package

USHA. Notification Setting. User Manual

Server Management Tool (SMT) 6.0 For Linux Web Hosting Customers User Manual

sendmail Cookbook Craig Hunt O'REILLY' Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo

Getting Started with Your New Services

Ciphermail Gateway Administration Guide

Erado Archiving & Setup Instruction Microsoft Exchange 2010 Push Journaling

Parallels Plesk Automation

Domain Settings. Help Documentation

Important Information

Service for checking whether an is operative or not. Validate ids in your databases.

Using McAfee Quarantine Manager

SerialMailer Manual. For SerialMailer 7.2. Copyright Falko Axmann. All rights reserved.

Apps4Rent Hosted Exchange/SharePoint Account Administration Guide.

WatchDox Administrator's Guide. Application Version 3.7.5

Transcription:

PostfixAdmin 3.0 Mailserver administration made easy Christian Boltz cboltz@opensuse.org

listen

What is PostfixAdmin? Web interface to manage your mailserver: domains mailboxes aliases (forwarding) alias domains (domain-level forwarding with recipient validation autoresponders (vacation) fetch external mailboxes (fetchmail)

Why PostfixAdmin? admin at work ;-) https://www.flickr.com/photos/wwarby/8191333046/

Permission levels Super-Admin root for mails can create domains and admins Domain-Admin admin for some domains User (/users) change alias, autoresponder message and password

Once upon a time... Sept. 2006: I switched from Plesk to PostfixAdmin some patches later: about 8 years of code cleanup

2 a t e b! 0 W 3. O N T U O beta3 coming son! https://www.flickr.com/photos/redcube75/3827045542/

New in 3.0 beta 2 ient and comandline cl Web interface to manage your mailserver: new commandline client (postfixadmin-cli) autoresponder start and end date complete rewrite (to *Handler classes) edit.php instead of lots of edit-*.php und create-*.php easily add and change fields with hook functions ($CONF['*_struct_hook']) Smarty templates... and 1000 little improvements

postfixadmin-cli postfixadmin-cli <module> <action> <ID> \ [--parameter...] <module>: admin, domain, mailbox, alias, aliasdomain, fetchmail <action>: view, add, update, delete, help <ID>: e. g. user@example.com --parameter: see postfixadmin-cli <modul> <aktion> help

postfixadmin-cli postfixadmin-cli help postfixadmin-cli domain help postfixadmin-cli domain add help postfixadmin-cli domain add # interactive mode postfixadmin-cli domain add example.com # uses defaults for all other fields postfixadmin-cli domain add example.com \ --description "test domain" --aliases 100 \ --mailboxes 50 --maxquota 100

You'll need... webserver with PHP MySQL or PostgeSQL Postfix with MySQL or PostgreSQL support (package postfix-mysql/postfix-postgresql) Dovecot (or Courier or Cyrus) documentation describing the Postfix und Dovecot configuration included https://www.flickr.com/photos/seph_swain/3141159156/

Configuration configuration is in config.inc.php write your own configuration to config.local.php (if the file doesn't exist, create it!) everything else is explained when first accessing PostfixAdmin and setup.php no default account create your first Super-Admin with setup.php database gets auto-created by setup.php when updating, run setup.php

Creating a mailbox not needed for Dovecot

Changing fields Hide send welcome mail and don't send the welcome mail function x_struct_mailbox_modify($struct) { $struct['welcome_mail']['default'] = 0; $struct['welcome_mail']['display_in_form'] = 0; return $struct; # important! } $CONF['mailbox_struct_hook'] = 'x_struct_mailbox_modify';

Postfix main.cf I virtual_alias_maps = proxy:mysql:/etc/postfix/mysql_virtual_alias_maps.cf, proxy:mysql:/etc/postfix/mysql_virtual_alias_domain_maps.cf, proxy:mysql:/etc/postfix/ mysql_virtual_alias_domain_catchall_maps.cf virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql_virtual_domains_maps.cf virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf, proxy:mysql:/etc/postfix/ mysql_virtual_alias_domain_mailbox_maps.cf (content of those files -> POSTFIX_CONF.TXT)

Postfix main.cf II delay_warning_time = 4h parent_domain_matches_subdomains = recipient_delimiter = + smtpd_sasl_path = private/auth smtpd_sasl_type = dovecot lmtp_destination_recipient_limit = 1 virtual_transport = lmtp:unix:private/dovecot-lmtp

Postfix main.cf III smtpd_recipient_restrictions = reject_non_fqdn_sender, # block incomplete hostnames reject_non_fqdn_recipient, # block incomplete hostnames permit_tls_clientcerts, # allow client certificates (rarely used) permit_sasl_authenticated, # allow SMTP auth permit_mynetworks, # allow mynetworks reject_unauth_destination, # not for us? block it check_recipient_access hash:/etc/postfix/access, # special recipient address? check_sender_access hash:/etc/postfix/senderaccess, # special sender address? reject_invalid_hostname, # block invalid HELO/ELHO reject_unknown_sender_domain, # block invalid hostnames and domains reject_unknown_recipient_domain, # block invalid hostnames and domains reject_unlisted_recipient, # block invalid/non-existing recipients reject_rbl_client ix.dnsbl.manitu.net, # blacklist reject_rbl_client zen.spamhaus.org, # blacklist check_policy_service inet:127.0.0.1:2501, # greylisting permit # allow everything else (mail for us and not blocked above)

really?

PostfixDLTAdmin

Outlook list.php instead of lots of list*.php edit.php also usable for users/* New in SVN (* mostly ;-) flag to protect some aliases from being edited or deleted (used by $CONF['alias_control_admin']) auto_increment with readable label field (e. g. for fetchmail jobs) mass edit * better search * CSV export several little improvements! h t u o y l a r u r, s k n a h T

Questions? sourceforge.net/projects/postfixadmin postfixadmin.sourceforge.net IRC: freenode #postfixadmin Christian Boltz cboltz@opensuse.org