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 at Sympa::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::Template module appeared on Sympa 6.2.23b, and it obsoleted alias_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