Postings by Emanuel

Postfix performance problem (cleanup process)

Hello everyone, I'm representing a performance problem on my server.

I explain in detail the configuration of my server.

I am using postfix with 46 IPs configured as a mta, with round-robin, in
the file

I think the "cleanup" process is responsible for the excessive use of cpu.

ps fax | grep -c cleanup

Is there any way to limit it?

I have modified the maxproc in the file but the change was not

# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (

Postfix error (warning: problem talking to server Connection timed out)

Hello, i see this error:

Apr 16 13:13:51 host02 postfix/smtpd[32761]: warning: problem talking to
server Connection timed out
Apr 16 13:13:52 host02 postfix/smtpd[32491]: warning: problem talking to
server Connection timed out
Apr 16 13:13:53 host02 postfix/smtpd[355]: warning: problem talking to
server Connection timed out
Apr 16 13:13:54 host02 postfix/smtpd[32584]: warning: problem talking to
server Connection timed out
Apr 16 13:13:54 host02 postfix/smtpd[366]: warning: problem talking to
server Conn

Postfix [Postfwd2 error]


In /var/log/maillog i see this error, which produce an excessive cpu usage

postfwd2/policy[4807]: warning: Complex regular subexpression recursion
limit (32766) exceeded at /opt/postfix/postfwd/sbin/postfwd2 line 1168,
<$fh> line 230.?

any ideas?


Subject Regular expressión


I have a problem when locking with regular expressions

I need match

/^Subject: (Hello there(.*)|Hey man(.*))/ discard

The rule not work.!

the parameter. * is correct?

any ideas?

thanks for your help.

Problema Postfix header from is empty (<>)

Hello, i use exim with relay connection to postfix (postfix is the mta

I use a autoreply in exim:

# Exim filter
if error_message then

if $message_headers contains ${local_part}\@${domain} then
  to ${reply_address}
  from "\"=?iso-8859-1?Q?Administraci=F3n_TRIXIE?=\"
  #reply_to $h_to:
  subject "Licencia de Vacaciones.

header_checks UTF8 discard


i create this rule to block phishing intent

/^Subject: =?UTF-8?B?U3UgY3VlbnRhIHNlIGVuY3VlbnRyYSBlbiByZXZpc2nDs24u?=/

but not work

any ideas?




I currently allow to send 100 recipients per email but I would like to
create an exception so that an IP can send to 1000 recipients, is it



Deny rcpt alert notification


I have an idea to avoid sending spam from my server, Is it possible to
create a blocking rule so that when it is sent to a recipient, the mail
is discarded and an alert arrives via email?

My question is because I have represented cases where the computer is
infected with virus to my client and send spam from the email account.


Server with postfix, exim, clamav, spamassin....amavis is recommended??


i use this scenario

exim ==> relay to ==> postfix

clamav ==> antivirus

spamassasin ==> antispam

I recommended use amavis??

Does it bring benefits?



Postfix, clamav and Spamassasin - delete high scoring spam


I use Postfix, clamav and spamassain to figth the spam in my server.

I my custom_rules from spamassasin i add the following rule to give 100
points to emails that contain infected attachments.

priority CLAMAV -900
shortcircuit CLAMAV spam
score CLAMAV 200

my question is, can be removed automatically through postfix?



Block IP rcpt-to or block MX


Is it possible to create a list where the IP of certain recipients can
be blocked?

Here and example:

Oct 19 10:15:09 smtp01 postfix/smtpd[11048]: 5C28C20018459:
Oct 19 10:15:09 smtp01 postfix/cleanup[6836]: 5C28C20018459:
message-id=< ... at domain dot com>
Oct 19 10:15:09 smtp01 postfix/qmgr[3054]: 5C28C20018459:
from=< ... at domain dot com>, size=16981, nrcpt=1 (queue active)
Oct 19 10:15:25 smtp01 smht-101-41/smtp[7698]: 5C28C20018459:
to=< ... at hotmial dot com>,[]:25,
delay=16, delays=0.15/0/9.2/6.3, dsn=2.0.0, st