CruzIT
Monday January 21, 2019 - 16:16:56 PM

Registered Linux User #440901    


 
Login    Register
Login Required

Postfix Mail Server Information

This information page is for the mail server Postfix and the time of this writing version 2.5.x on Ubuntu Linux 8.04 LTS & 2.8.x on 10.04 LTS
This is assuming postfix is already installed and you chose internet mail server as the option during setup.

We'll try to focus on the things that are not so prevalent on the internet and make the life of the admin easier.
Only a basic install is covered here. The main focus will be anti-spam measures and administration.



sudo apt-get install postfix

There are some other packages that should be installed and will need to be present if following the examples, especially if you plan on doing any copy/paste into your config files. Please note: One of the packages listed below and recommended will conflict with webmin. See the Apache info page for information on webmin and changing it's listening port from 10000 to something else.

sudo apt-get install pfqueue policy-weight postfix-cdb postfix-pcre postfix-smtpguard postgrey spamass-milter whitelister


whitelister listens on the same port as the default config of webmin (port 10000)

Postfix Post Install

First, let's make sure postfix is running. In a terminal:

sudo netstat -antupl | grep master

If you get an output that looks like:

tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      2961/master     

The number before /master will be random and is the pid.
If you don't get anything returned, postfix didn't start. Try the following to start it

sudo /etc/init.d/postfix start

What version am I running?

To see what version you are of Postfix is running, do this:

postconf -d | grep mail_version

That should give you something like:

mail_version = 2.8.5
milter_macro_v = $mail_name $mail_version
Collecting For A Server Upgrade  

Live logging

To see what is happening live on your mail server:
Bring up a terminal on or ssh into your mail server. Put the following in:

tail -fv /var/log/mail.log

Send yourself an email from gmail.

Of course, when it was tested, gmail was listed in one of the RBLs that we use...:[

Aug 20 06:51:09 MYMAILSERVERNAME postfix/smtpd[26625]: connect from mail-px0-f195.google.com[209.85.216.195]
Aug 20 06:51:09 MYMAILSERVERNAME postgrey[5874]: action=pass, reason=triplet found, delay=132126, client_name=mail-px0-f195.google.com, client_address=209.85.216.195, sender=MYGMAILACCOUNT@gmail.com, recipient=MYCRUZITACCOUNT@cruzit.com 
Aug 20 06:51:10 MYMAILSERVERNAME postfix/smtpd[26625]: NOQUEUE: reject: RCPT from mail-px0-f195.google.com[209.85.216.195]: 554 5.7.1 Service unavailable; Client host [209.85.216.195] blocked using ips.backscatterer.org; Sorry 209.85.216.195 is blacklisted at http://www.backscatterer.org/?ip=209.85.216.195; from=<MYGMAILACCOUNT@gmail.com> to=<MYCRUZITACCOUNT@cruzit.com> proto=ESMTP helo=<mail-px0-f195.google.com>
Aug 20 06:51:11 MYMAILSERVERNAME postfix/smtpd[26625]: disconnect from mail-px0-f195.google.com[209.85.216.195]

By default, tail will give you the last 10 lines of the file.
If you want more lines add the “-n” switch. To get the last 15 lines do this:

tail -fv -n 15 /var/log/mail.log

“Windows - Just Say No”

@ Active Member Project Honeypot  email addresses

This page was last modified on 09/1/18 @ 10:33:50:pm
This file name: info_postfix.php

Questions, Comments, Suggestions or Requests should be sent to:  ronnie@cruzit.com 

There have been  8026  Unique Visitors (IP Addresses) to this site.

Current users online : 22
Maximum users at a time : 50
Last 25 attacks have come from:
188.209.49.164
77.75.79.62
23.228.96.82
108.172.246.109
134.249.54.230
77.75.77.17
46.229.168.149
46.229.168.132
157.55.39.104
40.77.167.6
46.119.115.106
77.75.77.11
157.55.39.52
37.187.95.218
91.210.145.247
77.75.78.162
94.158.245.114
77.75.76.162
34.217.84.79
185.225.17.191
185.220.101.44
103.243.25.104
46.119.121.84
77.75.78.163
46.229.168.138

There are currently 25 unique IP addresses blacklisted.

Public cruzit.com Server Status
server offline limelight  web service
 Aw Crap!, It's Off-Line
server offline limelight  mail service
 Aw Crap!, It's Off-Line
server online www  web service
 Is On-Line
server online mx 08  mail service
 Is On-Line
server online www01  F/O web service
 Is On-Line
server online mx 09  mail service
 Is On-Line
server online tertiary  DNS service
 Is On-Line
server online mx 10  mail service
 Is On-Line

©Copyright 2004-2019 - cruzit.com - Redd Enterprises™, Inc.,  All Rights Reserved.
Ubuntu® is a registered trademark of Canonical Ltd.
Linux® is a registered trademark of Linus Torvalds.
Apache® is a registered trademark of The Apache Software Foundation.
PHP® is a registered trademark of The PHP Group.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
All other product and service names mentioned are the trademarks of their respective companies.

 

pretrial
pretrial
pretrial
pretrial
Let us know what you think! finance@homelandcomputersecurity.com