Postfix Relay Access Denied 554 Error

Discussion in 'Server Operation' started by matto1376, Jun 6, 2007.

  1. matto1376

    matto1376 New Member

    Hi Guys

    I have read a lot of posts regarding this error...I have followed the Perfect Setup for FC4 to the best of my ability, but I am having this error with Postfix.

    I can use mail perfectly fine on my local network, when I am outside my local network I can receive but not send.

    I have checked to enable authentication in my mail client, but it doesn't like the username / password, although I know they are correct because they work for receiving.

    If I do the ehlo localhost thing, the output is as expected as described in the Perfect Setup.

    220 XXXXXXX ESMTP Postfix
    ehlo localhost
    250-XXXXXXX
    250-PIPELINING
    250-SIZE 10240000
    250-VRFY
    250-ETRN
    250-STARTTLS
    250-AUTH PLAIN LOGIN
    250-AUTH=PLAIN LOGIN
    250 8BITMIME


    This is part of my main.cf:

    mydestination = /etc/postfix/local-host-names
    smtpd_tls_auth_only = no
    smtp_use_tls = yes
    smtp_tls_note_starttls_offer = yes
    smtpd_use_tls = yes
    smtp_tls_session_cache_timeout = 3600s
    tls_random_source = dev:/dev/urandom
    smtpd_sasl_local_domain =
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_sasl_security_options = noanonymous
    broken_sasl_auth_clients = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_loglevel = 1
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s


    Can anyone spot anything here or do I need to give you more info??

    Thanks in advance!
     
  2. matto1376

    matto1376 New Member

    All sorted...but does someone know this please??

    The problem started when I had a bad black out one day. The server lost power after the UPS died, and after that some services don't begin on start up.

    How can I make things run on startup?? For example I have to manually start the ispconfig service. Also xinetd, and now, I realise, saslauthd.

    Where are these startup items called from??
     
  3. falko

    falko Super Moderator Howtoforge Staff

    You can check the output of
    Code:
    chkconfig --list
    if all services that you want to start at boot time are listed as on in the rnlevels 2, 3, and 5.
     
  4. matto1376

    matto1376 New Member

    symlink?? I'm not sure how to make it start automatically

    sorry falko I'm not even sure if it is the right one to use ... when I list the chkconfig, all the services appear as 'off' for all run levels.

    If I type in :
    [root@apatula /]# chkconfig --levels 235 mysqld on

    I get:
    failed to make symlink /etc/rc2.d/S50mysqld: Not a directory
    failed to make symlink /etc/rc3.d/S50mysqld: Not a directory
    failed to make symlink /etc/rc5.d/S50mysqld: Not a directory


    a similar output occurs if I try chkconfig --add ispconfig_server (I saw till use that one in another post)


    please excuse the ignorance, I'm not sure what to do here...
     
  5. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    ls -la /etc
    ? Sounds as if you have deleted some directories in it...
     

Share This Page