Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Sep 2004 02:59:03 +0200
From:      "cell" <bettan@nerim.net>
To:        <freebsd-questions@freebsd.org>
Subject:   spamassassin and virtuals users accounts
Message-ID:  <003d01c49abf$32127d00$0301a8c0@danielle>

next in thread | raw e-mail | index | archive | help
hello , i tried to configure postfix/mysql/courier-imap but i have a =
problem with virtual users.I use this main.cf :

command_directory =3D /usr/local/sbin
daemon_directory =3D /usr/local/libexec/postfix

smtpd_banner =3D $myhostname ESMTP $mail_name $mail_version (FreeBSD)
setgid_group =3D maildrop
biff =3D no
masquerade_domains =3D linux-win.com.com
masquerade_exceptions =3D root
# appending .domain is the MUA's job.
append_dot_mydomain =3D yes
myhostname =3D linux-win.com
mydestination =3D $myhostname, localhost
alias_maps =3D hash:/usr/local/etc/postfix/aliases, $virtual_alias_maps
alias_database =3D hash:/usr/local/etc/postfix/aliases
home_mailbox =3D Maildir/
mail_spool_directory =3D /var/mail
local_destination_concurrency_limit=3D 1
default_destination_concurrency_limit =3D 1
smtpd_recipient_limit =3D 50
notify_classes=3Dbounce,resource,software,policy
relayhost =3D
relay_domains =3D linux-win.com
mynetworks =3D 192.168.1.0/32, 192.168.3.0/32, 127.0.0.0/8
mailbox_command =3D /usr/local/bin/procmail
mailbox_size_limit =3D 0
mailq_path =3D /usr/bin/mailq
message_size_limit =3D 10000000
recipient_delimiter =3D +
smtpd_helo_required =3D yes

smtpd_sasl_auth_enable =3D yes
smtpd_sasl_security_options =3D noanonymous
smtpd_sasl_local_domain =3D $myhostname
broken_sasl_auth_clients =3D yes
smtpd_recipient_restrictions =3D =
permit_mynetworks,permit_sasl_authenticated,
    =
reject_unauth_pipelining,reject_unauth_destination,reject_invalid_hostnam=
e,reject_unknown_recipient_domain

smtpd_sender_restrictions =3D hash:/usr/local/etc/postfix/access,
    reject_unknown_sender_domain,
    reject_invalid_hostname

header_checks =3D regexp:/usr/local/etc/postfix/header_checks

strict_rfc821_envelopes =3D yes
unknown_address_reject_code =3D 554
unknown_client_reject_code =3D 554
unknown_hostname_reject_code =3D 554
readme_directory =3D no
sample_directory =3D /usr/local/etc/postfix
sendmail_path =3D /usr/sbin/sendmail
manpage_directory =3D /usr/local/man
newaliases_path =3D /usr/bin/newaliases
queue_directory =3D /var/spool/postfix
mail_owner =3D postfix
unknown_local_recipient_reject_code =3D 450


virtual_alias_maps =3D =
mysql:/usr/local/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps =3D static:125
virtual_mailbox_base =3D /usr/local/virtual
virtual_mailbox_domains =3D =
mysql:/usr/local/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_maps =3D =
mysql:/usr/local/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_mailbox_limit =3D 51200000
virtual_minimum_uid =3D 125
virtual_transport =3D virtual
virtual_uid_maps =3D static:125


I can't receive mails for my virtuals users with this configuration.I =
have used this tutorial for configuration postfix/mysql/courier-imap :

http://high5.net/howto/

Anyone have a solution ?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003d01c49abf$32127d00$0301a8c0>