postfix not responding from freebsd jail
Hi
I'm using FreeBSD-8.2-RELEASE-p6.I created a jail on this host for my mail daemons(postfix+dovecot) to live in.I followed the jail(8) man page and i also installed postfix and dovecot from the ports tree(via mount_nullfs /usr/ports $D/usr/ports). I can do: Code:
$openssl s_client -quiet -connect myhost.mydomain.com:993 Also when i try to connect to the jailed postfix by doing: Code:
$telnet myhost.mydomain 25 thank you very much for any replies |
From inside the jail, run:
Code:
# sockstat -4l Code:
# tcpdump -i int_here host IP_here and port 25 Now run your test again. See any activity from tcpdump(1)? |
The 3-way-handshake is completed, from the client to the postfix MTA in the jail, but no data is sent or received(to or from postfix). Postfix is also listed in the output of sockstat.
|
So you're saying the telnet(1) test completes a TCP handshake, but you don't see any welcome chatter from Postfix. Hmm.
Any clues in the Postfix logs? And, out of curiosity, what does your /dev contain (within the jail)? |
I have recently set-up a dovecot + postfix + maia + roundcube server in a jail which is working very nicely. Let me know here what is the status of your deployment and I will probably be able to help if you are still stuck somewhere.
I know this is not the main point of your post, but, to send mail from your host you can do the following: Running make in /etc/mail creates a bunch of .cf and .mc files with your hostname as basename Code:
cd /etc/mail; Code:
FEATURE(`msp', `[127.0.0.1]')dnl Code:
FEATURE(`msp', `[your_jail_ip]')dnl Code:
make Code:
mail -v someone@somewhere.net |
All times are GMT -5. The time now is 02:38 PM. |