~ubuntu-branches/ubuntu/hoary/postfix/hoary-security

« back to all changes in this revision

Viewing changes to src/smtpd/smtpd_check.ref4

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2004-10-06 11:50:33 UTC
  • Revision ID: james.westby@ubuntu.com-20041006115033-ooo6yfg6kmoteu04
Tags: upstream-2.1.3
ImportĀ upstreamĀ versionĀ 2.1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
>>> #
 
2
>>> # Initialize.
 
3
>>> #
 
4
>>> #! ../bin/postmap smtpd_check_access
 
5
>>> #msg_verbose 1
 
6
>>> smtpd_delay_reject 0
 
7
OK
 
8
>>> #
 
9
>>> # Test the new access map features
 
10
>>> #
 
11
>>> sender_restrictions hash:./smtpd_check_access
 
12
OK
 
13
>>> mail rejecttext@bad.domain
 
14
./smtpd_check: <queue id>: reject: MAIL from localhost[127.0.0.1]: 554 <rejecttext@bad.domain>: Sender address rejected: text; from=<rejecttext@bad.domain> proto=SMTP
 
15
554 <rejecttext@bad.domain>: Sender address rejected: text
 
16
>>> mail filter@filter.domain
 
17
./smtpd_check: warning: access map hash:./smtpd_check_access entry "filter@filter.domain" has FILTER entry without value
 
18
OK
 
19
>>> mail filtertext@filter.domain
 
20
./smtpd_check: warning: access map hash:./smtpd_check_access entry "filtertext@filter.domain" requires transport:destination
 
21
OK
 
22
>>> mail filtertexttext@filter.domain
 
23
./smtpd_check: <queue id>: filter: MAIL from localhost[127.0.0.1]: <filtertexttext@filter.domain>: Sender address triggers FILTER text:text; from=<filtertexttext@filter.domain> proto=SMTP
 
24
OK
 
25
>>> mail hold@hold.domain
 
26
./smtpd_check: <queue id>: hold: MAIL from localhost[127.0.0.1]: <hold@hold.domain>: Sender address triggers HOLD action; from=<hold@hold.domain> proto=SMTP
 
27
OK
 
28
>>> mail holdtext@hold.domain
 
29
./smtpd_check: <queue id>: hold: MAIL from localhost[127.0.0.1]: <holdtext@hold.domain>: Sender address text; from=<holdtext@hold.domain> proto=SMTP
 
30
OK
 
31
>>> mail discard@hold.domain
 
32
./smtpd_check: <queue id>: discard: MAIL from localhost[127.0.0.1]: <discard@hold.domain>: Sender address triggers DISCARD action; from=<discard@hold.domain> proto=SMTP
 
33
OK
 
34
>>> mail discardtext@hold.domain
 
35
./smtpd_check: <queue id>: discard: MAIL from localhost[127.0.0.1]: <discardtext@hold.domain>: Sender address text; from=<discardtext@hold.domain> proto=SMTP
 
36
OK
 
37
>>> mail dunnotext@dunno.domain
 
38
OK