Skip to content

MailCleaner

June 30, 2013

SMTP banner:

Edit exim_stage1.conf_template file (/usr/mailcleaner/etc/exim) with smtp_banner = <your_banner>.
Then restart mailcleaner service. OK.

Or

The SMTP banner is automatically setup to be compliant to the RFC, so there should not be problem with it.
However
if you really need to change the domain of the HELO with a hostname for
example, you can add a line like this in /etc/mailcleaner.conf

HELONAME = yourhostname

Vmware tools:

apt-get update
aptitude install linux-headers-3.4.3
mkdir /mnt/cdrom
mount /dev/cdrom /mnt/cdrom
cd ~; mkdir vmtools; cd vmtools
cp /mnt/cdrom/VM*.tar.gz .
tar –xzvf VM*
cd vmware-tools-distrib
./vmware-install.pl
umount /mnt/cdrom; rm -rf /mnt/cdrom
rm -rf /mnt/cdrom; rm -rf /root/vmtools

Update:

aptitude update
aptitude safe-upgrade
cd /usr/mailcleaner
cvs -q update -dP
source lib/updates/update_binaries.sh
stabilizeBinaries
install/install_perl_libs.sh
install/install_sa.sh
/usr/mailcleaner/bin/check_db.pl –update (du minusai pries update)
/etc/init.d/mailcleaner restart

Autorizacija:

Authentication Server: 192.168.0.5
Base DN: dc=domain,dc=extension
Bind User: domain\administrator
Bind Password: password
User Attribute: SamAccountName (Note: No spaces and caps sensitive.)
Use SSL: No
Protocol Version: 3

Username Modifier only use entered username (without domain)
Address lookup: Fetch addresses from ldap directory

The LDAP verification part is handled by the address verification section and not the authentication section.
In there my bind user does NOT have the domain\ in front of the user name.

From the example above:
LDAP Server: 192.168.11.11
Base DN: dc=domain,dc=com
Bind User: administrator
Bind Password: password

/usr/mailcleaner/etc/greylistd/greylistd.conf_template

acl whitelist addr 65.55.78.128/25
acl whitelist addr 65.55.88.0/24
acl whitelist addr 65.55.94.0/25
acl whitelist addr 65.55.113.64/26
acl whitelist addr 65.55.126.0/25
acl whitelist addr 65.55.174.0/25
acl whitelist addr 65.55.181.128/25
acl whitelist addr 70.37.151.128/25
acl whitelist addr 74.125.82.0/24
acl whitelist addr 74.125.83.0/24
acl whitelist addr 74.125.84.0/24
acl whitelist addr 94.245.117.128/25
acl whitelist addr 111.221.23.128/25
acl whitelist addr 111.221.66.0/25
acl whitelist addr 111.221.69.128/25
acl whitelist addr 111.221.112.0/21
acl whitelist addr 132.245.0.0/16
acl whitelist addr 157.55.9.128/25
acl whitelist addr 157.55.11.0/25
acl whitelist addr 157.55.47.0/24
acl whitelist addr 157.55.49.0/24
acl whitelist addr 157.55.61.0/24
acl whitelist addr 157.55.157.128/25
acl whitelist addr 157.55.224.128/25
acl whitelist addr 157.55.225.0/25
acl whitelist addr 157.56.0.0/16
acl whitelist addr 173.194.0.0/16
acl whitelist addr 207.46.4.128/25
acl whitelist addr 207.46.58.128/25
acl whitelist addr 207.46.198.0/25
acl whitelist addr 207.46.203.128/26
acl whitelist addr 207.126.0.0/16
acl whitelist addr 207.120.0.0/16
acl whitelist addr 207.121.0.0/16
acl whitelist addr 207.122.0.0/16
acl whitelist addr 207.123.0.0/16
acl whitelist addr 207.124.0.0/16
acl whitelist addr 207.125.0.0/16
acl whitelist addr 207.126.0.0/16
acl whitelist addr 209.85.0.0/16
acl whitelist addr 213.199.154.0/24
acl whitelist addr 213.199.174.0/25
acl whitelist addr 213.199.177.0/26
acl whitelist addr 216.32.180.0/24

2013.7 Relay authorization is shown as “Rejected” in trace

/usr/mailcleaner/etc/exim/exim_stage1.conf_template

File: exim_stage1.conf_template Line 631, Replace

           logwrite      = Accepting authorized relaying session from $sender_host_address, sender $sender_address on port $received_port

with

           logwrite      = Accepting authenticated session from $sender_host_address, sender $sender_address on port $received_port

(http://forum.mailcleaner.org/viewtopic.php?f=6&t=1915)

 

—————————————————————–

fsck -f -c -y

Advertisements
No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: