Mail-Karmasphere-Client
view release on metacpan or search on metacpan
karmad-exim view on Meta::CPAN
$socketgroup = 'nogroup';
}
if ($socketgroup =~ /\D/) {
$gid = getgrnam($socketgroup)
or die "Socket group $socketgroup not found: $!";
}
else {
$gid = $socketgroup;
}
chown($uid, $gid, $sockaddr)
or die "chown($socketuser=$uid, $socketgroup=$gid, $sockaddr) failed";
}
elsif ($socketuser or $socketgroup) {
warn "Cannot change socket owner as non-root.";
}
if (defined $socketmode) {
chmod(oct($socketmode), $sockaddr)
or die "chmod($socketmode, $sockaddr) failed";
}
syslog LOG_INFO, "listening on %s", $sockaddr if $syslog;
karmad-exim view on Meta::CPAN
The name of the feedset you want to query. Defaults to
karmasphere.email-sender. You probably don't need to set
this.
=item --socketuser
=item --socketgroup
Who to listen as; defaults to 'nobody'. The socket file
will be chowned to this user and group. You probably don't
need to set this.
=item --socketmode
Mode to chmod the socket. You probably don't need to set
this.
=item --user
=item --group
( run in 1.789 second using v1.01-cache-2.11-cpan-71847e10f99 )