Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15
installed the postfix in RedHat Server 5.4 , the following is the #Postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory ...
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    8

    can't send email

    installed the postfix in RedHat Server 5.4 , the following is the #Postconf -n

    alias_database = hash:/etc/aliases
    alias_maps = hash:/etc/aliases
    broken_sasl_auth_clients = yes
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    daemon_directory = /usr/libexec/postfix
    debug_peer_level = 2
    html_directory = no
    inet_interfaces = all
    mail_owner = postfix
    mailq_path = /usr/bin/mailq.postfix
    manpage_directory = /usr/share/man
    mydestination = rainbowgroup.com.mo, localhost.$mydomain, $mydomain
    myhostname = rainbowgroup.com.mo
    mynetworks = 192.168.1.0/28, 127.0.0.0/8
    myorigin = smydomain
    newaliases_path = /usr/bin/newaliases.postfix
    queue_directory = /var/spool/postfix
    readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
    sample_directory = /usr/share/doc/postfix-2.3.3/samples
    sendmail_path = /usr/sbin/sendmail.postfix
    setgid_group = postdrop
    smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_security_options = noanonymous
    unknown_local_recipient_reject_code = 550

    and I try to telnet <IP> 25 , it;s no response , I use the chkconfig --list
    postfix 0:off 1:off 2:on 3:on 4:on 5:on 6:off
    saslauthd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
    sendmail 0:off 1:off 2:on 3:on 4:on 5:on 6:off

    what's wrong with me ? anyone can help !

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    If you are using Postfix then you don't need sendmail. Shut it down.
    Is the firewall up and running? If yes is port 25 allowed through?

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Just Joined!
    Join Date
    Mar 2010
    Posts
    8
    the firewall always turn off , and sendmail is too , but i still can't telnet the port 25 , what's wrong ?

  4. #4
    Just Joined! DT0X's Avatar
    Join Date
    Nov 2008
    Location
    Southwest UK
    Posts
    31
    Silly question but is postfix running? i.e. post the output of "service postfix status"

    First stop sendmail:
    service sendmail stop

    Then start postfix:
    service postfix start

    Then try again (oh and to make sure your firewall is off give us the output of "service iptables status")

  5. #5
    Just Joined!
    Join Date
    Mar 2010
    Posts
    8
    THX , the postfix is running , but still can't send out the email
    telnet port 25
    220 rainbowgroup.com.mo ESMTP Postfix
    ehlo localhost
    250-rainbowgroup.com.mo
    250-PIPELINING
    250-SIZE 10240000
    250-VRFY
    250-ETRN
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250 DSN
    quit
    221 2.0.0 Bye

    see everything is ok !

    use command tail -f /var/log/messages
    kernel: hda: irq timeout: status=0xd0 { Busy }
    kernel: ide: failed opcode was : unknown
    kernel: hda: ATAPI reset complete
    kernel: VFS: busy inodes on changed media or resized disk hda

  6. #6
    Just Joined! DT0X's Avatar
    Join Date
    Nov 2008
    Location
    Southwest UK
    Posts
    31
    So it looks like the SMTP server is running now (which wasnt the case in your first post?). What happens if you telnet to it and type "VRFY user" where user is a valid user on the system?

    What mail client are you using?

  7. #7
    Just Joined!
    Join Date
    Mar 2010
    Posts
    8
    What happens if you telnet to it and type "VRFY user" where user is a valid user on the system?

    yes , the system reply
    >252 2.0.0 user

    What mail client are you using?
    i'm using windows live message to test , anything wrong ?

  8. #8
    Just Joined! DT0X's Avatar
    Join Date
    Nov 2008
    Location
    Southwest UK
    Posts
    31
    Quote Originally Posted by nova168168 View Post
    i'm using windows live message to test , anything wrong ?
    To be honest I would have no idea where to start - my first response would be this isnt possible but I know nothing about windows live messenger!

    Sounds like your mail server is working, try sending mail from the command line - why are you using live messenger?

  9. #9
    Just Joined!
    Join Date
    Mar 2010
    Posts
    8
    I tried to use the command line already ! the result is shown as below :

    220 rainbowgroup.com.mo ESMTP Postfix
    helo localhost
    250 rainbowgroup.com.mo
    mail from:nova168168@hotmail.com
    250 2.1.0 Ok
    rcpt to:nova168168@hotmail.com
    250 2.1.5 Ok
    data
    354 End data with <CR><LF>.<CR><LF>
    subject:-test-
    1234567890
    .
    250 2.0.0 Ok: queued as 5A27140035
    quit
    221 2.0.0 Bye

  10. #10
    Just Joined! DT0X's Avatar
    Join Date
    Nov 2008
    Location
    Southwest UK
    Posts
    31
    I tried to use the command line already !
    Look mate Im trying to help you here but using exclamation marks as if Im the one asking stupid questions isnt going to help - basically all your doing is telnet to port 25 and sending the requests individually - while this may prove something thats not what I mean, funnily enough this being a linux forum, when I said try sending mail from the command line I mean try sending mail from the linux command line e.g.

    mail user

    at the linux CLI

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...