
12th November 2005, 22:39
|
|
Senior Member
|
|
Join Date: Sep 2005
Posts: 271
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
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?
|

13th November 2005, 14:39
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
|
|
Cant find any errors in your main.cf. Do you get errors in your mail log:
/vat/log/mail.log
|

13th November 2005, 15:46
|
|
Senior Member
|
|
Join Date: Sep 2005
Posts: 271
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
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
|

13th November 2005, 18:30
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
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
|

13th November 2005, 18:34
|
|
Senior Member
|
|
Join Date: Sep 2005
Posts: 271
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
Quote:
|
Originally Posted by falko
|
Where do I find the DNS tables on my machine?
|

13th November 2005, 18:46
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
Quote:
|
Originally Posted by ctroyp
Where do I find the DNS tables on my machine?
|
http://www.howtoforge.com/forums/sho...5&postcount=97
|

13th November 2005, 18:56
|
|
Senior Member
|
|
Join Date: Sep 2005
Posts: 271
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
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.
|

13th November 2005, 19:08
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
Quote:
|
Originally Posted by ctroyp
Is this domain supposed to be an available Internet domain?
|
Yes, that's right.
|

13th November 2005, 19:13
|
|
Senior Member
|
|
Join Date: Sep 2005
Posts: 271
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
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?
|

13th November 2005, 19:19
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
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.
|
| 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 14:42.
|
|
Recent comments
1 hour 6 min ago
6 hours 54 min ago
8 hours 45 min ago
10 hours 30 min ago
14 hours 20 min ago
20 hours 5 min ago
20 hours 16 min ago
1 day 35 min ago
1 day 6 hours ago
1 day 11 hours ago