opensmtpd-filter-replace-from_reply

command module
v0.0.0-...-b2e2bd5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2024 License: MIT Imports: 7 Imported by: 0

README

OpenSMTPD opensmtpd-filter-replace-from_reply

This is a simple OpenSMTPD filter for overwriting the email address in the MAIL FROM command, in the header in all sent messages, as well as for substituting the original MAIL FROM address in the Reply-To field. Designed to send all relayed messages from a given email address (for example [email protected]).

Это простой фильтр OpenSMTPD для перезаписи адреса электронной почты в команде MAIL FROM, в заголовке во всех отправляемых сообщениях, а так же для подстановки оригинального адреса MAIL FROM в поле Reply-To. Разработано для отправки всех ретранслируемых сообщений с заданного адреса электронной почты (например [email protected]).

Usage

  • build the filter for your target platform
    env GOOS=linux GOARCH=amd64 go build opensmtpd-filter-replace-from_reply.go

or for ArchLinux AUR package - opensmtpd-filter-replace-from_reply

  • make OpenSMTPD use the filter
filter "replace-from_reply" proc-exec "opensmtpd-filter-replace-from_reply [email protected] --fromToReply=true"
listen on socket filter "replace-from_reply"

option --fromToReply enables/disables the substitution of the original MAIL FROM address to the Reply-To

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL