[Gllug] Formatting mailq output

Steve Nelson sanelson at gmail.com
Wed May 4 17:00:21 UTC 2005


Hello Chums,

Quick and curious question:

If I have an alias:

MAILER-DAEMON: postmaster

mailq output displays mail that came from this alias as:

j3TLfINY001525     2601 Fri Apr 29 23:41 MAILER-DAEMON

Is there a way to get this to appear as its real address? ie 

j3TLfINY001525     2601 Fri Apr 29 23:41 <postmaster at wibblewobble.mytestbox.org>

This is sendmail:

#echo \$Z | /usr/lib/sendmail -bt -d0
Version 8.12.10
 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
                NAMED_BIND NDBM NETINET NETINET6 NETUNIX NEWDB NIS NISPLUS
                PIPELINING SASLv2 SCANF STARTTLS TCPWRAPPERS USERDB XDEBUG

============ SYSTEM IDENTITY (after readcf) ============
      (short domain name) $w = wibblewobble
  (canonical domain name) $j = wibblewobble.mytestbox.org
         (subdomain name) $m = mytestbox.org
              (node name) $k = wibblewobble.mytestbox.org
========================================================

ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> 8.12.10

Thanks,

S.
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list