Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th January 2006, 15:59
Median Median is offline
Member
 
Join Date: Jan 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Default Perfect Setup - Fedora Core 3 - saslauthd problem

Hi.

I read in one of Falko's posts somewhere that the Perfect Setup Fedora Core 3 is basically the same for Fedora Core 2. I have followed that and have got so far, but now I have encountered my first error.

Quote:
Now start Postfix, saslauthd, imap and pop3:

chkconfig --levels 235 sendmail off
chkconfig --levels 235 postfix on
chkconfig --levels 235 saslauthd on
works fine.
We then come to
Quote:
chkconfig imap on
and I get an error,
Code:
error reading information on service imap: No such file or directory
which is fine as Dovecot was installed instead of imap, so I change this to
Code:
chkconfig Dovecot on
and it seems to be ok.
Quote:
chkconfig imaps on
chkconfig ipop3 on
chkconfig pop3s on
all produce the same error.

>>>>> Should I replace these lines with anything or just leave them out?

Quote:
/etc/init.d/sendmail stop
/etc/init.d/postfix start
/etc/init.d/saslauthd start
/etc/init.d/xinetd restart
All seem to work ok apart from
Quote:
/etc/init.d/saslauthd start
which throws an error saying
Code:
could not read from startup_pipe
If I just type
Code:
saslauthd start
at the prompt I get an error telling me
Code:
no authentication method specified
and list of options which seems to suggest that saslauthd is there somewhere ready to go but I'm just not giving it the right information. I tried
Code:
saslauthd -a pam
which throws up the message:
Code:
saslauthd[22578] :detach_tty      : Cannot start saslauthd
saslauthd[22578] :detach_tty      : could not read from startup_pipe
Obviously I'm missing something here. Would be grateful if someone could help me out.

Thanks in advance
Reply With Quote
Sponsored Links
  #2  
Old 26th January 2006, 17:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

Quote:
Originally Posted by Median
>>>>> Should I replace these lines with anything or just leave them out?
Leave them out.

Quote:
Originally Posted by Median
All seem to work ok apart from which throws an error saying
Code:
could not read from startup_pipe
If I just type
Code:
saslauthd start
at the prompt I get an error telling me
Code:
no authentication method specified
and list of options which seems to suggest that saslauthd is there somewhere ready to go but I'm just not giving it the right information. I tried
Code:
saslauthd -a pam
which throws up the message:
Code:
saslauthd[22578] :detach_tty      : Cannot start saslauthd
saslauthd[22578] :detach_tty      : could not read from startup_pipe
Obviously I'm missing something here. Would be grateful if someone could help me out.

Thanks in advance
Did you do all the steps from http://www.howtoforge.com/perfect_se...dora_core_3_p4 ?

