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 12th November 2005, 21:39
ctroyp ctroyp is offline
Senior Member
 
Join Date: Sep 2005
Posts: 292
Thanks: 3
Thanked 2 Times in 1 Post
Default Problem with postfix install

Using the Debian Sarge "Perfect Setup" when I got to the part to "telnet localhost 25" I get:
Code:
server1:~# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
Connection closed by foreign host.
The second time I try it doesn't close and I can enter "ehlo localhost" and nothing happens.
Here are the contents of my /etc/postfix/main.cf file:
Code:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
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

myhostname = server1.strec.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
#mydestination = server1.strec.com, localhost.strec.com, , localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command = 
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = nonanonymous
broken_sasl_auth_clients = yes
smptd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = 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
home_mailbox = Maildir/

virtual_maps = hash:/etc/postfix/virtusertable

mydestination = /etc/postfix/local-host-names
strec.com is the domain name I entered during the Debian setup and is not an internet domain.

Should I try reinstalling postfix? If so, how do I go about that to make sure everything is removed completely?
Reply With Quote
Sponsored Links
  #2  
Old 13th November 2005, 13:39
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,415
Thanks: 812
Thanked 5,204 Times in 4,080 Posts
Default

Cant find any errors in your main.cf. Do you get errors in your mail log:

/vat/log/mail.log
Reply With Quote
  #3  
Old 13th November 2005, 14:46
ctroyp ctroyp is offline
Senior Member
 
Join Date: Sep 2005
Posts: 292
Thanks: 3
Thanked 2 Times in 1 Post
Default

Quote:
Originally Posted by till
Cant find any errors in your main.cf. Do you get errors in your mail log:

/vat/log/mail.log
Code:
Nov 13 08:33:06 server1 postfix/smtpd[31434]: fatal: unknown smtpd_sasl_security                                             _options value "nonanonymous" in "nonanonymous"
Nov 13 08:33:07 server1 postfix/master[24404]: warning: process /usr/lib/postfix                                             /smtpd pid 31434 exit status 1
Nov 13 08:33:07 server1 postfix/master[24404]: warning: /usr/lib/postfix/smtpd:                                              bad command startup -- throttling
Reply With Quote
  #4  
Old 13th November 2005, 17:30
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

The value you have in myhostname/mydomain (in this case server1.strec.com) must exist in DNS - as I've posted here before: http://www.howtoforge.com/forums/sho...?t=795&page=10
__________________
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 13th November 2005, 17:34
ctroyp ctroyp is offline
Senior Member
 
Join Date: Sep 2005
Posts: 292
Thanks: 3
Thanked 2 Times in 1 Post
Default

Quote:
Originally Posted by falko
The value you have in myhostname/mydomain (in this case server1.strec.com) must exist in DNS - as I've posted here before: http://www.howtoforge.com/forums/sho...?t=795&page=10
Where do I find the DNS tables on my machine?
Reply With Quote
  #6  
Old 13th November 2005, 17:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Quote:
Originally Posted by ctroyp
Where do I find the DNS tables on my machine?
http://www.howtoforge.com/forums/sho...5&postcount=97
__________________
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 13th November 2005, 17:56
ctroyp ctroyp is offline
Senior Member
 
Join Date: Sep 2005
Posts: 292
Thanks: 3
Thanked 2 Times in 1 Post
Default

Quote:
Originally Posted by falko
Hmmm, I remember you posting this before, but I used strec.com during my Debian setup. Is this domain supposed to be an available Internet domain? I just use it locally and never planned to use it outside of my network. This is the same domain I used in my Fedora Core 4 setup and I never had a problem with my postfix. I guess I am confused with the use of the domain required during the O/S setup.
Reply With Quote
  #8  
Old 13th November 2005, 18:08
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Quote:
Originally Posted by ctroyp
Is this domain supposed to be an available Internet domain?
Yes, that's right.
__________________
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 13th November 2005, 18:13
ctroyp ctroyp is offline
Senior Member
 
Join Date: Sep 2005
Posts: 292
Thanks: 3
Thanked 2 Times in 1 Post
Default

Quote:
Originally Posted by falko
Yes, that's right.
Okay, if that is the case, then how can I change it to the domain of my main website?

Also, for postfix, I only need to change strec to the new domain, right? or, will need to reinstall postfix?
Reply With Quote
  #10  
Old 13th November 2005, 18:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
 
Default

Quote:
Originally Posted by ctroyp
Okay, if that is the case, then how can I change it to the domain of my main website?

Also, for postfix, I only need to change strec to the new domain, right? or, will need to reinstall postfix?
You only need to change myhostname in /etc/postfix/main.cf and restart Postfix.
__________________
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 and hp Printer install problem. slopoke_iii Desktop Operation 3 5th May 2007 22:27
postfix ISPconfig problem matehortua Installation/Configuration 8 3rd September 2006 17:03
MySQL problem on install badben Installation/Configuration 12 20th December 2005 12:59
Virtual Users And Domains With Postfix, etc, problem with SMTP/Auth wrong password ggere HOWTO-Related Questions 15 14th November 2005 16:08
Postfix Problem m u r Installation/Configuration 0 8th August 2005 19:12


All times are GMT +2. The time now is 13:40.


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