Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th December 2007, 09:58
alaeric alaeric is offline
Junior Member
 
Join Date: Dec 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default "Perfect Server Help"

Hey,
i was fallowing your tutorial on the "perfect servfer"
(http://www.howtoforge.com/perfect_server_ubuntu7.10)
and i got up to runing

telnet localhost 25
ehlo localhost


and the output does not have
250 AUTH PLAIN LOGIN
250 AUTH=PLAIN LOGIN


i have gone through all the inputs did and it appears that i made no errors. what does it mean that that is not in in the ehlo? is there a script that can find the issues?
Reply With Quote
Sponsored Links
  #2  
Old 26th December 2007, 14:13
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

Can you post the telnet output?
What's in /etc/postfix/main.cf and /etc/postfix/sasl/smtpd.conf?
__________________
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 December 2007, 21:49
alaeric alaeric is offline
Junior Member
 
Join Date: Dec 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default telnet

the telnet out put is as follows
ehlo localhost
250-alaeric.sampaster.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STATTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN


cat /etc/postfix/main.cf :

# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = alaeric.sampaster.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = alaeric.sampaster.com, localhost.sampaster.com, localhost.localdomain, localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all

smtp_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
broken_sasl_auth_clients = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_auth_enable = yes
smtp_sasl_local_domain =
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
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_cert_file = /etc/postfix/ssl/smtp.key


/etc/postfix/sasl/smtpd.conf

pwcheck_method: saslauthd
mech_list: plain login
Reply With Quote
  #4  
Old 28th December 2007, 01:42
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

Looks ok. Any errors in your mail log? What's the output of
Code:
uname -a
?
__________________
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 28th December 2007, 03:56
alaeric alaeric is offline
Junior Member
 
Join Date: Dec 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

uname -a

Linux alaeric.sampaster.com 2.6.22-14-server #1 SMP Tue Dec 18 08:31:40 UTC 2007 i686 GNU/Linux
Reply With Quote
  #6  
Old 28th December 2007, 21:35
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 about your mail log?
__________________
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 28th December 2007, 23:40
alaeric alaeric is offline
Junior Member
 
Join Date: Dec 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

is it just the /var/log/mail.log file?

cat /var/log/mail.log :

Dec 25 18:02:02 alaeric postfix/master[10762]: terminating on signal 15
Dec 25 18:04:16 alaeric postfix/master[4058]: daemon started -- version 2.4.5, c onfiguration /etc/postfix
Dec 25 18:49:12 alaeric postfix/smtpd[4277]: connect from localhost.localdomain[ 127.0.0.1]
Dec 25 18:49:45 alaeric postfix/smtpd[4277]: disconnect from localhost.localdoma in[127.0.0.1]
Dec 25 19:08:55 alaeric postfix/master[4058]: terminating on signal 15
Dec 25 19:08:57 alaeric postfix/master[4384]: daemon started -- version 2.4.5, c onfiguration /etc/postfix
Dec 25 19:09:37 alaeric postfix/smtpd[4407]: connect from localhost.localdomain[ 127.0.0.1]
Dec 25 19:10:17 alaeric postfix/smtpd[4407]: disconnect from localhost.localdoma in[127.0.0.1]
Dec 26 15:44:36 alaeric postfix/smtpd[4657]: connect from localhost.localdomain[ 127.0.0.1]
Dec 26 15:47:03 alaeric postfix/smtpd[4657]: disconnect from localhost.localdoma in[127.0.0.1]
Dec 27 21:47:23 alaeric postfix/master[4106]: daemon started -- version 2.4.5, c onfiguration /etc/postfix
Reply With Quote
  #8  
Old 30th December 2007, 16:31
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:
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
  #9  
Old 30th December 2007, 20:02
alaeric alaeric is offline
Junior Member
 
Join Date: Dec 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

aight

netstat -tap

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:mysql *:* LISTEN 3970/mysqld
tcp 0 0 alaeric.sampaste:domain *:* LISTEN 3828/named
tcp 0 0 localhost.locald:domain *:* LISTEN 3828/named
tcp 0 0 *:smtp *:* LISTEN 4106/master
tcp 0 0 localhost.localdoma:953 *:* LISTEN 3828/named
tcp6 0 0 *:domain *:* LISTEN 3828/named
tcp6 0 0 *:ssh *:* LISTEN 3857/sshd
tcp6 0 0 *:smtp *:* LISTEN 4106/master
tcp6 0 0 ip6-localhost:953 *:* LISTEN 3828/named
tcp6 0 296 alaeric.sampaster.c:ssh sam.home:1245 ESTABLISHED5211/sshd: sam [pri
Reply With Quote
  #10  
Old 31st December 2007, 18:43
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

I was thinking that maybe another mailserver (other than Postfix) was running on your server, but that's not the case.
Are you sure you followed the Postfix configuration from the tutorial to the letter?
__________________
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
Problem with keeping Apache alive bobeq Server Operation 3 29th November 2007 16:11
email redirection problem the_spy Installation/Configuration 3 21st May 2007 10:33
Rejecting outbound mail tristanlee85 General 11 20th May 2007 17:04
Dns question Mahir Installation/Configuration 48 14th November 2006 10:19
from http to https after installation? Mahir Installation/Configuration 25 7th December 2005 20:40


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


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