-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Send all mail to /dev/null #64
Comments
@micolous did you find a solution for dropping all emails? |
@benbro It's been a long time since I've looked at this, but from memory this package has no "default configuration", because you'd normally point this at a "real" mail server. I was running Debian on a Raspberry Pi, and many packages demanded an MTA be installed. However, I was trying to run the system read only (to preserve the life of the SD card), offline, and generally cut down on any unnecessary background tasks (eg: writing to a mail queue in The "null" in However, on further investigation, I found That work-around isn't perfect (for the reasons I opened this issue for), but |
Thanks, I'll use that. I don't understand why debain removed lsb-invalid-mta. |
Implemented as a protocol handler (like
smtp
), this would take a configuration option likeWhen operating in this mode,
nullmailer
would accept mail and always report success, but drop all mail it received on the floor (ie: send to/dev/null
).This would be useful for systems that demand an MTA be installed, but are read-only or the system administrator deliberately wants all mail to be discarded.
Making it an internal option would remove the need to set up a symlink for it, and avoid the need to
exec
another process.Alternatives
One can misuse
/bin/true
as a protocol handler with:Debian formerly had a
lsb-invalid-mta
package, this is no longer present.The text was updated successfully, but these errors were encountered: