Smail / aliases
Hi!
I have an urgent problem with smail 3.2.0.100-4 from hamm:
I have messages like this:
Failed TO:koenigse DIRECTOR:aliases ERROR:(ERR100) unknown user
although user koenigse exists (having been expanded from an alias). The problem is that
delivery works in about 95% of all cases and I cannot find a pattern when it fails. I also have
found no way to get better error messages for debugging (any help for this?)
The site is directly connected to the internet with the config files as created from the
package. This is my directors file.
In desparate need for help (the debian bug report site is down right now),
Stefan Ratschan
---
# aliasinclude - expand ":include:filename" addresses produced by alias files
aliasinclude:
driver=aliasinclude, # use this special-case driver
nobody; # associate nobody user with addresses
# when mild permission violations
# are encountered
copysecure, # get permissions from alias director
copyowners, # get owners from alias director
# forwardinclude - expand ":include:filename" addrs produced by forward files
forwardinclude:
driver=forwardinclude, # use this special-case driver
nobody;
copysecure, # get perms from forwarding director
copyowners, # get owners from forwarding director
# aliases - search for alias expansions stored in a database
aliases:
driver=aliasfile, # general-purpose aliasing director
-nobody, # all addresses are associated
# with nobody by default, so setting
# this is not useful.
sender_okay, # don't remove sender from expansions
owner=postmaster; # problems going to postmaster
file=/etc/aliases, # default: sendmail compatible
owners=root:mail:daemon, # A list of permissible owners/owning
owngroups=root:mail:daemon, # groups for the alias file.
modemask=002, # should not be globally writable
proto=lsearch, # unsorted ASCII file
# if you ever change the line above, change /usr/sbin/mkaliases, too!!!
# dotforward - expand .forward files in user home directories
dotforward:
driver=forwardfile, # general-purpose forwarding director
owner=real-$user, # problems go to the user's mailbox
nobody, # use nobody user, if unsecure
sender_okay; # sender never removed from expansion
file=~/.forward, # .forward file in home directories
checkowner, # the user can own this file
owners=root, # or root can own the file
modemask=002, # it should not be globally writable
caution=0-10:uucp:daemon, # don't run things as root or daemons
# be extra carefull of remotely accessible home directories
unsecure=0-99:~ftp:~uucp:/tmp:/var/tmp,
# user - match users on the local host with delivery to their mailboxes
user:
driver=user;
transport=local
# real_user - match usernames when prefixed with the string "real-"
#
# This is useful for allowing an address which explicitly delivers to a
# user's mailbox file. For example, errors in a .forward file expansion
# can be delivered here, or forwarding loops between multiple machines
# can be resolved by using a real-username address.
# Caution, this is not sendmail compatible :-(
real_user:
driver=user;
transport=local,
prefix="real-",
# lists - expand local mailing lists stored in a list directory.
#
# Mailing lists can be created simply by creating a file in the
# /etc/smail/lists directory. To get local error bounces sent
# to the listowner put their name in /etc/smail/lists/owner-whatever.
lists: driver=forwardfile,
caution, # flag all addresses with caution
nobody, # and then associate the nobody user
-sender_okay, # do remove sender from list expansions
owner=owner-$user; # system V sites may wish to use
# o-$user, as owner-$user may be
# too long for a 14-char filename.
# map the name of the mailing list to lower case
file=lists/${lc:user},
--
E-mail the word "unsubscribe" to debian-user-request@lists.debian.org
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble? E-mail to listmaster@lists.debian.org
Reply to: