Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd July 2009, 19:13
Gimly Gimly is offline
HowtoForge Supporter
 
Join Date: Mar 2007
Location: France
Posts: 144
Thanks: 26
Thanked 4 Times in 4 Posts
Default Postfix problem and few questions

Hi all,

I've 2 questions for you :

First, I've problem with postfix, I can't receive mail on my mail server. The DNS mail.espace4you.org pointing correctly to my IP address 91.121.39.89.

But when I want to make "telnet mail.espace4you.org 25", the connection is refused.

This is my postconf -n :

Quote:
mail:~# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
body_checks = regexp:/etc/postfix/body_checks
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
content_filter = amavis:[127.0.0.1]:10024
header_checks = regexp:/etc/postfix/header_checks
html_directory = /usr/share/doc/postfix/html
inet_interfaces = all
mailbox_size_limit = 0
message_size_limit = 0
mime_header_checks = regexp:/etc/postfix/mime_header_checks
mydestination = mail.espace4you.org, localhost, localhost.localdomain
myhostname = mail.espace4you.org
mynetworks = 127.0.0.0/8 [::1]/128
nested_header_checks = regexp:/etc/postfix/nested_header_checks
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
readme_directory = /usr/share/doc/postfix
receive_override_options = no_address_mappings
recipient_delimiter = +
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
relayhost =
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_tls_security_level = may
smtpd_use_tls = yes
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /var/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_transport = maildrop
virtual_uid_maps = static:5000
This is result for netstat -tap | grep smtp :

Quote:
mail:~# netstat -tap | grep smtp
tcp 0 0 *:smtp *:* LISTEN 27418/master
tcp 0 0 localhost.localdo:58647 localhost.localdo:mysql ESTABLISHED 27456/smtpd
tcp 0 0 localhost.localdo:58630 localhost.localdo:mysql ESTABLISHED 27427/smtpd
tcp 0 0 mail.espace4you.or:smtp benicia-w2-inf30.:63157 ESTABLISHED 27456/smtpd
tcp 0 0 localhost.localdo:58649 localhost.localdo:mysql ESTABLISHED 27456/smtpd
tcp 0 0 mail.espace4you.or:smtp benicia-w2-inf30.:63092 FIN_WAIT2 -
tcp 0 0 localhost.localdo:58632 localhost.localdo:mysql ESTABLISHED 27427/smtpd
tcp 0 0 localhost.localdo:58628 localhost.localdo:mysql ESTABLISHED 27427/smtpd
tcp 0 0 localhost.localdo:58646 localhost.localdo:mysql ESTABLISHED 27456/smtpd
tcp 0 0 localhost.localdo:58648 localhost.localdo:mysql ESTABLISHED 27456/smtpd
tcp 0 0 localhost.localdo:58629 localhost.localdo:mysql ESTABLISHED 27427/smtpd
There are no firewall setting on the server. I don't understand why it refused connection. If you have an idea, please ?

Thank you for your answer ^^
__________________
4 virtual machines with Debian Lenny updated on proxmox (openvz) with ISPConfig 3.0.1.6

ns1 : http(s), ftp(s), DNS Master, ISPConfig
sql : MySQL database users
mail : All mail system
ns2 : DNS Slave

ISPConfig.be Admin's

Last edited by Gimly; 3rd July 2009 at 07:51.
Reply With Quote
Sponsored Links
  #2  
Old 3rd July 2009, 08:23
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

Everything seems to be running just fine:
tcp 0 0 mail.espace4you.or:smtp benicia-w2-inf30.:63157 ESTABLISHED 27456/smtpd

can you see anything in the logfiles when you get the connection refused?


Where's the 2nd question?
Reply With Quote
  #3  
Old 3rd July 2009, 13:14
Gimly Gimly is offline
HowtoForge Supporter
 
Join Date: Mar 2007
Location: France
Posts: 144
Thanks: 26
Thanked 4 Times in 4 Posts
Default

Quote:
Originally Posted by Mark_NL View Post
Everything seems to be running just fine:
tcp 0 0 mail.espace4you.or:smtp benicia-w2-inf30.:63157 ESTABLISHED 27456/smtpd
Yes I know, but I can't receive mail in mailbox ... :/

