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 30th March 2006, 17:49
Anne H Anne H is offline
Junior Member
 
Join Date: Mar 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default sendmail 8.13.6 on FC2 server with SASL/STARTTLS

Hi,

We installed sendmail 8.13.6, but authorization using a username and
password from Thunderbird is not working as before.

I don't have time to upgrade the server to FC4 or 5 right now. I'd just
like to configure sendmail 8.13.6 so that it worked as before.

The latest sendmail built for FC is 8.12.11, so I can't use that because
of the security problem.

The instructions with sendmail were used:
sh Build
sh Build -c -f `pwd`/devtools/Site/site.config.m4

to include STARTTLS, etc.

The previous configuration files (sendmail.mc) from 8.12.11 were
used.

The only thing I can think of is that the sendmail binary
produced is a dynamic library, whereas the one distributed
with FC2 is a shared executable. I've built sendmail shared, but it
fails with a segmentation fault.

Does anyone know the ENVDEFS that should be used to build
a shared binary for FC?

Thanks in advance. Any advice appreciated.

Anne Hammond
Reply With Quote
Sponsored Links
  #2  
Old 31st March 2006, 11:41
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

What's in the mail log when you try to send a mail?
What's the output of
Code:
telnet localhost 25
and then
Code:
ehlo localhost
?
What's the output of
Code:
netstat -tap
?
__________________
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 1st April 2006, 02:19
Anne H Anne H is offline
Junior Member
 
Join Date: Mar 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

[root@geta sendmail-8.13.6]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 geta.colorado.edu ESMTP Sendmail 8.13.6/8.13.6; Fri, 31 Mar 2006 17:13:08 -0700
ehlo localhost
250-geta.colorado.edu Hello geta.colorado.edu [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5
250-STARTTLS
250-DELIVERBY
250 HELP

so STARTTLS is starting. Perhaps it has to do with AUTH not listing PLAIN
or LOGIN?

Not sure what you are looking for with netstat. It is really long so
I just cut out the part about imaps and pop3s.


[root@geta sendmail-8.13.6]# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:imaps *:* LISTEN 1612/dovecot
tcp 0 0 *op3s *:* LISTEN 1612/dovecot

--------------
[root@geta sendmail-8.13.6]# file /etc/sendmail8.12.11/sendmail
/etc/sendmail8.12.11/sendmail: setgid ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped
[root@geta sendmail-8.13.6]# file /etc/sendmail8.13.6/sendmail
/etc/sendmail8.13.6/sendmail: setgid ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped

If I build sendmail with
APPENDDEF(`confLDOPTS', `-shared')

I get a segmentation fault. It doesn't start at all.
Reply With Quote
  #4  
Old 1st April 2006, 02:39
Anne H Anne H is offline
Junior Member
 
Join Date: Mar 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

[root@geta sendmail-8.13.6]# file obj.Linux.2.6.5-1.358smp.i686/sendmail/sendmail
obj.Linux.2.6.5-1.358smp.i686/sendmail/sendmail: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped
[root@geta sendmail-8.13.6]# ./obj.Linux.2.6.5-1.358smp.i686/sendmail/sendmail -d0.1
Segmentation fault
Reply With Quote
  #5  
Old 1st April 2006, 11:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Quote:
Originally Posted by Anne H
so STARTTLS is starting. Perhaps it has to do with AUTH not listing PLAIN
or LOGIN?
Yes, some email clients such as Outlook Express need LOGIN.

Quote:
Originally Posted by Anne H
Not sure what you are looking for with netstat. It is really long so
I just cut out the part about imaps and pop3s.


[root@geta sendmail-8.13.6]# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:imaps *:* LISTEN 1612/dovecot
tcp 0 0 *op3s *:* LISTEN 1612/dovecot
I wanted to see if sendmail is running, but you didn't post that part (or sendmail is really not running).
__________________
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
  #6  
Old 4th April 2006, 21:19
Anne H Anne H is offline
Junior Member
 
Join Date: Mar 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

tcp 0 0 *:smtp *:* LISTEN
8866/

Yes, sendmail is running.
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
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
ispconfig and mambo shajazzi Installation/Configuration 70 28th March 2006 19:29
server blocked/stopped by host Ovidiu Technical 11 14th February 2006 10:50
Email - Ueb-Miau mazhar Installation/Configuration 5 21st December 2005 10:01
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 02:30


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


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