System Engineering

Install SRSd with Postfix on OpenSUSE

Postfix Sender Rewriting Scheme(SRS) daemon

zypper install postsrsd

vi /etc/default/postsrsd

vi /etc/postfix/

inet_interfaces = all
inet_protocols = ipv4
myhostname =
mynetworks_style = subnet
mynetworks =,
relay_domains = $mydestination, hash:/etc/postfix/relay
virtual_alias_domains = hash:/etc/postfix/virtual
virtual_alias_maps = hash:/etc/postfix/virtual

# Aiden: PostSRSd settings.
sender_canonical_maps = tcp:localhost:10001
sender_canonical_classes = envelope_sender
recipient_canonical_maps = tcp:localhost:10002
recipient_canonical_classes= envelope_recipient,header_recipient

# Aiden: Optimizing
maximal_queue_lifetime = 1d
bounce_queue_lifetime = 1d
maximal_backoff_time = 30m
minimal_backoff_time = 5m
queue_run_delay = 5m

vi /etc/postfix/virtual,

vi /etc/postfix/relay OK OK OK

systemctl restart postsrsd
systemctl restart postfix


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.