| Age | Commit message (Collapse) | Author |
|
|
|
while (1) { ...
- $buf = $socket->getline;
+ defined ( $buf = $socket->getline ) || next SMTP_REPLY;
}
|
|
|
|
|
|
show more useful info in log message.
|
|
is not pure IPv4 syntax (Iv6 syntax or hostname).
IPv6 module, which should be fully rewritten in the future, exports
parse_mta6() and is_pure_ipv4_syntax(). rewritten to use them.
|
|
|
|
on the queue.
bug fix loop check counting.
bug fix queue_directry info handling.
prepare several acess methods: _is_map_in_queue(),
_set_queue_directory(), _get_queue_directory(), set_not_done(),
get_not_done().
|
|
|
|
|
|
tune retry max limit (XXX a lot of todo around this).
|
|
|
|
o subroutine-ify.
o more error check and assertion.
o fix comments. et.al.
|
|
more access method based.
|
|
|
|
|
|
|
|
o implement queue management utilities.
o move queue from active to deferred if delivery failed.
o rename *_strategy to *_policy
o overhaul/clean up internal style.
|
|
|
|
|
|
|
|
failed message is inserted into mail queue for later delivery retry.
Also, shorten retry count $max_loop_count since fallback is
implemented now.
define {set,get}_last_command(), {set,get}_send_command_status().
modified to use them.
rename: socket_is_connected -> is_socket_connected
|
|
log status of done or not (log only yet).
|
|
fix retry logic.
|
|
s/_rollback_map_position/rollback_map_position/g;
s/_reset_mapinfo/reset_mapinfo/g;
|
|
|
|
rename _get_*() -> get_*(), _set_*() -> set_*() since private methods
should not be shared over modules.
|
|
o fix comments.
o fix loop label name.
o more correct initialization if could.
o use //o;
|
|
|
|
|
|
|
|
function within Mail::Message name space. Thie enables all objects
within the current Mail::Message space uses the same log function.
We need this function to enforce all objects in a chain to use the
same log output channel.
So, Mail::Delivery enhanced to use this function to fix the lack of
log messages for multipart messages.
|
|
|
|
|
|
|
|
new IO::Adapter $map, $config;
|
|
|
|
|
|
remove get_member(), get_active() and get_recipient()
define get_next_key() and get_next_value() and clarify thier definitions.
|
|
public -> private:
o head_message
o last_message
o next_message
o prev_message
prefix change:
o rfc822_message_ -> whole_message_
o get_first_plaintext_message() -> find_first_plaintext_message()
o get_encoding_mechanism() -> encoding_mechanism()
o get_data_type() -> data_type()
o get_data_type_list() -> data_type_list()
renamed:
o get_offset() - >offset_pair()
o header_in_body_part() -> message_fields()
o data_in_body_part() -> message_text()
where we use RFC822 flabour naming convention.
rfc822 says "message = fields + text" and rfc2047 says "message" as
defined in RFC 822, with all header fields optional.
|
|
|
|
|
|
modified to use our own socket_is_connected() method or remove
connected() check.
|
|
check more defined($socket) or not, socket is connected
more debug log
|
|
|
|
|
|
|
|
|
|
deliver() accept Mail::Message object as a data.
s/recipient_array_reference/recipient_array/
|
|
|