UPWORK/ODESK guru: Tips and Tricks for clients

skype: odesk.by / upwork.link , email: info@odesk.by/upwork.link

Archive for the ‘Postfix & Amavis’ Category

Guide to Deploying Diffie-Hellman for TLS

without comments

Guide to Deploying Diffie-Hellman for TLS

Read the rest of this entry »

Written by spectre

June 1st, 2015 at 11:05 am

Postfix/Amavis: Outgoing and Incoming through filter.

without comments

For future reference, the answer was a postfix configuration setting:

non_smtpd_milters =

Read the rest of this entry »

Written by spectre

December 24th, 2014 at 9:32 pm

Posted in Postfix & Amavis

Protected: ‘HowTo’ from Ubuntu’s dummy: Postfix – AmavisNew

without comments

This content is password protected. To view it please enter your password below:

Written by spectre

December 21st, 2014 at 8:48 pm

Posted in Postfix & Amavis

Postfix: systemd-services – mailgraph.service

without comments

File of service:
/etc/systemd/system/mailgraph.service

Activating service:

gate:/etc/systemd/system # systemctl enable mailgraph.service
ln -s ‘/etc/systemd/system/mailgraph.service’ ‘/etc/systemd/system/multi-user.target.wants/mailgraph.service’
gate:/etc/systemd/system #

Content of unit file:
Read the rest of this entry »

Written by spectre

September 8th, 2014 at 12:10 am

Posted in Postfix & Amavis

Log Subject Lines in Postfix

without comments

Postfix does allow you to add logging messages for subject lines, and so we’ll use this to simply log a warning message for any subject line. It’s a bit of a ‘hack’, but works and doesn’t cause any problems (Postfix doesn’t block or alter the emails).

Read the rest of this entry »

Written by spectre

May 12th, 2014 at 12:11 pm

Posted in Postfix & Amavis

Postfix: A self signed certificate or CSR.

without comments

To create a certificate to be used by Postfix use:

openssl req -new -x509 -days 3650 -nodes -out /etc/ssl/certs/postfix.pem -keyout /etc/ssl/private/postfix.pem

Read the rest of this entry »

Written by spectre

May 10th, 2014 at 5:37 pm

Posted in Postfix & Amavis

SASL authentication and Postfix

without comments

Next options require attention:

smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = no
smtpd_sasl_exceptions_networks =
smtpd_sasl_local_domain =
smtpd_sasl_path = 
smtpd_sasl_security_options = noanonymous, noplaintext
smtpd_sasl_tls_security_options = noanonymous, noplaintext
smtpd_sasl_type = cyrus

/etc/postfix/main.cf:
    smtpd_sasl_type = dovecot | cyrus
/etc/postfix/main.cf:
    smtpd_sasl_path = private/auth

This example uses a pathname relative to the Postfix queue directory, so that
it will work whether or not the Postfix SMTP server runs chrooted.Regardless of the
SASL implementation type, enabling SMTP authentication in the Postfix SMTP server
always requires setting the smtpd_sasl_auth_enable option:

Read the rest of this entry »

Written by spectre

December 3rd, 2012 at 5:03 pm

Posted in Postfix & Amavis

Protected: How to Postfix effectively blocks spam on config level.

without comments

This content is password protected. To view it please enter your password below:

Written by spectre

November 12th, 2012 at 7:41 pm

Posted in Postfix & Amavis

Protected: How to use postfix and policyd daemon.

without comments

This content is password protected. To view it please enter your password below:

Written by spectre

November 7th, 2012 at 4:11 pm

Posted in Postfix & Amavis