NNCP: Difference between revisions
Add configurations examples for relaying email. |
m Category:CLI added |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 168: | Line 168: | ||
=== Sending mail === | === Sending mail === | ||
To send mail alice configures her client | To send mail alice configures her client to relay mail to her mailserver by using nncp-exec as if it were <code>sendmail</code>. | ||
<code> | <code> | ||
| Line 243: | Line 243: | ||
# Configure a NNCP Mail Delivery Agent (MDA) for local users. | # Configure a NNCP Mail Delivery Agent (MDA) for local users. | ||
action "nncp" mda "/run/wrappers/bin/nncp-exec -quiet %{ | action "nncp" mda "/run/wrappers/bin/nncp-exec -quiet %{dest.user:strip} sendmail" | ||
# Configure SMTP relaying to external domains. | # Configure SMTP relaying to external domains. | ||
| Line 255: | Line 255: | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Networking]] | |||
[[Category:Server]] | |||
[[Category:CLI]] | |||