aboutsummaryrefslogtreecommitdiff
path: root/lib/Sietima/Role/SubscriberOnly/Drop.pm
blob: d9de94e252262164741b8844ea7f7d8ce8b5a252 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package Sietima::Role::SubscriberOnly::Drop; 
use Moo::Role;
use Sietima::Policy;
use namespace::clean;
 
# VERSION 
# ABSTRACT: drop messages from non-subscribers 
 
=head1 SYNOPSIS
 
  my $sietima = Sietima->with_traits('SubscribersOnly::Drop')->new({
    %args,
  });
 
=head1 DESCRIPTION
 
A L<< C<Sietima> >> list with this role applied will silently discard
every incoming email that does not come from one of the list's
subscribers.
 
This is a "sub-role" of L<<
C<SubscribersOnly>|Sietima::Role::SubscriberOnly >>.
 
=cut
 
with 'Sietima::Role::SubscriberOnly';
 
=method C<munge_mail_from_non_subscriber>
 
Does nothing, returns an empty list.
 
=cut
 
sub munge_mail_from_non_subscriber { }
 
1;