Operating System - HP-UX
1833144 Members
3299 Online
110051 Solutions
New Discussion

Sendmail delivers messages to a file

 
Lora Ganeva
Regular Advisor

Sendmail delivers messages to a file

hi again,
how can I make my sendmail 8.11 to deliver messages to a file.
Any help would be greatly appreciated.
2 REPLIES 2
Christopher Caldwell
Honored Contributor

Re: Sendmail delivers messages to a file

Add an entry to /etc/mail/aliases
of the format

alias: full_path_to_file

rebuild the aliases database
Lora Ganeva
Regular Advisor

Re: Sendmail delivers messages to a file

sorry but i was not accurate when I asked the question.
I have written my own rule which includes the check_compat routine and I want certain messages to be sent to /dev/null via the file delivery agent.