Find the answer to your Linux question:
Results 1 to 3 of 3
I'm not completely new to linux but I am to postfix so I feel my questions should go here... So here's my dilemma, on the server I can send out ...
  1. #1
    Just Joined!
    Join Date
    Jun 2009
    Posts
    2

    Question [SOLVED] Postfix as non-local SMTP

    I'm not completely new to linux but I am to postfix so I feel my questions should go here...

    So here's my dilemma, on the server I can send out and receive emails no problems when I am physically logged in, but when I telnet to the server through port 25, I can't send out emails. I got an error message saying:
    554 5.7.1 <[blocked]@[site].com>: Relay access denied


    Can somebody please tell me what I'm doing wrong?

    Here's my results when I do postconf -n:

    alias_database = hash:/etc/aliases
    alias_maps = hash:/etc/aliases
    append_dot_mydomain = no
    biff = no
    config_directory = /etc/postfix
    inet_interfaces = all
    mailbox_size_limit = 0
    mydestination = emaintx3.net, localhost.$mydomain, , $mydomain
    myhostname = emaintx3.net
    mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
    myorigin = /etc/mailname
    readme_directory = no
    recipient_delimiter = +
    relayhost =
    smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
    smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
    smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
    smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
    smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
    smtpd_use_tls = yes

  2. #2
    Linux User vickey_20's Avatar
    Join Date
    Mar 2009
    Location
    Mumbai, India
    Posts
    493
    telnet normally runs on port 23 have you changed it to 25?
    Only if I could understand the man pages
    Registered Linux user #492640
    OS: RHEL4,5 ,RH 9,Ubuntu

  3. #3
    Just Joined!
    Join Date
    Jun 2009
    Posts
    2
    I got this working already... and no...

    you can telnet to Port 25 to test SMTP from a remote server. It's the easiest way...

Posting Permissions

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