Hello. Am Samstag, 8. September 2007 schrieb Jérôme Blion: > On my system, I have a system account that send some mails (in fact, > apache) Sometimes, I have DSN that are deferred because the maildir of the > account does not exist (and should not) > Just for testing, I created it (using maildirmake). This way, I can > receive mails that I do not want.
Additionally, you can use /etc/courier/aliases/ to map the apache usewr to another mail address. Just for completeness. > I would like to trash these mails quietly. In: > http://www.courier-mta.org/dot-courier.html, there is the following thing: > "If the file is not a zero length file, and does not specify any > delivery instructions, messages to the corresponding E-mail address are > silently discarded." > > So, I created a .courier file: echo "Thrash my mail" > > $HOME_OF_THE_APACHE_ACCOUNT/.courier This *IS* a delivery instruction. From dot-courier man page: Blank lines in the file are ignored. Lines starting with the # character are comments, and are also ignored. Otherwise, each line specifies one of three possible delivery instructions: deliver to a system mailbox or a Maildir; run an external program; or forward the message to another address. Your fancy line does not have a # in front of it, so it is a forwarding e-mail address that propably does not work. cu, Bernd -- Für jedes Problem gibt es eine einfache Lösung, die es noch schlimmer macht. - Hans-Jürgen Quadbeck-Seeger (dt. Chemiker und Manager)
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
