mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-05 20:11:43 +03:00
nixos/mlmmj: add more list headers
since we already add a couple of default headers, it makes sense to have a sensible default and add the unsubscribe header and friends
This commit is contained in:
parent
f1bb633034
commit
7596e7a495
@ -16,7 +16,14 @@ let
|
|||||||
alias = domain: list: "${list}: \"|${pkgs.mlmmj}/bin/mlmmj-receive -L ${listDir domain list}/\"";
|
alias = domain: list: "${list}: \"|${pkgs.mlmmj}/bin/mlmmj-receive -L ${listDir domain list}/\"";
|
||||||
subjectPrefix = list: "[${list}]";
|
subjectPrefix = list: "[${list}]";
|
||||||
listAddress = domain: list: "${list}@${domain}";
|
listAddress = domain: list: "${list}@${domain}";
|
||||||
customHeaders = domain: list: [ "List-Id: ${list}" "Reply-To: ${list}@${domain}" ];
|
customHeaders = domain: list: [
|
||||||
|
"List-Id: ${list}"
|
||||||
|
"Reply-To: ${list}@${domain}"
|
||||||
|
"List-Post: <mailto:${list}@${domain}>"
|
||||||
|
"List-Help: <mailto:${list}+help@${domain}>"
|
||||||
|
"List-Subscribe: <mailto:${list}+subscribe@${domain}>"
|
||||||
|
"List-Unsubscribe: <mailto:${list}+unsubscribe@${domain}>"
|
||||||
|
];
|
||||||
footer = domain: list: "To unsubscribe send a mail to ${list}+unsubscribe@${domain}";
|
footer = domain: list: "To unsubscribe send a mail to ${list}+unsubscribe@${domain}";
|
||||||
createList = d: l:
|
createList = d: l:
|
||||||
let ctlDir = listCtl d l; in
|
let ctlDir = listCtl d l; in
|
||||||
|
Loading…
Reference in New Issue
Block a user