Quote:
Originally Posted by Mark_NL View Post
can you see anything in the logfiles when you get the connection refused?
Code:
mail:~# tail -n40 /var/log/syslog
Jul  3 13:06:11 mail postfix/smtpd[25756]: 9D0E21E40CAF: client=host222-15-dynamic.32-79-r.retail.telecomitalia.it[79.32.15.222]
Jul  3 13:06:11 mail postfix/cleanup[25775]: 9D0E21E40CAF: message-id=<20090703110423$6644889inlaid@alltons.com>
Jul  3 13:06:11 mail postfix/qmgr[27772]: 9D0E21E40CAF: from=<uniserial@alltons.com>, size=671, nrcpt=1 (queue active)
Jul  3 13:06:11 mail postfix/error[25776]: 9D0E21E40CAF: to=<paypal@espace4you.org>, relay=none, delay=0.17, delays=0.17/0/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Jul  3 13:06:11 mail postfix/smtpd[25756]: disconnect from host222-15-dynamic.32-79-r.retail.telecomitalia.it[79.32.15.222]
Jul  3 13:06:38 mail postfix/scache[25729]: statistics: start interval Jul  3 13:03:18
Jul  3 13:06:38 mail postfix/scache[25729]: statistics: domain lookup hits=0 miss=2 success=0%
Jul  3 13:06:38 mail postfix/scache[25729]: statistics: address lookup hits=0 miss=2 success=0%
Jul  3 13:06:57 mail pop3d: Connection, ip=[::ffff:83.193.102.132]
Jul  3 13:06:57 mail pop3d: LOGIN, user=romain@canteau.net, ip=[::ffff:83.193.102.132], port=[64165]
Jul  3 13:06:58 mail pop3d: LOGOUT, user=romain@canteau.net, ip=[::ffff:83.193.102.132], port=[64165], top=0, retr=0, rcvd=24, sent=190, time=1
Jul  3 13:07:01 mail /USR/SBIN/CRON[25789]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
Jul  3 13:08:01 mail /USR/SBIN/CRON[25795]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
Jul  3 13:08:18 mail postfix/qmgr[27772]: 08DA31E40CAA: from=<romain@canteau.net>, size=1069, nrcpt=1 (queue active)
Jul  3 13:08:18 mail postfix/qmgr[27772]: 786301E40C9E: from=<hosting-return-23714-admin=espace4you.org@ml.ovh.net>, size=2797, nrcpt=1 (queue active)
Jul  3 13:08:18 mail postfix/qmgr[27772]: CCE8D1E40CAC: from=<servingsvej857@somainternet.net>, size=7823, nrcpt=1 (queue active)
Jul  3 13:08:18 mail postfix/smtp[25801]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Jul  3 13:08:18 mail postfix/smtp[25802]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Jul  3 13:08:18 mail postfix/smtp[25801]: 08DA31E40CAA: to=<admin@espace4you.org>, relay=none, delay=1064, delays=1064/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Jul  3 13:08:18 mail postfix/smtp[25802]: 786301E40C9E: to=<admin@espace4you.org>, relay=none, delay=8741, delays=8741/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Jul  3 13:08:18 mail postfix/smtp[25801]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
Jul  3 13:08:18 mail postfix/smtp[25801]: CCE8D1E40CAC: to=<contact@espace4you.org>, relay=none, delay=1052, delays=1052/0.03/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Jul  3 13:08:25 mail pop3d: Connection, ip=[::ffff:83.193.102.132]
Jul  3 13:08:25 mail pop3d: LOGIN, user=romain@canteau.net, ip=[::ffff:83.193.102.132], port=[65475]
Jul  3 13:08:25 mail pop3d: LOGOUT, user=romain@canteau.net, ip=[::ffff:83.193.102.132], port=[65475], top=0, retr=0, rcvd=24, sent=190, time=0
Jul  3 13:09:01 mail /USR/SBIN/CRON[25808]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm)
Jul  3 13:09:01 mail /USR/SBIN/CRON[25812]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
Jul  3 13:09:31 mail postfix/anvil[25772]: statistics: max connection rate 1/60s for (smtp:64.37.95.112) at Jul  3 13:05:03
Jul  3 13:09:31 mail postfix/anvil[25772]: statistics: max connection count 1 for (smtp:64.37.95.112) at Jul  3 13:05:03
Jul  3 13:09:31 mail postfix/anvil[25772]: statistics: max cache size 1 at Jul  3 13:05:03
Jul  3 13:10:01 mail /USR/SBIN/CRON[25824]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
Jul  3 13:10:01 mail /USR/SBIN/CRON[25827]: (getmail) CMD (/usr/local/bin/run-getmail.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
Jul  3 13:10:01 mail pop3d: Connection, ip=[::ffff:127.0.0.1]
Jul  3 13:10:01 mail pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Jul  3 13:10:01 mail imapd: Connection, ip=[::ffff:127.0.0.1]
Jul  3 13:10:01 mail imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Jul  3 13:10:01 mail postfix/smtpd[25839]: connect from localhost.localdomain[127.0.0.1]
Jul  3 13:10:01 mail postfix/smtpd[25839]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Jul  3 13:10:01 mail postfix/smtpd[25839]: disconnect from localhost.localdomain[127.0.0.1]
Jul  3 13:11:01 mail /USR/SBIN/CRON[25860]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
mail:~#
Quote:
Originally Posted by Mark_NL View Post
Where's the 2nd question?
Ooops ... . Is there a way to add automatic zone DNS and record DNS when website and subdomain are created ?

-- edit : I can view mails in postfix mail-queue but don't receive in mailbox. I add all log on ispconfig :

Mail Warn Log :

Quote:
Jul 3 05:56:35 mail amavis[655]: (00655-05) (!!)TROUBLE in check_mail: parts_decode_ext FAILED: file(1) utility (/usr/bin/file) error: run_command (open pipe): Can't fork at /usr/lib/perl/5.10/IO/File.pm line 66. at /usr/sbin/amavisd-new line 2892.
Jul 3 05:56:35 mail amavis[655]: (00655-05) (!)PRESERVING EVIDENCE in /var/lib/amavis/tmp/amavis-20090625T055637-00655
Jul 3 06:01:58 mail amavis[654]: (00654-06) (!!)TROUBLE in check_mail: parts_decode_ext FAILED: file(1) utility (/usr/bin/file) error: run_command (open pipe): Can't fork at /usr/lib/perl/5.10/IO/File.pm line 66. at /usr/sbin/amavisd-new line 2892.
Jul 3 06:01:58 mail amavis[654]: (00654-06) (!)PRESERVING EVIDENCE in /var/lib/amavis/tmp/amavis-20090624T055637-00654
Jul 3 07:44:58 mail amavis[654]: (00654-07) (!!)TROUBLE in check_mail: parts_decode_ext FAILED: file(1) utility (/usr/bin/file) error: run_command (open pipe): Can't fork at /usr/lib/perl/5.10/IO/File.pm line 66. at /usr/sbin/amavisd-new line 2892.
Jul 3 07:44:58 mail amavis[654]: (00654-07) (!)PRESERVING EVIDENCE in /var/lib/amavis/tmp/amavis-20090703T074458-00654
Jul 3 07:45:21 mail amavis[655]: (00655-07) (!!)TROUBLE in check_mail: parts_decode_ext FAILED: file(1) utility (/usr/bin/file) error: run_command (open pipe): Can't fork at /usr/lib/perl/5.10/IO/File.pm line 66, line 296. at /usr/sbin/amavisd-new line 2892, line 296.
Jul 3 07:45:21 mail amavis[655]: (00655-07) (!)PRESERVING EVIDENCE in /var/lib/amavis/tmp/amavis-20090703T061158-00655
Jul 3 07:45:38 mail amavis[654]: (00654-08) (!!)TROUBLE in check_mail: parts_decode_ext FAILED: file(1) utility (/usr/bin/file) error: run_command (open pipe): Can't fork at /usr/lib/perl/5.10/IO/File.pm line 66. at /usr/sbin/amavisd-new line 2892.
Jul 3 07:45:38 mail amavis[654]: (00654-08) (!)PRESERVING EVIDENCE in /var/lib/amavis/tmp/amavis-20090703T074538-00654
Jul 3 07:46:04 mail amavis[655]: (00655-08) (!!)TROUBLE in check_mail: parts_decode_ext FAILED: file(1) utility (/usr/bin/file) error: run_command (open pipe): Can't fork at /usr/lib/perl/5.10/IO/File.pm line 66. at /usr/sbin/amavisd-new line 2892.
Jul 3 07:46:04 mail amavis[655]: (00655-08) (!)PRESERVING EVIDENCE in /var/lib/amavis/tmp/amavis-20090703T074604-00655
Jul 3 07:48:50 mail amavis[654]: (00654-09) (!!)TROUBLE in check_mail: parts_decode_ext FAILED: file(1) utility (/usr/bin/file) error: run_command (open pipe): Can't fork at /usr/lib/perl/5.10/IO/File.pm line 66, line 6769. at /usr/sbin/amavisd-new line 2892, line 6769.
Jul 3 07:48:50 mail amavis[654]: (00654-09) (!)PRESERVING EVIDENCE in /var/lib/amavis/tmp/amavis-20090703T074850-00654
Jul 3 07:50:34 mail amavis[655]: (00655-09) (!!)TROUBLE in check_mail: parts_decode_ext FAILED: file(1) utility (/usr/bin/file) error: run_command (open pipe): Can't fork at /usr/lib/perl/5.10/IO/File.pm line 66, line 185. at /usr/sbin/amavisd-new line 2892, line 185.
Jul 3 07:50:34 mail amavis[655]: (00655-09) (!)PRESERVING EVIDENCE in /var/lib/amavis/tmp/amavis-20090703T075034-00655
Jul 3 07:51:14 mail amavis[654]: (00654-10) (!!)TROUBLE in check_mail: parts_decode_ext FAILED: file(1) utility (/usr/bin/file) error: run_command (open pipe): Can't fork at /usr/lib/perl/5.10/IO/File.pm line 66. at /usr/sbin/amavisd-new line 2892.
Jul 3 07:51:14 mail amavis[654]: (00654-10) (!)PRESERVING EVIDENCE in /var/lib/amavis/tmp/amavis-20090703T075114-00654
Jul 3 07:51:28 mail amavis[655]: (00655-10) (!!)TROUBLE in check_mail: parts_decode_ext FAILED: file(1) utility (/usr/bin/file) error: run_command (open pipe): Can't fork at /usr/lib/perl/5.10/IO/File.pm line 66, line 720. at /usr/sbin/amavisd-new line 2892, line 720.
Jul 3 07:51:28 mail amavis[655]: (00655-10) (!)PRESERVING EVIDENCE in /var/lib/amavis/tmp/amavis-20090703T075128-00655
Jul 3 07:52:56 mail amavis[654]: (00654-11) (!!)TROUBLE in check_mail: parts_decode_ext FAILED: file(1) utility (/usr/bin/file) error: run_command (open pipe): Can't fork at /usr/lib/perl/5.10/IO/File.pm line 66. at /usr/sbin/amavisd-new line 2892.
Jul 3 07:52:56 mail amavis[654]: (00654-11) (!)PRESERVING EVIDENCE in /var/lib/amavis/tmp/amavis-20090703T075256-00654
Jul 3 07:52:56 mail amavis[655]: (00655-11) (!!)TROUBLE in check_mail: parts_decode_ext FAILED: file(1) utility (/usr/bin/file) error: run_command (open pipe): Can't fork at /usr/lib/perl/5.10/IO/File.pm line 66, line 224. at /usr/sbin/amavisd-new line 2892, line 224.
Jul 3 07:52:56 mail amavis[655]: (00655-11) (!)PRESERVING EVIDENCE in /var/lib/amavis/tmp/amavis-20090703T075256-00655
Jul 3 07:52:56 mail amavis[654]: (00654-12) (!!)TROUBLE in process_request: Can't create file /var/lib/amavis/tmp/amavis-20090703T075256-00654/email.txt: File exists at /usr/sbin/amavisd-new line 5138, line 4.
Jul 3 07:52:56 mail amavis[654]: (00654-12) (!)Requesting process rundown after fatal error
Jul 3 07:52:56 mail amavis[655]: (00655-12) (!!)TROUBLE in process_request: Can't create file /var/lib/amavis/tmp/amavis-20090703T075256-00655/email.txt: File exists at /usr/sbin/amavisd-new line 5138, line 4.
Jul 3 07:52:56 mail amavis[655]: (00655-12) (!)Requesting process rundown after fatal error
Jul 3 07:58:18 mail amavis[27679]: (27679-02) (!!)TROUBLE in check_mail: parts_decode_ext FAILED: file(1) utility (/usr/bin/file) error: run_command (open pipe): Can't fork at /usr/lib/perl/5.10/IO/File.pm line 66, line 6985. at /usr/sbin/amavisd-new line 2892, line 6985.
Jul 3 07:58:18 mail amavis[27679]: (27679-02) (!)PRESERVING EVIDENCE in /var/lib/amavis/tmp/amavis-20090703T075818-27679
Jul 3 07:58:18 mail amavis[27679]: (27679-02-2) (!!)TROUBLE in process_request: Can't create file /var/lib/amavis/tmp/amavis-20090703T075818-27679/email.txt: File exists at /usr/sbin/amavisd-new line 5138, line 171.
Jul 3 07:58:18 mail amavis[27679]: (27679-02-2) (!)Requesting process rundown after fatal error
Jul 3 07:58:18 mail amavis[578]: (!)Net::Server: 2009/07/03-07:58:18 Bad fork [Cannot allocate memory]\n at line 166 in file /usr/share/perl5/Net/Server/PreForkSimple.pm
Jul 3 11:34:59 mail postfix/smtpd[26616]: warning: 78.188.17.233: hostname dsl78.188-4585.ttnet.net.tr verification failed: Name or service not known
Mail Error Log :

Quote:
Jul 3 05:56:35 mail amavis[655]: (00655-05) (!!)TROUBLE in check_mail: parts_decode_ext FAILED: file(1) utility (/usr/bin/file) error: run_command (open pipe): Can't fork at /usr/lib/perl/5.10/IO/File.pm line 66. at /usr/sbin/amavisd-new line 2892.
Jul 3 06:01:58 mail amavis[654]: (00654-06) (!!)TROUBLE in check_mail: parts_decode_ext FAILED: file(1) utility (/usr/bin/file) error: run_command (open pipe): Can't fork at /usr/lib/perl/5.10/IO/File.pm line 66. at /usr/sbin/amavisd-new line 2892.
Jul 3 07:44:58 mail amavis[654]: (00654-07) (!!)TROUBLE in check_mail: parts_decode_ext FAILED: file(1) utility (/usr/bin/file) error: run_command (open pipe): Can't fork at /usr/lib/perl/5.10/IO/File.pm line 66. at /usr/sbin/amavisd-new line 2892.
Jul 3 07:45:21 mail amavis[655]: (00655-07) (!!)TROUBLE in check_mail: parts_decode_ext FAILED: file(1) utility (/usr/bin/file) error: run_command (open pipe): Can't fork at /usr/lib/perl/5.10/IO/File.pm line 66, line 296. at /usr/sbin/amavisd-new line 2892, line 296.
Jul 3 07:45:38 mail amavis[654]: (00654-08) (!!)TROUBLE in check_mail: parts_decode_ext FAILED: file(1) utility (/usr/bin/file) error: run_command (open pipe): Can't fork at /usr/lib/perl/5.10/IO/File.pm line 66. at /usr/sbin/amavisd-new line 2892.
Jul 3 07:46:04 mail amavis[655]: (00655-08) (!!)TROUBLE in check_mail: parts_decode_ext FAILED: file(1) utility (/usr/bin/file) error: run_command (open pipe): Can't fork at /usr/lib/perl/5.10/IO/File.pm line 66. at /usr/sbin/amavisd-new line 2892.
Jul 3 07:48:50 mail amavis[654]: (00654-09) (!!)TROUBLE in check_mail: parts_decode_ext FAILED: file(1) utility (/usr/bin/file) error: run_command (open pipe): Can't fork at /usr/lib/perl/5.10/IO/File.pm line 66, line 6769. at /usr/sbin/amavisd-new line 2892, line 6769.
Jul 3 07:50:34 mail amavis[655]: (00655-09) (!!)TROUBLE in check_mail: parts_decode_ext FAILED: file(1) utility (/usr/bin/file) error: run_command (open pipe): Can't fork at /usr/lib/perl/5.10/IO/File.pm line 66, line 185. at /usr/sbin/amavisd-new line 2892, line 185.
Jul 3 07:51:14 mail amavis[654]: (00654-10) (!!)TROUBLE in check_mail: parts_decode_ext FAILED: file(1) utility (/usr/bin/file) error: run_command (open pipe): Can't fork at /usr/lib/perl/5.10/IO/File.pm line 66. at /usr/sbin/amavisd-new line 2892.
Jul 3 07:51:28 mail amavis[655]: (00655-10) (!!)TROUBLE in check_mail: parts_decode_ext FAILED: file(1) utility (/usr/bin/file) error: run_command (open pipe): Can't fork at /usr/lib/perl/5.10/IO/File.pm line 66, line 720. at /usr/sbin/amavisd-new line 2892, line 720.
Jul 3 07:52:56 mail amavis[654]: (00654-11) (!!)TROUBLE in check_mail: parts_decode_ext FAILED: file(1) utility (/usr/bin/file) error: run_command (open pipe): Can't fork at /usr/lib/perl/5.10/IO/File.pm line 66. at /usr/sbin/amavisd-new line 2892.
Jul 3 07:52:56 mail amavis[655]: (00655-11) (!!)TROUBLE in check_mail: parts_decode_ext FAILED: file(1) utility (/usr/bin/file) error: run_command (open pipe): Can't fork at /usr/lib/perl/5.10/IO/File.pm line 66, line 224. at /usr/sbin/amavisd-new line 2892, line 224.
Jul 3 07:52:56 mail amavis[654]: (00654-12) (!!)TROUBLE in process_request: Can't create file /var/lib/amavis/tmp/amavis-20090703T075256-00654/email.txt: File exists at /usr/sbin/amavisd-new line 5138, line 4.
Jul 3 07:52:56 mail amavis[655]: (00655-12) (!!)TROUBLE in process_request: Can't create file /var/lib/amavis/tmp/amavis-20090703T075256-00655/email.txt: File exists at /usr/sbin/amavisd-new line 5138, line 4.
Jul 3 07:58:18 mail amavis[27679]: (27679-02) (!!)TROUBLE in check_mail: parts_decode_ext FAILED: file(1) utility (/usr/bin/file) error: run_command (open pipe): Can't fork at /usr/lib/perl/5.10/IO/File.pm line 66, line 6985. at /usr/sbin/amavisd-new line 2892, line 6985.
Jul 3 07:58:18 mail amavis[27679]: (27679-02-2) (!!)TROUBLE in process_request: Can't create file /var/lib/amavis/tmp/amavis-20090703T075818-27679/email.txt: File exists at /usr/sbin/amavisd-new line 5138, line 171.
End of Edit ---
__________________
4 virtual machines with Debian Lenny updated on proxmox (openvz) with ISPConfig 3.0.1.6

ns1 : http(s), ftp(s), DNS Master, ISPConfig
sql : MySQL database users
mail : All mail system
ns2 : DNS Slave

ISPConfig.be Admin's

Last edited by Gimly; 3rd July 2009 at 13:22.
Reply With Quote
  #4  
Old 3rd July 2009, 13:32
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

Code:
Jul  3 13:06:11 mail postfix/error[25776]: 9D0E21E40CAF: to=<paypal@espace4you.org>, relay=none, delay=0.17, delays=0.17/0/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
there's your little bugger .. is amavisd running? :P

ls -al | grep :10024

should give you something like:
tcp 0 0 127.0.0.1:10024 0.0.0.0:* LISTEN 11519/amavisd (mast
...
...

you're 2nd question i cannot answer because i run powerdns on 3 completely different ns servers, i don't use the dns service ispconfig can provide me.
Reply With Quote
  #5  
Old 3rd July 2009, 17:23
Gimly Gimly is offline
HowtoForge Supporter
 
Join Date: Mar 2007
Location: France
Posts: 144
Thanks: 26
Thanked 4 Times in 4 Posts
Default

Result when I want to start amavis :

Code:
mail:/# /etc/init.d/amavis start
Starting amavisd: head: cannot open `/etc/mailname' for reading: No such file or directory   amavisd-new
and for netstat -tap | grep amavis :

Quote:
mail:/# netstat -tap | grep amavis tcp 0 0 localhost.localdo:10024 *:* LISTEN 24909/amavisd (mast tcp 0 0 localhost.localdo:47604 localhost.localdo:mysql ESTABLISHED 24911/amavisd (ch3- tcp 0 0 localhost.localdo:53530 localhost.localdo:mysql ESTABLISHED 25024/amavisd (ch1- tcp 0 0 localhost.localdo:37656 localhost.localdo:10025 ESTABLISHED 24911/amavisd (ch3-
any idea ?

Thank you for your help Mark
__________________
4 virtual machines with Debian Lenny updated on proxmox (openvz) with ISPConfig 3.0.1.6

ns1 : http(s), ftp(s), DNS Master, ISPConfig
sql : MySQL database users
mail : All mail system
ns2 : DNS Slave

ISPConfig.be Admin's
Reply With Quote
  #6  
Old 4th July 2009, 12:44
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,475
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

Create a file:

/etc/mailname

with just one line with the hostname of your server
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 6th July 2009, 13:34
Gimly Gimly is offline
HowtoForge Supporter
 
Join Date: Mar 2007
Location: France
Posts: 144
Thanks: 26
Thanked 4 Times in 4 Posts
Default

Thanks Till now it work, can you answer to my question ?

Quote:
Originally Posted by Gimly
Is there a way to add automatic zone DNS and record DNS when website and subdomain are created ?
Thank you
__________________
4 virtual machines with Debian Lenny updated on proxmox (openvz) with ISPConfig 3.0.1.6

ns1 : http(s), ftp(s), DNS Master, ISPConfig
sql : MySQL database users
mail : All mail system
ns2 : DNS Slave

ISPConfig.be Admin's
Reply With Quote
  #8  
Old 7th July 2009, 11:20
Gimly Gimly is offline
HowtoForge Supporter
 
Join Date: Mar 2007
Location: France
Posts: 144
Thanks: 26
Thanked 4 Times in 4 Posts
Default

Arf, the delay to receive my mail is too long. I don't understand why. For example, when I test mail from different server, the delay is near 48h ... :/

Do you want new error, warn and mail logs from my mail server ?
__________________
4 virtual machines with Debian Lenny updated on proxmox (openvz) with ISPConfig 3.0.1.6

ns1 : http(s), ftp(s), DNS Master, ISPConfig
sql : MySQL database users
mail : All mail system
ns2 : DNS Slave

ISPConfig.be Admin's
Reply With Quote
  #9  
Old 7th July 2009, 11:30
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

send a mail and when you do that tail -f the mail.log file to see if there are any mails incomming from the sending server, and check what happens .. (you can post them here )
Reply With Quote
  #10  
Old 7th July 2009, 13:29
Gimly Gimly is offline
HowtoForge Supporter
 
Join Date: Mar 2007
Location: France
Posts: 144
Thanks: 26
Thanked 4 Times in 4 Posts
 
Default

This is the return when I send mail :

Quote:
Jul 7 12:51:15 mail postfix/smtpd[15256]: connect from smtp23.orange.fr[193.252.22.126]
Jul 7 12:51:16 mail postfix/smtpd[15256]: 070911E40D5F: client=smtp23.orange.fr[193.252.22.126]
Jul 7 12:51:16 mail postfix/cleanup[15286]: 070911E40D5F: message-id=<4A5328A1.5090902@canteau.net>
Jul 7 12:51:16 mail postfix/qmgr[18575]: 070911E40D5F: from=<romain@canteau.net>, size=1078, nrcpt=1 (queue active)
Jul 7 12:51:16 mail postfix/smtpd[15256]: disconnect from smtp23.orange.fr[193.252.22.126]
Jul 7 12:51:16 mail postfix/error[15287]: 070911E40D5F: to=<romain@canteau.net>, relay=none, delay=0.06, delays=0.05/0/0/0.01, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
Amavis crash after 2 sec ...

Quote:
Syslog rsults :

Jul 7 13:24:07 mail pop3d: Connection, ip=[::ffff:90.38.83.184]
Jul 7 13:24:07 mail pop3d: LOGIN, user=admin@espace4you.org, ip=[::ffff:90.38.83.184], port=[2549]
Jul 7 13:24:07 mail pop3d: LOGOUT, user=admin@espace4you.org, ip=[::ffff:90.38.83.184], port=[2549], top=0, retr=2795, rcvd=33, sent=6540, time=0
Jul 7 13:24:14 mail pop3d: Connection, ip=[::ffff:90.38.83.184]
Jul 7 13:24:14 mail pop3d: LOGIN, user=admin@espace4you.org, ip=[::ffff:90.38.83.184], port=[2551]
Jul 7 13:24:14 mail pop3d: LOGOUT, user=admin@espace4you.org, ip=[::ffff:90.38.83.184], port=[2551], top=0, retr=0, rcvd=24, sent=3646, time=0
Jul 7 13:24:16 mail pop3d: Connection, ip=[::ffff:90.38.83.184]
Jul 7 13:24:16 mail pop3d: LOGIN, user=romain@canteau.net, ip=[::ffff:90.38.83.184], port=[2553]
Jul 7 13:24:16 mail pop3d: LOGOUT, user=romain@canteau.net, ip=[::ffff:90.38.83.184], port=[2553], top=0, retr=0, rcvd=24, sent=751, time=0
Jul 7 13:24:34 mail ntpd[1257]: synchronized to 213.186.58.141, stratum 2
Jul 7 13:25:01 mail /USR/SBIN/CRON[31455]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
Jul 7 13:25:01 mail /USR/SBIN/CRON[31458]: (getmail) CMD (/usr/local/bin/run-getmail.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
Jul 7 13:25:01 mail imapd: Connection, ip=[::ffff:127.0.0.1]
Jul 7 13:25:01 mail imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Jul 7 13:25:01 mail pop3d: Connection, ip=[::ffff:127.0.0.1]
Jul 7 13:25:01 mail pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Jul 7 13:25:01 mail postfix/smtpd[31470]: connect from localhost.localdomain[127.0.0.1]
Jul 7 13:25:01 mail postfix/smtpd[31470]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Jul 7 13:25:01 mail postfix/smtpd[31470]: disconnect from localhost.localdomain[127.0.0.1]
Jul 7 13:25:05 mail amavis[31494]: starting. /usr/sbin/amavisd-new at mail.espace4you.org amavisd-new-2.6.1 (20080629), Unicode aware, LANG="fr_FR.UTF-8"
Jul 7 13:25:05 mail amavis[31494]: Perl version 5.010000
Jul 7 13:25:05 mail amavis[31494]: (!)Net::Server: 2009/07/07-13:25:05 Couldn't fork: [Ne peut allouer de la m\303\251moire]\n\n at line 293 in file /usr/share/perl5/Net/Server.pm
Jul 7 13:25:11 mail amavis[31507]: starting. /usr/sbin/amavisd-new at mail.espace4you.org amavisd-new-2.6.1 (20080629), Unicode aware, LANG="fr_FR.UTF-8"
Jul 7 13:25:11 mail amavis[31507]: Perl version 5.010000
Jul 7 13:25:12 mail amavis[31507]: (!)Net::Server: 2009/07/07-13:25:12 Couldn't fork: [Can't allocate memory]\n\n at line 293 in file /usr/share/perl5/Net/Server.pm
__________________
4 virtual machines with Debian Lenny updated on proxmox (openvz) with ISPConfig 3.0.1.6

ns1 : http(s), ftp(s), DNS Master, ISPConfig
sql : MySQL database users
mail : All mail system
ns2 : DNS Slave

ISPConfig.be Admin's
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


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


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