Sympa::Aliases::External(3Sympa)
π Sympa::Aliases::External(3Sympa) π
okay bestie, gather round, because today we're talking about Sympa::Aliases::External β the alias management module that outsources the whole "updating aliases" job to an external program. yes, like delegation, but make it Unix. π
It ships with sympa 6.2.80 and honestly? it's giving "I don't do the work, I know a girl who does." π
β¨ NAME β¨
Sympa::Aliases::External β alias management, aka: updating aliases by an external program. slay. π¦
πΈ SYNOPSIS πΈ
use Sympa::Aliases;
my $aliases = Sympa::Aliases->new('/path/to/program',
[ file => 'file' ] );
# or,
my $aliases = Sympa::Aliases->new('External',
program => '/path/to/program', [ file => 'file' ] );
$aliases->check('listname', 'domain');
$aliases->add($list);
$aliases->del($list);
look at her. two totally valid ways to summon her (constructor with just the program path, or the explicit 'External' plus a program key), and then three little method calls doing all the heavy lifting. main character energy, no notes. β¨
π DESCRIPTION π
Sympa::Aliases::External manages list aliases using an external program. that's it, that's the vibe. you bring the program, she brings the delegation. π€
π§ Methods π§
check ( $listname, $domain )β ngl the details live elsewhere: seeSympa::Aliases::CheckSMTP. she's just pointing you to the right girl. πadd ( $list )anddel ( $list )β these two invoke the program with these command line arguments:
/path/to/program add | del listname domain [ file ]
so like, add or del (pick one, queen), then listname, then domain, then optionally file. β¨
and here's the receipts-check: if processing succeeds, the program should exit with status 0. otherwise it may exit with a non-zero status β and yep, there's a whole list of those below (see also "Constants"). no cap. π₯
π Constants π
Exit status
these are the exit statuses, bestie. memorize them or at least bookmark them, iykyk. π
ERR_CONFIGβ configuration file has errors. πERR_PARAMETERβ incorrect call to program. the program got called wrong, rip.ERR_WRITE_ALIASβ unable to append to alias.ERR_NEWALIASESβ unable to runnewaliasescommand.ERR_READ_ALIASβ unable to read existing aliases.ERR_CREATE_TEMPβ could not create temporary file.ERR_ALIAS_EXISTSβ some of the list aliases already exist. (awkward.) πERR_LOCKβ can not lock resource.ERR_ALIASES_EMPTYβ the parser returned empty aliases. π
π SEE ALSO π
Sympa::Aliases, Sympa::Aliases::CheckSMTP.
go read those too, bestie, they're the supporting cast and they ate. π
β HISTORY β
the Sympa::Aliases::External module appeared on Sympa 6.2.23b. she's been iconic since day one, periodt. π
and that's the whole page!! thanks for coming to my ted talk, ily π«Ά
version 6.2.80 β¨ dated 2026-10-19 β Sympa::Aliases::External(3Sympa), mwah, bye bestie! πππ¦
π¦ 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