HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Postfix / smptd not working (http://www.howtoforge.com/forums/showthread.php?t=12984)

geetha 28th May 2007 13:43

Postfix / smptd not working
 
hi

I installed and configured postfix-2.4 server. It was working properly.After that I installed Mail-SpamAssassin-3.1.8.tar.gz and its corresponding tar files. Now my postfix is not working. when i connected telnet localhost 25.. it is not connected.

Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.

I got the following error on log files

May 28 12:03:13 europa postfix/smtp[4438]: connect to coporium.net[64.20.33.115]: Connection timed out (port 25)
May 28 12:03:43 europa postfix/smtp[4438]: connect to coporium.net[64.20.49.210]: Connection timed out (port 25)
May 28 12:07:38 europa postfix/smtpd[4442]: dict_eval: const mail
May 28 12:07:38 europa postfix/smtpd[4442]: dict_eval: const ipv4
May 28 12:07:38 europa postfix/smtpd[4442]: name_mask: ipv4
May 28 12:07:38 europa postfix/smtpd[4442]: dict_eval: const europa.treselle.com
May 28 12:07:38 europa postfix/smtpd[4442]: dict_eval: const treselle.com

falko 29th May 2007 14:05

How exactly did you installl SpamAssassin? Is it invoked by amavisd or by procmail?

geetha 29th May 2007 14:24

postfix logs
 
hi

now postfix is working properly. but i get the following logs.. why should occured those logs

May 29 15:20:38 europa postfix/smtpd[6298]: dict_eval: const mail
May 29 15:20:38 europa postfix/smtpd[6298]: dict_eval: const ipv4
May 29 15:20:38 europa postfix/smtpd[6298]: name_mask: ipv4
May 29 15:20:38 europa postfix/smtpd[6298]: dict_eval: const europa.treselle.com
May 29 15:20:38 europa postfix/smtpd[6298]: dict_eval: const treselle.com
May 29 15:20:38 europa postfix/smtpd[6298]: dict_eval: const Postfix

geetha 30th May 2007 06:50

hi

I dont know how to check whether the postfix is invoked procmail or not.. I installed Mail-spamassasin.tar.gz file only. i didnt edit any configuration file. This is my postfix configuration file. already i mentioned got the so many logs. why should occured those logs.


queue_directory = /var/spool/postfix
command_directory = /usr/sbin
mail_owner = postfix
myhostname = europa.treselle.com
mydomain = treselle.com
inet_interfaces = all
mydestination = $myhostname, $mydomain, localhost.$mydomain,
localhost, Treselle.com
local_recipient_maps =
unknown_local_recipient_reject_code = 450
mynetworks = 127.0.0.1/32, 192.168.1.0/24
relayhost =
alias_maps = hash:/etc/postfix/aliases
alias_database = hash:/etc/postfix/aliases
smtpd_banner = $myhostname ESMTP $mail_name
debug_peer_level = 2
debug_peer_list = 127.0.0.1
debugger_command =
PATH=/usr/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = /usr/share/doc/postfix-2.1.1-documentation/html
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-1.1.12/samples



# Requirements for the HELO statement
smtpd_helo_restrictions=permit_mynetworks, warn_if_reject, reject_non_fqdn_hostname, reject_invalid_hostname,permit,
# Requirements for the sender details
smtpd_sender_restrictions = permit_mynetworks, warn_if_reject reject_non_fqdn_sender,reject_unknown_sender_domai n, reject_unauth_pipelining, permit
# Requirements for the connecting server
smtpd_client_restrictions = reject_rbl_client sbl.spamhaus.org,reject_rbl_client relays.ordb.org, reject_rbl_client blackholes.easynet.nl,reject_rbl_client dnsbl.njabl.org
# Requirement for the recipient address
smtpd_recipient_restrictions = reject_unauth_pipelining, permit_mynetworks,reject_non_fqdn_recipient, reject_unknown_recipient_domain, reject_unauth_destination, permit_sasl_authticated, reject_invalid_hostname, reject_non_fqdn_sender, reject_unknown_sender_domain, check_client_access hash:$config_directory/access_client, check_sender_access hash:$config_directory/access_sender, permit

# require proper helo at connections
smtpd_helo_required=yes
# waste spammers time before rejecting them
smtpd_delay_reject=yes
disable_vrfy_command=yes

falko 30th May 2007 16:31

Quote:

Originally Posted by geetha
hi

I dont know how to check whether the postfix is invoked procmail or not.. I installed Mail-spamassasin.tar.gz file only. i didnt edit any configuration file.

This means that SpamAssassin isn't invoked at all at the moment. Either install amavisd: http://www.howtoforge.com/amavisd_postfix_debian_ubuntu
or use procmail: http://www.howtoforge.com/howto_spam...lamav_procmail


All times are GMT +2. The time now is 11:33.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.