View Single Post
  #13  
Old 30th November 2011, 08:56
fisherofer fisherofer is offline
Senior Member
 
Join Date: Sep 2009
Posts: 131
Thanks: 0
Thanked 3 Times in 3 Posts
Default

any of this code may help
i added the line
-o disable_dns_lookups=yes

and i dont think it may help

Modify Postfix master.cf and main.cf

Code:
$cd /etc/postfix
$vi main.cf

## add this line below

content_filter = smtp-amavis:[127.0.0.1]:10024

$vi master.cf

## add few line below into master.cf

smtp-amavis unix -      -       n     -       2  smtp
-o smtp_data_done_timeout=1200
-o disable_dns_lookups=yes

127.0.0.1:10025 inet n  -       n     -       -  smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes

smtp      inet  n       -       n       -       -       smtpd
Starting Postfix

[code]$postfix start
Reply With Quote