Postfix Will Receive but NOT Send Mail

Discussion in 'Installation/Configuration' started by techy7636, May 27, 2009.

  1. techy7636

    techy7636 New Member

    Hey All

    I'm having problems with my Postfix setup - it will currently only send and receive through SquirrelMail but will only receive and NOT send via Outlook or other mail clients.

    Every time I try to send I receive the following message:

    Sending failed; Reason:554 5.7.1 : Relay access denied

    My config is set up as follows:

    myhostname =
    mynetworks_style = subnet
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = /etc/mailname
    mydestination =, $myhostname, localhost.$mydomain, localhost, $mydomain
    relayhost =
    mydomain =
    mailbox_command = procmail -a "$EXTENSION"
    mailbox_size_limit = 0
    recipient_delimiter = +
    broken_sasl_auth_clients = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks reject_unauth_destination permit permit_inet_interfaces
    smtpd_tls_auth_only = no
    smtp_use_tls = yes
    smtp_tls_note_starttls_offer = yes
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s
    tls_random_source = dev:/dev/urandom
    virtual_alias_maps = hash:/etc/postfix/virtual
    message_size_limit = 20480000
    smtpd_sasl_security_options =
    inet_interfaces = all
    inet_protocols = all
    smtpd_sasl_auth_enable = yes

    And my log records the following:

    May 27 12:06:05 mydomainxxx postfix/smtpd[25959]: connect from[]
    May 27 12:06:05 mydomainxxx postfix/smtpd[25959]: NOQUEUE: reject: RCPT from[]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<>
    May 27 12:06:06 mydomainxxx postfix/smtpd[25959]: disconnect from[]

    Any help would be greatly appreciated,

  2. falko

    falko Super Moderator ISPConfig Developer

    You must enable "Server requires authentication" in your email client.
  3. techy7636

    techy7636 New Member

    Hey Falko

    I've tried that but without success.

    Out of interest do I need a TLS certificate installed for SMTP relay?

  4. falko

    falko Super Moderator ISPConfig Developer

    No, that's not necessary.
  5. dalitso

    dalitso New Member

    Try assigning your ISP's SMTP server in your postifix config

    relayhost =
  6. tukangnggame

    tukangnggame New Member

    comment your relayhost if you don't use it

    #relayhost =

Share This Page