Received: (at submit) by bugs.debian.org; 29 Mar 1999 20:05:15 +0000 Received: (qmail 11863 invoked from network); 29 Mar 1999 20:05:12 -0000 Received: from enhanced.ppp.cyberenet.net (HELO intech8.enhanced.com) (@208.17.129.184) by master.debian.org with SMTP; 29 Mar 1999 20:05:12 -0000 Received: by enhanced.com id m10RiHV-000I7qC (Debian Smail-3.2.0.102 1998-Aug-2 #2); Mon, 29 Mar 1999 15:05:09 -0500 (EST) Message-Id: Date: Mon, 29 Mar 1999 15:05:09 -0500 (EST) From: Subject: smail: New smail won't accept aliases pointing to local host To: submit@bugs.debian.org Bcc: X-Mailer: bug 3.1.7 Package: smail Version: 3.2.0.102-1 We have an NIS alias database, directing various users' mail to different machines. Here is the correct output of smail under Debian 2.0 when examined with mail -v: intech5:~$ echo test | mail -v camm write_log:Received FROM:camm PROGRAM:send-mail SIZE:74 director aliases: matched camm, aliased to camm@intech5.enhanced.com, owner postmaster directed camm@(no-parent-target) --> camm@intech5.enhanced.com director aliases: matched camm, aliased to camm@intech5.enhanced.com, owner postmaster directed camm@intech5.enhanced.com --> camm@intech5.enhanced.com ... match localhost, pass camm to next director director user matched user camm transport local uses driver appendfile appendfile: write to file /var/spool/mail/camm write_log:Delivered TO:camm ORIG-TO:camm DIRECTOR:user TRANSPORT:local write_log:Completed. Here is what happens now with Debian 2.1: intech8:~$ echo test | mail -v marie@intech8.enhanced.com write_log:Received FROM:camm PROGRAM:send-mail SIZE:118 director aliases: matched marie, aliased to marie@intech8.enhanced.com, owner postmaster directed marie@(no-parent-target) --> marie@intech8.enhanced.com marie@intech8.enhanced.com: has already been seen -- skipping. write_log:no valid recipients were found for this message write_log:Completed. Looking through the change log, this seems to pertain to the following: - Duplicate addresses are now checked for in two stages -- first as literal duplicates without parsing right down to the mailbox, and then secondly after directing and routing is done by target address and transport name. This once and for all fixes the problem where virtual hosts using the directors domains attribute (for example) could not receive copies of messages that were also delivered to local users with the same mailbox name. Thanks for your contributions to Debian! -- System Information Debian Release: 2.1 Kernel Version: Linux intech8 2.0.34 #1 Fri Jun 26 08:34:08 EDT 1998 i486 unknown Versions of the packages smail depends on: ii libc6 2.0.7.19981211 GNU C Library: shared libraries ii libident 0.21-7 simple RFC1413 client library - runtime ii cron 3.0pl1-50 management of regular background processing ii util-linux 2.9g-6 Miscellaneous system utilities. --- Begin /etc/aliases (modified conffile) postmaster: root root: camm daemon: root bin: root sys: root sync: root games: root man: root lp: root mail: root news: root uucp: root proxy: root gnats: root majordom: root postgres: root backup: root dos: root operator: root list: root irc: root mailer-daemon: postmaster --- End /etc/aliases --- Begin /etc/smail/transports (modified conffile) local: driver=appendfile, from, local, inet, return_path, unix_from_hack; append_as_user, check_user, file=/var/spool/mail/${lc:strip:user}, group=mail, mode=0660, notify_comsat, suffix="\n" smtp: driver=tcpsmtp, max_addrs=100, -max_chars, inet; use_bind, defer_no_connect, -local_mx_okay, defnames uux: driver=pipe, uucp, from, max_addrs=5, max_chars=200; cmd="/usr/bin/uux - -r $host!rmail $(($user)$)", pipe_as_sender, log_output pipe: driver=pipe, from, local, inet, return_path, unix_from_hack; cmd="/bin/sh -c $user", -ignore_status, -ignore_write_errors, log_output, parent_env, pipe_as_user, umask=0077 file: driver=appendfile, from, local, return_path, unix_from_hack; append_as_user, file=$user, expand_user, mode=0660, suffix="\n" --- End /etc/smail/transports --- Begin /etc/smail/directors (modified conffile) aliases: driver=aliasfile, owner=postmaster, sender_okay; file=mail.aliases, proto=yp, modemask=002, owners=root:mail:daemon, owngroups=root:mail:daemon dotforward: driver=forwardfile, owner=postmaster, nobody, sender_okay; file=~/.forward, checkowner, modemask=022, owners=root, unsecure=0-99:~ftp:~uucp:/tmp:/var/tmp, user: driver=user; transport=local real_user: driver=user; transport=local, prefix=real- lists: driver=forwardfile, sender_okay, owner=owner-$user, caution, nobody; file=lists/${lc:user} --- End /etc/smail/directors --- Begin /etc/smail/routers (modified conffile) inet_addrs: driver=gethostbyaddr, transport=smtp; check_for_local, fail_if_error inet_hosts: driver=bind, transport=smtp; defer_no_connect, -local_mx_okay, defnames, ignore_domains=uucp:bitnet, widen_domains="enhanced.com:fla.enhanced.com:m.enhanced.com" --- End /etc/smail/routers --- Begin /etc/smail/config (modified conffile) visible_name=enhanced.com -domains hostnames=intech8.enhanced.com:enhanced.com max_load_ave=5 smtp_accept_max=20 smtp_accept_queue=10 rfc1413_query_timeout=15 require_configs -second_config_file -qualify_file -retry_file copying_file=/usr/doc/smail/copyright max_message_size=10M message_id_field="Message-Id: <$message_id@$visible_name>" received_field="Received: \ by $visible_name\n\t\ ${if def:sender_proto: with $sender_proto }\ ${if def:ident_sender:(ident $ident_sender using $ident_method) }\ id $message_id\n\t\ (Debian $version_string); $spool_date" --- End /etc/smail/config