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
  #11  
Old 4th December 2006, 19:46
remstedt remstedt is offline
Member
 
Join Date: Sep 2005
Location: Sweden
Posts: 31
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by falko
Did you follow the tutorial as close as possible?
OK! I've now installed FC6 - and have gone through "step 13 Test Postfix" and here
I do can't telnet to port 25 ...

[root@mail postfix]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
ehlo localhost It's just "hang" there!! And have to "kill" that terminal

[root@mail ~]# lsof -i | grep LISTEN

master 3856 root 11u IPv4 13949 TCP *:smtp (LISTEN)
master 3856 root 98u IPv4 14063 TCP localhost.localdomain:10025 (LISTEN)
smtpd 3866 root 6u IPv4 13949 TCP *:smtp (LISTEN)

[root@mail ~]# netstat -tap
Active Internet connections (servers and established)

tcp 0 0 *:imaps *:* LISTEN 2447/couriertcpd
tcp 0 0 *op3s *:* LISTEN 2463/couriertcpd
tcp 0 0 localhost.localdomain:10024 *:* LISTEN 3926/amavisd (maste
tcp 0 0 localhost.localdomain:10025 *:* LISTEN 3856/master
tcp 0 0 *:mysql *:* LISTEN 3566/mysqld
tcp 0 0 *op3 *:* LISTEN 2455/couriertcpd
tcp 0 0 *:imap *:* LISTEN 2438/couriertcpd
tcp 0 0 *:http *:* LISTEN 3594/httpd
tcp 0 0 *:ssh *:* LISTEN 2248/sshd
tcp 0 0 *:952 *:* LISTEN 2042/rpc.statd
tcp 0 0 *:smtp *:* LISTEN 3856/master
tcp 0 0 *:https *:* LISTEN 3594/httpd
tcp 17 0 localhost.localdomain:smtp localhost.localdomain:51432 CLOSE_WAIT
Reply With Quote
Sponsored Links
  #12  
Old 5th December 2006, 19:26
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Any errors in your mail log? What's the output of
Code:
hostname
and
Code:
hostname -f
? What's in /etc/hosts?
__________________
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
  #13  
Old 5th December 2006, 19:55
remstedt remstedt is offline
Member
 
Join Date: Sep 2005
Location: Sweden
Posts: 31
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by falko
Any errors in your mail log? What's the output of
Code:
hostname
and
Code:
hostname -f
? What's in /etc/hosts?
cat /var/log/maillog

postfix/proxymap[3386]: fatal: unsupported dictionary type: mysql
postfix/cleanup[2562]: warning: premature end-of-input on private/proxymap socket while reading input attribute name
postfix/cleanup[2562]: warning: private/proxymap socket: service dict_proxy_open: Success
postfix/master[2527]: warning: process /usr/libexec/postfix/proxymap pid 3386 exit status 1

# hostname
mail.remstedt.org

# hostname -f
mail.remstedt.org

# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.1.100 mail.remstedt.org mail

thanks for your reply,
Glenn.
Reply With Quote
  #14  
Old 6th December 2006, 18:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Please have a look here: http://www.howtoforge.com/forums/sho...+type%3A+mysql
__________________
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
  #15  
Old 7th December 2006, 11:34
remstedt remstedt is offline
Member
 
Join Date: Sep 2005
Location: Sweden
Posts: 31
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by falko
OK! After comment out five lines "proxy:mysql" in /etc/postfix/mail.cf I can now telnet localhost 25. But when I'm try telnet localhost 110 with user glenn ...
[root@mail ~]# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
+OK Hello there.
user glenn@remstedt.org
+OK Password required.
pass *****
-ERR chdir remstedt.org/glenn/ failed
Connection closed by foreign host.

Here my telnet localhost 25 ...

[root@mail ~]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 mail.remstedt.org ESMTP Postfix
mail from: glenn@remstedt.org
250 2.1.0 Ok
rcpt to: glenn@remstedt.org
250 2.1.5 Ok
data
354 End data with <CR><LF>.<CR><LF>
subject:10:02
test #4
.
250 2.0.0 Ok: queued as 4165E36813E
quit
221 2.0.0 Bye
Connection closed by foreign host.

And here are the output of "mailq"

[root@mail ~]# mailq
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
4165E36813E 385 Thu Dec 7 10:01:51 glenn@remstedt.org
(host 127.0.0.1[127.0.0.1] said: 450 4.4.1 Can't connect to 127.0.0.1 port 10025, (Bad file descriptor) at (eval 41) line 145, <GEN6> line 29., MTA([127.0.0.1]:10025), id=02667-01 (in reply to end of DATA command))
glenn@remstedt.org

[root@mail ~]# lsof -i | grep LISTEN
portmap 1978 rpc 4u IPv4 5673 TCP *:sunrpc (LISTEN)
rpc.statd 2004 root 7u IPv4 5745 TCP *:914 (LISTEN)
sshd 2210 root 3u IPv4 6215 TCP *:ssh (LISTEN)
mysqld 2337 mysql 10u IPv4 6460 TCP *:mysql (LISTEN)
amavisd 2388 amavis 5u IPv4 6568 TCP localhost.localdomain:10024 (LISTEN)
couriertc 2400 root 3u IPv4 6604 TCP *:imap (LISTEN)
couriertc 2409 root 3u IPv4 6618 TCP *:imaps (LISTEN)
couriertc 2417 root 3u IPv4 6635 TCP *op3 (LISTEN)
couriertc 2425 root 3u IPv4 6655 TCP *op3s (LISTEN)
master 2486 root 11u IPv4 6837 TCP *:smtp (LISTEN)
master 2486 root 98u IPv4 6951 TCP localhost.localdomain:10025 (LISTEN)
httpd 2521 root 4u IPv4 7016 TCP *:http (LISTEN)
httpd 2521 root 6u IPv4 7018 TCP *:https (LISTEN)
httpd 2605 apache 4u IPv4 7016 TCP *:http (LISTEN)
httpd 2605 apache 6u IPv4 7018 TCP *:https (LISTEN)
httpd 2606 apache 4u IPv4 7016 TCP *:http (LISTEN)
httpd 2606 apache 6u IPv4 7018 TCP *:https (LISTEN)
httpd 2607 apache 4u IPv4 7016 TCP *:http (LISTEN)
httpd 2607 apache 6u IPv4 7018 TCP *:https (LISTEN)
httpd 2608 apache 4u IPv4 7016 TCP *:http (LISTEN)
httpd 2608 apache 6u IPv4 7018 TCP *:https (LISTEN)
httpd 2609 apache 4u IPv4 7016 TCP *:http (LISTEN)
httpd 2609 apache 6u IPv4 7018 TCP *:https (LISTEN)
httpd 2610 apache 4u IPv4 7016 TCP *:http (LISTEN)
httpd 2610 apache 6u IPv4 7018 TCP *:https (LISTEN)
httpd 2611 apache 4u IPv4 7016 TCP *:http (LISTEN)
httpd 2611 apache 6u IPv4 7018 TCP *:https (LISTEN)
httpd 2612 apache 4u IPv4 7016 TCP *:http (LISTEN)
httpd 2612 apache 6u IPv4 7018 TCP *:https (LISTEN)
amavisd 2667 amavis 5u IPv4 6568 TCP localhost.localdomain:10024 (LISTEN)
amavisd 2668 amavis 5u IPv4 6568 TCP localhost.localdomain:10024 (LISTEN)

[root@mail ~]# 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 2409/couriertcpd
tcp 0 0 *op3s *:* LISTEN 2425/couriertcpd
tcp 0 0 localhost.localdomain:10024 *:* LISTEN 2388/amavisd (maste
tcp 0 0 localhost.localdomain:10025 *:* LISTEN 2486/master
tcp 0 0 *:mysql *:* LISTEN 2337/mysqld
tcp 0 0 *op3 *:* LISTEN 2417/couriertcpd
tcp 0 0 *:imap *:* LISTEN 2400/couriertcpd
tcp 0 0 *:sunrpc *:* LISTEN 1978/portmap
tcp 0 0 *:http *:* LISTEN 2521/httpd
tcp 0 0 *:914 *:* LISTEN 2004/rpc.statd
tcp 0 0 *:ssh *:* LISTEN 2210/sshd
tcp 0 0 *:smtp *:* LISTEN 2486/master
tcp 0 0 *:https *:* LISTEN 2521/httpd
tcp 1 0 mail.remstedt.org:53041 fpserv.linux.duke.edu:http CLOSE_WAIT 2669/python
tcp 0 0 localhost.localdomain:36292 localhost.localdomain:mysql ESTABLISHED 2667/amavisd (ch2-a
tcp 0 0 localhost.localdomain:40406 localhost.localdomain:mysql ESTABLISHED 2668/amavisd (ch2-a
tcp 0 0 localhost.localdomain:mysql localhost.localdomain:36292 ESTABLISHED 2337/mysqld
tcp 0 0 localhost.localdomain:mysql localhost.localdomain:40406 ESTABLISHED 2337/mysqld


Thanks for any advice
Reply With Quote
  #16  
Old 8th December 2006, 15:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Quote:
Originally Posted by remstedt
-ERR chdir remstedt.org/glenn/ failed
Connection closed by foreign host.
You must send an email to that user first. Maildir is created when the first email arrives, afterwards you can log in using POP3.
__________________
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
  #17  
Old 9th December 2006, 10:43
remstedt remstedt is offline
Member
 
Join Date: Sep 2005
Location: Sweden
Posts: 31
Thanks: 0
Thanked 1 Time in 1 Post
Default

[QUOTE=falko]You must send an email to that user first. Maildir is created when the first email arrives, afterwards you can log in using POP3.[/Q

If I try sending a mail to glenn@remstedt.org by using Evolution from an other mailserver "mail1.comhem.se" I've got an error saying "rcpt to <glenn@remstedt.org> failed: Requested action not taken: mailbox unavailable"

and sending that mail using "telnet localhost 25" has already been tried.

??
Reply With Quote
  #18  
Old 10th December 2006, 14:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Is your server's IP address 83.248.211.103?
__________________
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
  #19  
Old 10th December 2006, 15:53
remstedt remstedt is offline
Member
 
Join Date: Sep 2005
Location: Sweden
Posts: 31
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by falko
Is your server's IP address 83.248.211.103?
yes, that's the ip-addr(DHCP) I've got from my ISP, then I do use "DynDNS"-
services to keep my domain connected. Then running a PIX with an internal network
"192.168.1.0"
Reply With Quote
  #20  
Old 11th December 2006, 15:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

Ok, that's fine.

Quote:
Originally Posted by remstedt
If I try sending a mail to glenn@remstedt.org by using Evolution from an other mailserver "mail1.comhem.se" I've got an error saying "rcpt to <glenn@remstedt.org> failed: Requested action not taken: mailbox unavailable"

and sending that mail using "telnet localhost 25" has already been tried.

??
Are you sure that the account glenn@remstedt.org exists on your server?
__________________
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
Virtual Users And Domains With Postfix, Courier And MySQL [+ procmail ?] immobilia HOWTO-Related Questions 5 30th June 2006 00:20
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs mholownych HOWTO-Related Questions 10 29th May 2006 04:39
Virtual Users And Domains With Postfix, Courier And MySQL... and FC5 Quinton HOWTO-Related Questions 2 15th May 2006 01:39
Problem with Virtual Users And Domains With Postfix, Courier And MySQL Howto fenix Server Operation 4 11th March 2006 03:53
Another Problem: Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP bluegrass Installation/Configuration 24 8th March 2006 02:41


All times are GMT +2. The time now is 21:18.


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