View Single Post
  #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