What's in /usr/lib/sasl2/smtpd.conf?
What's the output of
Code:
telnet localhost 25
(this telnet thing is also described on http://www.howtoforge.com/perfect_se...dora_core_3_p4)?
__________________
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
  #3  
Old 26th January 2006, 17:54
Median Median is offline
Member
 
Join Date: Jan 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
>>>>> Yes, to the letter

Quote:
Originally Posted by falko
What's in /usr/lib/sasl2/smtpd.conf?
>>>>>
Code:
pwcheck_method: saslauthd
mech_list: plain login

Quote:
Originally Posted by falko
What's the output of
Code:
telnet localhost 25
(this telnet thing is also described on http://www.howtoforge.com/perfect_se...dora_core_3_p4)?
Code:
[root@median root]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 median.x.example.com ESMTP Postfix
ehlo localhost
250-median.x.example.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250 8BITMIME
Reply With Quote
  #4  
Old 26th January 2006, 20:53
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

Looks ok. What's in /etc/postfix/main.cf?
__________________
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
  #5  
Old 26th January 2006, 22:42
Median Median is offline
Member
 
Join Date: Jan 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
Looks ok. What's in /etc/postfix/main.cf?
Do you want the whole file? Its quite large.
Reply With Quote
  #6  
Old 27th January 2006, 07:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

Leave out the lines beginning with #.
__________________
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
  #7  
Old 27th January 2006, 09:20
Median Median is offline
Member
 
Join Date: Jan 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Code:
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix

mail_owner = postfix

inet_interfaces = all
#inet_interfaces = $myhostname
#inet_interfaces = $myhostname, localhost
#proxy_interfaces =
#proxy_interfaces = 1.2.3.4
#mydestination = $myhostname, localhost.$mydomain, localhost
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
#	mail.$mydomain, www.$mydomain, ftp.$mydomain

#local_recipient_maps = unix:passwd.byname $alias_maps
#local_recipient_maps = proxy:unix:passwd.byname $alias_maps
#local_recipient_maps =
unknown_local_recipient_reject_code = 550

#mynetworks_style = class
#mynetworks_style = subnet
#mynetworks_style = host

#mynetworks = 168.100.189.0/28, 127.0.0.0/8
#mynetworks = $config_directory/mynetworks
#mynetworks = hash:/etc/postfix/network_table

#relay_domains = $mydestination

#relayhost = $mydomain
#relayhost = [gateway.my.domain]
#relayhost = [mailserver.isp.tld]
#relayhost = uucphost
#relayhost = [an.ip.add.ress]

#relay_recipient_maps = hash:/etc/postfix/relay_recipients

# INPUT RATE CONTROL
#in_flow_delay = 1s

#alias_maps = dbm:/etc/aliases
#alias_maps = hash:/etc/aliases
#alias_maps = hash:/etc/aliases, nis:mail.aliases
#alias_maps = netinfo:/aliases

#alias_database = dbm:/etc/aliases
#alias_database = dbm:/etc/mail/aliases
#alias_database = hash:/etc/aliases
#alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases

#recipient_delimiter = +

#home_mailbox = Mailbox
#home_mailbox = Maildir/

#mail_spool_directory = /var/mail
#mail_spool_directory = /var/spool/mail

#mailbox_command = /some/where/procmail
#mailbox_command = /some/where/procmail -a "$EXTENSION"

#mailbox_transport = lmtp:unix:/file/name
#mailbox_transport = cyrus

#fallback_transport = lmtp:unix:/file/name
#fallback_transport = cyrus
#fallback_transport =

#luser_relay = $user@other.host
#luser_relay = $local@other.host
#luser_relay = admin+$local

#header_checks = regexp:/etc/postfix/header_checks

#fast_flush_domains = $relay_domains

#smtpd_banner = $myhostname ESMTP $mail_name
#smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)

#local_destination_concurrency_limit = 2
#default_destination_concurrency_limit = 20

debug_peer_level = 2

#debug_peer_list = 127.0.0.1
#debug_peer_list = some.domain

debugger_command =
	 PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
	 xxgdb $daemon_directory/$process_name $process_id & sleep 5

sendmail_path = /usr/sbin/sendmail.postfix

newaliases_path = /usr/bin/newaliases.postfix

mailq_path = /usr/bin/mailq.postfix

setgid_group = postdrop

html_directory = /usr/share/doc/postfix-2.2.3-documentation/html

manpage_directory = /usr/share/man

sample_directory = /etc/postfix

readme_directory = /usr/share/doc/postfix-2.2.3-documentation/readme
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
smtpd_sasl_local_domain = 
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
inet_interfaces = all
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
smtp_tls_note_starttls_offer = yes
Reply With Quote
  #8  
Old 27th January 2006, 09:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

Looks ok so far. Please restart Postfix and try this
Code:
telnet localhost 25
thing again.
__________________
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
  #9  
Old 27th January 2006, 10:34
Median Median is offline
Member
 
Join Date: Jan 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
Looks ok so far. Please restart Postfix and try this
Code:
telnet localhost 25
thing again.
Code:
[root@median root]# postfix stop
postfix/postfix-script: stopping the Postfix mail system
[root@median root]# postfix start
postfix/postfix-script: starting the Postfix mail system
[root@median root]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 median.x.example.com ESMTP Postfix
ehlo localhost
250-median.x.example.com 
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250 8BITMIME
Reply With Quote
  #10  
Old 27th January 2006, 18:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
 
Default

Please run
Code:
updatedb
locate smtpd.conf
and post the output.
__________________
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
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
Fedora Core 4 - The Perfect Setup nandhu HOWTO-Related Questions 27 10th January 2006 12:23
Few questions about Fedora core 4 perfect setup + mantasman HOWTO-Related Questions 3 9th January 2006 22:22
The Perfect Setup - Fedora Core 4 amdserver HOWTO-Related Questions 42 9th November 2005 13:48
The Perfect Setup Fedora Core 4 Proftpd error Nu2Linux HOWTO-Related Questions 3 29th October 2005 20:26
Quota: Perfect Setup Fedora Core 4 domino Installation/Configuration 7 20th August 2005 17:42


All times are GMT +2. The time now is 01:33.


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