Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th June 2007, 07:30
matto1376 matto1376 is offline
Junior Member
 
Join Date: Nov 2005
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Default Postfix Relay Access Denied 554 Error

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!
Reply With Quote
Sponsored Links
  #2  
Old 7th June 2007, 15:10
matto1376 matto1376 is offline
Junior Member
 
Join Date: Nov 2005
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Default 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??
Reply With Quote
  #3  
Old 7th June 2007, 15:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 8th June 2007, 03:30
matto1376 matto1376 is offline
Junior Member
 
Join Date: Nov 2005
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Default 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...
Reply With Quote
  #5  
Old 8th June 2007, 18:37
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

What's the output of
Code:
ls -la /etc
? Sounds as if you have deleted some directories in it...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
matto1376 (14th June 2007)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36
configuring IPTABLES firewall adityavpratap HOWTO-Related Questions 9 27th May 2006 21:42
Frustrated with ISPConfig install! woozyerdaddee Installation/Configuration 4 19th May 2006 03:38
Questions in regards to ISP-Server Setup - Ubuntu 5.10 "Breezy Badger" rbrantley HOWTO-Related Questions 16 10th April 2006 18:26
Install stop at uuwish, UUDeview SeaWolf Installation/Configuration 6 4th October 2005 23:53


All times are GMT +2. The time now is 20:10.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.