postfix configuration help needed

Discussion in 'Server Operation' started by soroccoheaven, Aug 12, 2007.

  1. soroccoheaven

    soroccoheaven New Member

    hi,
    i am new to linux having mandrake 10.1 official. I am trying to configure postfix ..i am not getting AUTH plain and AUTH=plain Login see the log

    [root@server1 /]# telnet 192.168.2.2 25
    Trying 192.168.2.2...
    Connected to server1.vareesh.linuxhome.org (192.168.2.2).
    Escape character is '^]'.
    220 server1.vareesh.linuxhome.org ESMTP Postfix (2.1.4) (Mandrake Linux)
    ehlo localhost
    250-server1.vareesh.linuxhome.org
    250-PIPELINING
    250-SIZE 10240000
    250-VRFY
    250-ETRN
    250-STARTTLS
    250-AUTH GSSAPI
    250-AUTH=GSSAPI
    250 8BITMIME
    quit
    221 Bye
    mail from:[email protected]
    250 Ok
    rcpt to:[email protected]
    250 Ok
    data
    354 End data with <CR><LF>.<CR><LF>
    test mail
    .
    250 Ok: queued as 4F89F102E6
    quit
    221 Bye
    Connection closed by foreign host.
    [root@server1 /]#

    [root@server1 /]# telnet 192.168.2.2 110
    Trying 192.168.2.2...
    Connected to server1.vareesh.linuxhome.org (192.168.2.2).
    Escape character is '^]'.
    +OK POP3 server1.vareesh.linuxhome.org 2004.87mdk server ready
    user vareesh
    +OK User name accepted, password please
    pass password
    +OK Mailbox open, 0 messages
    quit
    +OK Sayonara
    Connection closed by foreign host.
    [root@server1 /]#

    what is this GSSAPI ?.. and how/where do i see the mail ?..
     
  2. soroccoheaven

    soroccoheaven New Member

    my postconf -n

    [root@server1 /]# postconf -n
    alias_database = hash:/etc/postfix/aliases.db
    alias_maps = hash:/etc/postfix/aliases, hash:/var/lib/mailman/data/aliases
    broken_sasl_auth_clients = yes
    canonical_maps = hash:/etc/postfix/canonical
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    daemon_directory = /usr/lib/postfix
    delay_warning_time = 4h
    home_mailbox = Mailbox
    html_directory = /usr/share/doc/postfix-2.1.4/html
    inet_interfaces = all
    mail_owner = postfix
    mail_spool_directory = /var/spool/mail
    mailbox_command =
    mailq_path = /usr/bin/mailq.postfix
    mydestination = /etc/postfix/local-host-names
    mydomain = vareesh.linuxhome.org
    myhostname = server1.$mydomain
    mynetworks = 127.0.0.0/8, 192.168.2.0/24
    mynetworks_style = class
    newaliases_path = /usr/bin/newaliases.postfix
    notify_classes = resource, software
    owner_request_special = no
    queue_directory = /var/spool/postfix
    readme_directory = /usr/share/doc/postfix-2.1.4/README_FILES
    recipient_delimiter = +
    sample_directory = /etc/postfix
    sendmail_path = /usr/sbin/sendmail.postfix
    setgid_group = postdrop
    smtp_tls_note_starttls_offer = yes
    smtp_use_tls = yes
    smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandrake Linux)
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_local_domain =
    smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2
    smtpd_sasl_security_options = noanonymous
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtpd_tls_auth_only = no
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s
    smtpd_use_tls = yes
    syslog_name = postfix
    tls_random_source = dev:/dev/urandom
    unknown_local_recipient_reject_code = 450
    virtual_alias_maps = hash:/etc/postfix/virtual
    [root@server1 /]#

    /etc/hosts

    192.168.2.3 boss.vareesh.linuxhome.org boss
    127.0.0.1 localhost.localdomain localhost
    192.168.2.4 home.vareesh.linuxhome.org home
    192.168.2.2 server1.vareesh.linuxhome.org server1
    192.168.2.1 linksys
    192.168.1.1 dsl


    /etc/postfix/main.cf

    # These are only the parameters changed from a default install
    # see /etc/postfix/main.cf.dist for a commented, fuller version of this file.

    # These are changed by postfix install script
    readme_directory = /usr/share/doc/postfix-2.1.4/README_FILES
    sample_directory = /usr/share/doc/postfix-2.1.4/samples
    html_directory = /usr/share/doc/postfix-2.1.4/html
    sendmail_path = /usr/sbin/sendmail.postfix
    setgid_group = postdrop
    command_directory = /usr/sbin
    #manpage_directory = /usr/share/man
    daemon_directory = /usr/lib/postfix
    newaliases_path = /usr/bin/newaliases.postfix
    mailq_path = /usr/bin/mailq.postfix
    queue_directory = /var/spool/postfix
    mail_owner = postfix
    # User configurable parameters

    inet_interfaces = all
    mynetworks_style = class
    delay_warning_time = 4h
    mynetworks = 127.0.0.0/8, 192.168.2.0/24
    smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandrake Linux)
    unknown_local_recipient_reject_code = 450
    smtp-filter_destination_concurrency_limit = 2
    lmtp-filter_destination_concurrency_limit = 2
    smtpd_sasl_path = /etc/postfix/sasl:/usr/lib/sasl2
    recipient_delimiter = +
    owner_request_special = no
    alias_maps = hash:/etc/postfix/aliases, hash:/var/lib/mailman/data/aliases
    alias_database = hash:/etc/postfix/aliases.db
    canonical_maps = hash:/etc/postfix/canonical
    virtual_alias_maps = hash:/etc/postfix/virtual
    sample_directory = /etc/postfix
    syslog_name = postfix
    global_config_directory = /etc/postfix
    smtpd_sasl_local_domain =
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_security_options = noanonymous
    broken_sasl_auth_clients = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
    mydomain = vareesh.linuxhome.org
    myhostname = server1.$mydomain
    notify_classes = resource, software
    #mydestination = $myhostname, server1.$mydomain, localhost
    mydestination = /etc/postfix/local-host-names
    local_resipient_maps = unix:passwd.byname $alias_maps $virtual_mailbox_maps
    # The mail_spool_directory parameter specifies the directory where
    # UNIX-style mailboxes are kept. The default setting depends on the
    # system type.
    #
    mail_spool_directory = /var/spool/mail
    home_mailbox = Mailbox
    mailbox_command =
    smtpd_tls_auth_only = no
    smtp_use_tls = yes
    smtpd_use_tls = yes
    smtp_tls_note_starttls_offer = yes
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s
    tls_random_source = dev:/dev/urandom


    [root@server1 /]#

    pls advice
     
  3. soroccoheaven

    soroccoheaven New Member

    hello... anyone pls help.
     
  4. falko

    falko Super Moderator ISPConfig Developer

Share This Page