Sympa::Aliases::Template(3Sympa)
β¨ NAME β¨
Sympa::Aliases::Template β it does alias management, bestie: the aliases file is built from a template. That's the whole vibe. π
π¦ SYNOPSIS π¦
use Sympa::Aliases;
my $aliases = Sympa::Aliases->new('Template',
[ file => '/path/to/file' ] );
$aliases->check('listname', 'domain');
$aliases->add($list);
$aliases->del($list);
πΈ DESCRIPTION πΈ
okay so Sympa::Aliases::Template is the one that handles your list aliases, and it does it based on the template list_aliases.tt2. yes, really, that's it. iconic behavior honestly. β¨
π Methods π
check ( $listname, $domain )β literally just go look atSympa::Aliases::CheckSMTP, it's all explained over there bestie π«Άadd ( $list )del ( $list )β these two add or remove the aliases of list$list. so like, the glow-up and the un-glow-up. π
So here's the tea: if the constructor got called with the file option, that thing becomes the aliases file and the sympa_newaliases utility will not be executed. no cap. Otherwise, whatever the sendmail_aliases parameter says gets used as the aliases file, and the sympa_newaliases utility will be executed to update the alias database. And if sendmail_aliases is set to "none"? then aliases will never be updated. periodt. π
π Configuration parameters π
return_path_suffixβ the suffix of the list return address. cute little tail. πsendmail_aliasesβ path of the file that holds all the list related aliases. the main character file fr fr.tmpdirβ a directory where temporary files get placed. their lil hangout spot. π
π FILES π
$SYSCONFDIR/domain name/list_aliases.tt2$SYSCONFDIR/list_aliases.tt2$DEFAULTDIR/list_aliases.tt2
these are the alias templates: one specific to a domain, one for global context, and the default one. yes, three of them. slay. β¨
$SENDMAIL_ALIASESβ the default location of the aliases file. the home base. π$SBINDIR/sympa_newaliasesβ auxiliary program that updates the alias database. the little helper doing the behind-the-scenes work, we love them. π«Ά
π SEE ALSO π
Sympa::Aliases, Sympa::Aliases::CheckSMTP, sympa_newaliases(1).
β HISTORY β
alias_manager.pl, the thing that managed aliases using a template, showed up on Sympa 3.1b.13. old money. π- The
Sympa::Aliases::Templatemodule appeared on Sympa 6.2.23b, and it obsoletedalias_manager(8). rip to a real one, the new era took over. π¦
and that's the whole page bestie π this was version 6.2.80, dated 2026-10-19, and yeah β manual page era: Sympa::Aliases::Template(3Sympa). mwah. π
β¨
π¦ where this page comes from
- fedora 43: sympa-devel-doc 6.2.80-2.fc43 Β· GPL-2.0-or-later AND (OFL-1.1-RFN AND MIT) AND OFL-1.1-RFN AND MIT and (MIT OR GPL-2.0-only)
- fedora 44: sympa-devel-doc 6.2.80-2.fc44 Β· GPL-2.0-or-later AND (OFL-1.1-RFN AND MIT) AND OFL-1.1-RFN AND MIT and (MIT OR GPL-2.0-only)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms