Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th May 2007, 14:43
geetha geetha is offline
Junior Member
 
Join Date: Oct 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 29th May 2007, 15:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

How exactly did you installl SpamAssassin? Is it invoked by amavisd or by procmail?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 29th May 2007, 15:24
geetha geetha is offline
Junior Member
 
Join Date: Oct 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
  #4  
Old 30th May 2007, 07:50
geetha geetha is offline
Junior Member
 
Join Date: Oct 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #5  
Old 30th May 2007, 17:31
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

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
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Issues with Postfix using "Virtual Users And Domains With Postfix, Courier And MySQL" Kyse HOWTO-Related Questions 15 6th January 2007 16:35
Postfix - masquerade not working phreak Server Operation 6 6th December 2006 18:46
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 16:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 16:36
Postfix not working bullshit Installation/Configuration 6 11th March 2006 16:36


All times are GMT +2. The time now is 14:02.


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