
26th January 2006, 15:59
|
|
Member
|
|
Join Date: Jan 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
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 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 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
|

26th January 2006, 17:47
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
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 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 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)?
|

26th January 2006, 17:54
|
|
Member
|
|
Join Date: Jan 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
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
|

26th January 2006, 20:53
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Looks ok. What's in /etc/postfix/main.cf?
|

26th January 2006, 22:42
|
|
Member
|
|
Join Date: Jan 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
|
Originally Posted by falko
Looks ok. What's in /etc/postfix/main.cf?
|
Do you want the whole file? Its quite large.
|

27th January 2006, 07:36
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Leave out the lines beginning with #.
|

27th January 2006, 09:20
|
|
Member
|
|
Join Date: Jan 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

27th January 2006, 09:33
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Looks ok so far. Please restart Postfix and try this
Code:
telnet localhost 25
thing again.
|

27th January 2006, 10:34
|
|
Member
|
|
Join Date: Jan 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

27th January 2006, 18:33
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Please run
Code:
updatedb
locate smtpd.conf
and post the output.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 21:04.
|
|
Recent comments
15 hours 16 min ago
21 hours 57 min ago
1 day 1 hour ago
1 day 3 hours ago
1 day 11 hours ago
1 day 21 hours ago
1 day 22 hours ago
2 days 1 hour ago
2 days 6 hours ago
2 days 6 hours ago