View Single Post
  #3  
Old 27th July 2006, 13:40
Mounir Mounir is offline
Junior Member
 
Join Date: Jul 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Talking

Hi,

this is my main.cf

Quote:
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

myhostname = mail.mydomain.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = mail.mydomain.com, localhost.mydomain.com, localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
#home_mailbox = Maildir/
#mailbox_command =

virtual_maps = hash:/etc/postfix/virtusertable
the admin mail adres is the system admin user.
I create postmaster user with ICPConfig. after i create domain with the seem domain name of the system.

It seems wrong i thenk, if i read this:

Quote:
on the shell.

You should never enter a domain that is used for a virtual site on the server as $mydomain in /etc/postfix/main.cf!
1-But evenif i create user with the system, the recievedmail steel goes to admin@mail.mydomain.com

2-I don't see $mydomain in the main.cf ??? help !!

Thanx
__________________
Tous les hommes doivent mourir, mais peus parmit eux vivent vraiment.

Last edited by Mounir; 28th July 2006 at 20:58.
Reply With Quote