[Postfixbuch-users] Cyrus und Postfix: User unknown in virtual alias table

Daniel Schulz dlsz at arcor.de
Di Nov 14 09:02:12 CET 2006


Guten Morgen,

Am 13.11.06 um 17:36 schrieb Sandy Drobic:
> > Was muß ich denn machen, damit die 3 auch mit lmtp funktionieren?
> 
> Mit lmtp sollte das auch nicht gemacht werden. (^-^)
> Die Filterung sollte durch einen content_filter oder Transport
> aktiviert werden. Wie sehen denn die übrigen Einträge in der
> master.cf aus?

In der steht sonst nur was standardmäßig drinsteht:

----------------------------------------------------------------
#==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100) 
#==========================================================================
smtp      inet  n       -       -       -       -       smtpd
#submission inet n      -       -       -       -       smtpd #
-o smtpd_etrn_restrictions=reject #628      inet  n       -
-       -       -       qmqpd pickup    fifo  n       -       -
60      1       pickup cleanup   unix  n       -       -       -
0       cleanup qmgr      fifo  n       -       -       300     1
qmgr #qmgr     fifo  n       -       -       300     1       oqmgr
rewrite   unix  -       -       -       -       -       trivial-rewrite
bounce    unix  -       -       -       -       0       bounce
defer     unix  -       -       -       -       0       bounce
trace     unix  -       -       -       -       0       bounce
verify    unix  -       -       -       -       1       verify
flush     unix  n       -       -       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp      unix  -       -       -       -       -       smtp
relay     unix  -       -       -       -       -       smtp
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       -       -       -       showq
error     unix  -       -       -       -       -       error
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
anvil     unix  -       -       n       -       1       anvil
#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# maildrop. See the Postfix MAILDROP_README file for details.
#
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
uucp      unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail
($recipient)

cyrus     unix  -       n       n       -       -       pipe
  flags=R user=cyrus argv=/usr/sbin/cyrdeliver -e -m ${extension}
${user}
----------------------------------------------------------------

Und das noch was ich zuletzt gepostet habe.

> ist eine content_filter in main.cf definiert?

Nein. Meine jetzige main.cf sieht so aus:

----------------------------------------------------------------
smtpd_banner = $myhostname ESMTP
biff = no
append_dot_mydomain = no
myhostname = hauptdomain.de
mydomain = hauptdomain.de
myorigin = /etc/mailname
mydestination = $myhostname, $mydomain, localhost, localhost.$mydomain
mynetworks = 127.0.0.0/8
smtp_helo_required = yes
smtp_helo_restrictions = reject_invalid_hostname
strict_rfc821_envelopes = yes
relayhost =
mailbox_command = procmail -a â~@~\$EXTENSIONâ~@~]
mailbox_size_limit = 0
mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp
recipient_delimiter = +
inet_interfaces = all
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
canonical_maps = hash:/etc/postfix/canonical_maps

virtual_mailbox_domains = virtdomain.org
virtual_transport = lmtp:unix:/var/run/cyrus/socket/lmtp
virtual_mailbox_maps = hash:/etc/postfix/virtual_mailbox
virtual_alias_maps = hash:/etc/postfix/virtual_aliases

smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated, reject_unauth_destination
----------------------------------------------------------------

Wie sollte man denn am besten spamd, postgrey und amavis einbinden?

Daniel



Mehr Informationen über die Mailingliste Postfixbuch-users