Udv / Greetings!

Udv / Greetings!

I'm using amavis for a while, without problems. I'm planning to chroot
each and every service on my servers. But now I'm in stuck with
amavis. (I'm already using lots of other chroot jails)

amavis runnign without chroot witout any problem:
#telnet 127.0.0.1 10024
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 [127.0.0.1] ESMTP amavisd-new service ready
QUIT
221 2.0.0 [127.0.0.1] amavisd-new closing transmission channel
Connection closed by foreign host.

The problem:

In chrooted environment, I can see the daemon listening:
#/etc/init.d/amavis start
Starting amavisd: amavisd-new.
# ps aux|grep ama
amavis    6774  0.0  7.9  55676 40836 ?        R    15:41   0:00 amavisd
(virgin child)
amavis    7943 13.5  8.5  55676 43640 ?        Ss   15:41   0:00 amavisd
(master)
amavis   17779  0.0  8.0  55676 40860 ?        R    15:41   0:00 amavisd
(virgin child)
# nmap -p 10024 127.0.0.1
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2007-01-06 15:41
CET
Interesting ports on localhost (127.0.0.1):
PORT      STATE SERVICE
10024/tcp open  unknown

BUT:

# telnet 127.0.0.1 10024
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.

..no welcome message, and it is not answering to anything. (If the
daeon would not listen, it would even not connect. Firewall is
switched of anyway.) Only
escape from this session is to kill the shell session... And also
postfix is unable to connect. I've turned on log debugging (amavis.log
included in the attachment), but it says, everything is fine.

I've created a config file that is suitable for chrooted and not
chrooted use. I mean:
I've created a chroot with exactly the same dir structure as it is on
the real system, so if I want to migrat, I'd only enable
$daemon_chroot_dir = $MYHOME; option in the config file. (also I have
installed the required packages in the chroot, having the needed dev
files and /etc, anyway the list of files in jail is included in the
archive I've attached. I've also logged a normal and a chrooted strace
of the daemon, but it shows no real difference... Log says everything
fine, listening and happy.

I'm stucked. where to go from here? Any ideas? thanx for the help in
advance.

ps.: it seems my attachments hasn't gone through....


-- 
Thomas Elias
Title: *NIX Sysadmin, PHP/Delphi/C++ programmer, Certified IBM UDB DB2 Database 
Administrator
mailto: [EMAIL PROTECTED], [EMAIL PROTECTED]
Tel.: +3630/3484202
ICQ UIN: 206-714-459
Quote: "Too many people making too many problems (InFlames)"


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to