
31st March 2006, 11:35
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
Then it might be a problem with your /etc/hosts file, i.e. localhost doesn't exist in it or points to a wrong IP address. What's in /etc/hosts?
|

31st March 2006, 13:02
|
|
Member
|
|
Join Date: Oct 2005
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi falko,
etc/hosts is like this:
127.0.0.1 localhost.localdomain localhost debian1
192.168.21.233 debian1.mydomain.com debian1
192.168.21.234 virtual-ip1.mydomain.com virtual-ip1
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
|

31st March 2006, 18:07
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
Hm, looks ok...
I'd then use the IP address 127.0.0.1 in your script, that should work.
|

3rd April 2006, 21:14
|
|
Member
|
|
Join Date: Oct 2005
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Falko,
I am trying to install sendmail on another newly installed server following your perfect setup at http://www.falkotimme.com/howtos/sen..._tls/index.php. When i now try to test if its working and got this result:
debian:~# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 server12.mydomain.com ESMTP Exim 4.50 Mon, 03 Apr 2006 20:11:29 +0100
ehlo localhost
250-server12.mydomain.com Hello localhost [127.0.0.1]
250-SIZE 52428800
250-PIPELINING
250 HELP
Thanks.
|

4th April 2006, 18:34
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
What is the question?
|

25th April 2006, 10:41
|
|
Member
|
|
Join Date: Oct 2005
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Falko,
The question is when as per your perfect setup you tested with telnet,
you got many outputs like
250-ENHANCEDSTATUSCODES
PIPELINING
8BITTIME
DSN
ETRN
AUTH LOGIN PLAIN
STARTTLS
DELIVERY
HELP
whereas my own output on has
250-SIZE 52428800
250-PIPELINING
250 HELP
and am wondering why
Thank you
|

25th April 2006, 15:48
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
What's the output of
Code:
/usr/sbin/sendmail -d0.1 -bv root
?
|

25th April 2006, 16:41
|
|
Member
|
|
Join Date: Oct 2005
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Falko,
Output as follows:
server1:~# /usr/sbin/sendmail -d0.1 -bv root
Version 8.13.6
Compiled with: DNSMAP LOG MATCHGECOS MILTER MIME7TO8 MIME8TO7
NAMED_BIND NETINET NETUNIX NEWDB PIPELINING SASLv2 SCANF
STARTTLS USERDB XDEBUG
============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = server1x
(canonical domain name) $j = server1.mydomain.com
(subdomain name) $m = mydomain.com
(node name) $k = server1.mydomain.com
================================================== ======
root... deliverable: mailer local, user root
Many Thanks.
|

26th April 2006, 14:51
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
Looks ok. Did you create /etc/mail/sendmail.cf exactly as described in the tutorial?
|

26th April 2006, 17:05
|
|
Member
|
|
Join Date: Oct 2005
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Falko,
Yes exactly
Thanks
|
| 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 07:08.
|
Recent comments
1 day 22 hours ago
2 days 6 hours ago
2 days 9 hours ago
2 days 11 hours ago
2 days 12 hours ago
2 days 14 hours ago
2 days 15 hours ago
2 days 16 hours ago
3 days 8 hours ago
3 days 9 hours ago