CentOS 7, postfix SMTPUTF8 / Email Address Internationalization (EAI)

SMTPUTF8 is one of extended/enhanced SMTP feature. The protocol format was defined in RFC 6531.Latest postfix-3.1, support for SMTPUTF8 feature (since version 2.12) and this is how to install/compile it on CentOS 7. Install libicu-devel, if it's not install yet. Download postfix-3.1 rpm source Rebuild the source Upgrade existing postfix…

Postfix Changing Outgoing IP By Time Interval Using TCP_TABLE And Perl

Someone asked me if i can make a perl scripts that can change the ip address based on time interval, say he want ip address 1.2.3.4 used within one hour, if done next ip address will be used within next one hour..and so on. when it came to highest number of ip address in array, they will be reset back to the start. first i suggest him to look at the articles i wrote. But then i decide to write Perl script which was made for the purposes mention above.

here we are..

Postfix section:

master.cf
127.0.0.1:2527 inet  n       n       n       -       0      spawn
          user=nobody argv=/etc/postfix/ip_by_time.pl

ip1  unix -       -       n       -       -       smtp
          -o syslog_name=postfix-ip1
          -o smtp_helo_name=smtp1.example.com
          -o smtp_bind_address=1.2.3.1

ip2  unix -       -       n       -       -       smtp
          -o syslog_name=postfix-ip2
          -o smtp_helo_name=smtp2.example.com
          -o smtp_bind_address=1.2.3.2

ip3  unix -       -       n       -       -       smtp
          -o syslog_name=postfix-ip3
          -o smtp_helo_name=smtp3.example.com
          -o smtp_bind_address=1.2.3.3

ip4  unix -       -       n       -       -       smtp
          -o syslog_name=postfix-ip4
          -o smtp_helo_name=smtp4.example.com
          -o smtp_bind_address=1.2.3.4
....
....

main.cf

transport_maps = tcp:[127.0.0.1]:2527
127.0.0.1:2527_time_limit = 3600s

postfix-2.9-20110130 multiline greeting patch

Original Author: Simon J. Mudd postfix-2.9-20110130-multiline-greeting.patch [c] diff -C1 -r postfix-2.9-20110130/src/smtpd/smtpd.c postfix-2.9-20110130.patched/src/smtpd/smtpd.c *** postfix-2.9-20110130/src/smtpd/smtpd.c Wed Jan 26 01:30:14 2011 --- postfix-2.9-20110130.patched/src/smtpd/smtpd.c Mon Jan 31 13:35:51 2011 *************** *** 4529,4531 **** } else { ! smtpd_chat_reply(state, "220 %s", var_smtpd_banner); } --- 4529,4531 ---- } else { ! smtpd_chat_reply_multiline(state, 220, var_smtpd_banner); }…