|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
i create virtual mail box, and after i can't redirect mail from /etc/aliases
From: Георгий Сытов (usual.man
gmail.com)
Date: Mon Oct 02 2006 - 08:37:06 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I need several domen, and I make virtual mail box in my posrfix
Postconf -n
anvil_rate_time_unit = 30s
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/local/libexec/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 10
default_process_limit = 50
disable_vrfy_command = yes
header_size_limit = 51200
home_mailbox = Maildir/
hopcount_limit = 25
html_directory = no
in_flow_delay = 1s
inet_interfaces = all
local_destination_concurrency_limit = 2
local_recipient_maps = $virtual_mailbox_maps, $alias_map
mail_owner = postfix
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
message_size_limit = 8242880
mydestination = localhost.$mydomain, localhost, $myhosthame
mydomain = zzz.com
myhostname = castor.zzz.com
mynetworks = 127.0.0.0/8, 172.16.1.3/32
mynetworks_style = host
myorigin = $mydomain
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
show_user_unknown_table_name = no
smtp_helo_timeout = 15s
smtp_mail_timeout = 15s
smtp_rcpt_timeout = 15s
smtpd_banner = $myhostname mail server
smtpd_client_connection_count_limit = 15
smtpd_client_connection_rate_limit = 10
smtpd_client_message_rate_limit = 5
smtpd_client_restrictions = permit_sasl_authenticated,
reject_rbl_client relays.ordb.org,
reject_rbl_client list.dsbl.org,
reject_multi_recipient_bounce,
reject_unauth_pipelining
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_delay_reject = no
smtpd_error_sleep_time = 10s
smtpd_etrn_restrictions = reject
smtpd_hard_error_limit = 5
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,
reject_unknown_hostname, reject_invalid_hostname,
reject_non_fqdn_hostname
smtpd_junk_command_limit = 5
smtpd_recipient_limit = 100
smtpd_recipient_overshoot_limit = 5
smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks, permit_auth_destination,
reject_unauth_destination,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
smtpd_reject_unlisted_sender = yes
smtpd_soft_error_limit = 3
smtpd_timeout = 30s
strict_rfc821_envelopes = yes
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/usr/local/etc/postfix/virtual
virtual_gid_maps = static:125
virtual_mailbox_base = /var/mail/vhosts
virtual_mailbox_domains = xxx.zzz.com
virtual_mailbox_maps = hash:/usr/local/etc/postfix/vmailbox
virtual_minimum_uid = 100
virtual_transport = virtual
virtual_uid_maps = static:125
And I get next problem - later in /etc/aliases i
Redirect mail from root to another mail address
Root: me
yyy.com
But now redirect not work
to=<root
castor.zzz.com>, relay=none, delay=0.46, delays=0.28/0.14/0.04/0,
dsn=5.4.6, status=bounced (mail for castor.zzz.com loops back to myself)
I found one way to resolv rhis problem
In virtial aliases and virtual mail box I create mailbox for
root
castor.zzz.com
But I think it is not right - I must insert all my demons
bin: root
bind: root
daemon: root
kmem: root
mailnull: postmaster
man: root
nobody: root
May be anybody know how to tune postfix, for solve this problem ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]