1Mail::Transport::Qmail(U3s)er Contributed Perl DocumentatMiaoinl::Transport::Qmail(3)
2
3
4
6 Mail::Transport::Qmail - transmit messages using external Qmail program
7
9 Mail::Transport::Qmail
10 is a Mail::Transport::Send
11 is a Mail::Transport
12 is a Mail::Reporter
13
15 my $sender = Mail::Transport::Qmail->new(...);
16 $sender->send($message);
17
19 Implements mail transport using the external programs 'qmail-inject',
20 part of the qmail mail-delivery system.
21
22 Extends "DESCRIPTION" in Mail::Transport::Send.
23
25 Extends "METHODS" in Mail::Transport::Send.
26
27 Constructors
28 Extends "Constructors" in Mail::Transport::Send.
29
30 Mail::Transport::Qmail->new(%options)
31 -Option --Defined in --Default
32 executable Mail::Transport undef
33 hostname Mail::Transport 'localhost'
34 interval Mail::Transport 30
35 log Mail::Reporter 'WARNINGS'
36 password Mail::Transport undef
37 port Mail::Transport undef
38 proxy Mail::Transport 'qmail-inject'
39 retry Mail::Transport <false>
40 timeout Mail::Transport 120
41 trace Mail::Reporter 'WARNINGS'
42 username Mail::Transport undef
43 via Mail::Transport 'qmail'
44
45 executable => FILENAME
46 hostname => HOSTNAME|ARRAY
47 interval => SECONDS
48 log => LEVEL
49 password => STRING
50 port => INTEGER
51 proxy => PATH
52 retry => NUMBER|undef
53 timeout => SECONDS
54 trace => LEVEL
55 username => STRING
56 via => CLASS|NAME
57
58 Sending mail
59 Extends "Sending mail" in Mail::Transport::Send.
60
61 $obj->destinations( $message, [$address|ARRAY] )
62 Inherited, see "Sending mail" in Mail::Transport::Send
63
64 $obj->putContent($message, $fh, %options)
65 Inherited, see "Sending mail" in Mail::Transport::Send
66
67 $obj->send($message, %options)
68 Inherited, see "Sending mail" in Mail::Transport::Send
69
70 $obj->trySend($message, %options)
71
72 Server connection
73 Extends "Server connection" in Mail::Transport::Send.
74
75 $obj->findBinary( $name, [@directories] )
76 Inherited, see "Server connection" in Mail::Transport
77
78 $obj->remoteHost()
79 Inherited, see "Server connection" in Mail::Transport
80
81 $obj->retry()
82 Inherited, see "Server connection" in Mail::Transport
83
84 Error handling
85 Extends "Error handling" in Mail::Transport::Send.
86
87 $obj->AUTOLOAD()
88 Inherited, see "Error handling" in Mail::Reporter
89
90 $obj->addReport($object)
91 Inherited, see "Error handling" in Mail::Reporter
92
93 $obj->defaultTrace( [$level]|[$loglevel, $tracelevel]|[$level,
94 $callback] )
95 Mail::Transport::Qmail->defaultTrace( [$level]|[$loglevel,
96 $tracelevel]|[$level, $callback] )
97 Inherited, see "Error handling" in Mail::Reporter
98
99 $obj->errors()
100 Inherited, see "Error handling" in Mail::Reporter
101
102 $obj->log( [$level, [$strings]] )
103 Mail::Transport::Qmail->log( [$level, [$strings]] )
104 Inherited, see "Error handling" in Mail::Reporter
105
106 $obj->logPriority($level)
107 Mail::Transport::Qmail->logPriority($level)
108 Inherited, see "Error handling" in Mail::Reporter
109
110 $obj->logSettings()
111 Inherited, see "Error handling" in Mail::Reporter
112
113 $obj->notImplemented()
114 Inherited, see "Error handling" in Mail::Reporter
115
116 $obj->report( [$level] )
117 Inherited, see "Error handling" in Mail::Reporter
118
119 $obj->reportAll( [$level] )
120 Inherited, see "Error handling" in Mail::Reporter
121
122 $obj->trace( [$level] )
123 Inherited, see "Error handling" in Mail::Reporter
124
125 $obj->warnings()
126 Inherited, see "Error handling" in Mail::Reporter
127
128 Cleanup
129 Extends "Cleanup" in Mail::Transport::Send.
130
131 $obj->DESTROY()
132 Inherited, see "Cleanup" in Mail::Reporter
133
135 Error: Errors when closing Qmail mailer $program: $!
136 The Qmail mail transfer agent did start, but was not able to handle
137 the message for some specific reason.
138
139 Warning: Message has no destination
140 It was not possible to figure-out where the message is intended to
141 go to.
142
143 Error: Package $package does not implement $method.
144 Fatal error: the specific package (or one of its superclasses) does
145 not implement this method where it should. This message means that
146 some other related classes do implement this method however the
147 class at hand does not. Probably you should investigate this and
148 probably inform the author of the package.
149
150 Warning: Resent group does not specify a destination
151 The message which is sent is the result of a bounce (for instance
152 created with Mail::Message::bounce()), and therefore starts with a
153 "Received" header field. With the "bounce", the new destination(s)
154 of the message are given, which should be included as "Resent-To",
155 "Resent-Cc", and "Resent-Bcc".
156
157 The "To", "Cc", and "Bcc" header information is only used if no
158 "Received" was found. That seems to be the best explanation of the
159 RFC.
160
161 As alternative, you may also specify the "to" option to some of the
162 senders (for instance Mail::Transport::SMTP::send(to) to overrule
163 any information found in the message itself about the destination.
164
166 This module is part of Mail-Transport distribution version 3.005, built
167 on July 22, 2020. Website: http://perl.overmeer.net/CPAN/
168
170 Copyrights 2001-2020 by [Mark Overmeer]. For other contributors see
171 ChangeLog.
172
173 This program is free software; you can redistribute it and/or modify it
174 under the same terms as Perl itself. See http://dev.perl.org/licenses/
175
176
177
178perl v5.32.1 2021-01-27 Mail::Transport::Qmail(3)