Postfix / smptd not working

Discussion in 'Server Operation' started by geetha, May 28, 2007.

  1. geetha

    geetha New Member

    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
     
  2. falko

    falko Super Moderator

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

    geetha New Member

    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
     
  4. geetha

    geetha New Member

    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_domain, 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
     
  5. falko

    falko Super Moderator

Share This Page