Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!rpi!zaphod.mps.ohio-state.edu!mips!cs.uoregon.edu!ogicse!intelhf!ichips!iwarp.intel.com!gargoyle!chinet!les From: les@chinet.chi.il.us (Leslie Mikesell) Newsgroups: comp.mail.misc Subject: Re: Getting a copy of Mailer-Daemon messages (using smail) Message-ID: <1991Apr18.174413.15812@chinet.chi.il.us> Date: 18 Apr 91 17:44:13 GMT References: <1991Apr15.154723.18036@grasp1.univ-lyon1.fr> Organization: Chinet - Chicago Public Access UNIX Lines: 17 In article admin@methan.chemie.fu-berlin.de writes: >>I would like to get a copy of the MAILER-DAEMON messages generates by >>several machine when they receive a bad message. >I'm looking for this too - but I need a solution for smail 3.1.20. >Any idea how to enable this feature? The source of smail already implement >this but how to enable? I don't think there is any configuration option to allow this, but the code for error returns is all in notify.c and it looks like it would be trivial to add "|| return_to_sender" to the conditional check of "send_to_postmaster" on line 634. You might want to skip the write_body() under these conditions. Les Mikesell les@chinet.chi.il.us