Hai,

I have a configuration and dont want to use UNIX account for receiving or sending mail.
I want ONLY Virtual Users.
So I did think is this possible.

In my current configuration i use:
mydestination = $myhostname, localhost.$mydomain, localhost


mydomain = Example.com

myhostname = Mail.Example.com



But I think something can go wrong here because if a message uses for whatever reason u...@localhost.example.com, it is delivered to the /home/user directory And I dont see it, because i look for mail in

/var/mail/vhosts/example.com/user/Maildir




If possible i don't want to fill in anything with
myhostname
mydestination
mydomain

or I want to set it to a local domain. A domain what doesnot realy exists
something like:
mydestination = $myhostname, localhost.$mydomain, localhost


mydomain = home.private

myhostname = Mail.home.private

But I use a relayhost

relayhost = smtp.provider.nl



And I dont want messages from this localdomain going to the INTERNET or to my provider, because

1) Im sending undeliverable messages

2) So i produse SPAM and email from my server will be blocked.



I dont want this to happen.



Thanks



Erik





My configuration:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
disable_vrfy_command = no
home_mailbox = Maildir/
inet_interfaces = all
mailbox_command =
mailbox_size_limit = 0
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = Example.com
myhostname = Mail.Example.com
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.168.0.0/24
myorigin = AOpen.Example.com
notify_classes = resource, software
readme_directory = no
recipient_delimiter = +
relayhost = smtp.versatel.nl
smtp_tls_note_starttls_offer = yes
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_path = private/auth-client
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/ssl/certs/server.crt
smtpd_tls_key_file = /etc/ssl/private/server.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_gid_maps = static:5000
virtual_mailbox_base = /var/mail/vhosts
virtual_mailbox_domains = Example.com Example1.com Example2.com Example3.com

virtual_mailbox_maps = hash:/etc/postfix/vmailbox
virtual_minimum_uid = 100
virtual_uid_maps = static:5000




Version info:

OS: Linux 2.6.32-5-686 i686 Debian 6.0.2 ext4
Postfix 2.7.1-1+squeeze1

Reply via email to