576b1d3c41
According to RFC 5321 the argument to HELO "contains the fully-qualified domain name of the SMTP client" or its IP address if no FQDN is available. BusyBox sendmail uses the NIS domain name instead which, in many cases, is likely to be the default "(none)". [vda: yes, I checked my machine and its uts.domainname was indeed "(none)"] Using the host name is more likely to satisfy the intent of the RFC while allowing the otherwise unused safe_getdomainname function to be removed. Signed-off-by: Ron Yorston <rmy@tigress.co.uk> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> |
||
---|---|---|
.. | ||
appletlib.c | ||
ask_confirmation.c | ||
bb_askpass.c | ||
bb_bswap_64.c | ||
bb_do_delay.c | ||
bb_pwd.c | ||
bb_qsort.c | ||
bb_strtod.c | ||
bb_strtonum.c | ||
change_identity.c | ||
chomp.c | ||
compare_string_array.c | ||
concat_path_file.c | ||
concat_subpath_file.c | ||
Config.src | ||
copy_file.c | ||
copyfd.c | ||
correct_password.c | ||
crc32.c | ||
create_icmp6_socket.c | ||
create_icmp_socket.c | ||
default_error_retval.c | ||
device_open.c | ||
die_if_bad_username.c | ||
dump.c | ||
execable.c | ||
fclose_nonstdin.c | ||
fflush_stdout_and_exit.c | ||
fgets_str.c | ||
find_mount_point.c | ||
find_pid_by_name.c | ||
find_root_device.c | ||
full_write.c | ||
get_console.c | ||
get_cpu_count.c | ||
get_last_path_component.c | ||
get_line_from_file.c | ||
get_shell_name.c | ||
get_volsize.c | ||
getopt32.c | ||
getpty.c | ||
hash_md5_sha.c | ||
hash_md5prime.c | ||
herror_msg.c | ||
human_readable.c | ||
inet_cksum.c | ||
inet_common.c | ||
info_msg.c | ||
inode_hash.c | ||
isdirectory.c | ||
Kbuild.src | ||
kernel_version.c | ||
last_char_is.c | ||
lineedit_ptr_hack.c | ||
lineedit.c | ||
llist.c | ||
login.c | ||
loop.c | ||
make_directory.c | ||
makedev.c | ||
match_fstype.c | ||
messages.c | ||
mode_string.c | ||
mtab.c | ||
obscure.c | ||
parse_config.c | ||
parse_mode.c | ||
percent_decode.c | ||
perror_msg.c | ||
perror_nomsg_and_die.c | ||
perror_nomsg.c | ||
pidfile.c | ||
platform.c | ||
print_flags.c | ||
printable_string.c | ||
printable.c | ||
process_escape_sequence.c | ||
procps.c | ||
progress.c | ||
ptr_to_globals.c | ||
pw_encrypt_des.c | ||
pw_encrypt_md5.c | ||
pw_encrypt_sha.c | ||
pw_encrypt.c | ||
read_key.c | ||
read_printf.c | ||
read.c | ||
README | ||
recursive_action.c | ||
remove_file.c | ||
rtc.c | ||
run_shell.c | ||
safe_gethostname.c | ||
safe_poll.c | ||
safe_strncpy.c | ||
safe_write.c | ||
selinux_common.c | ||
setup_environment.c | ||
signals.c | ||
simplify_path.c | ||
single_argv.c | ||
skip_whitespace.c | ||
speed_table.c | ||
str_tolower.c | ||
strrstr.c | ||
systemd_support.c | ||
time.c | ||
trim.c | ||
u_signal_names.c | ||
udp_io.c | ||
unicode.c | ||
update_passwd.c | ||
utmp.c | ||
uuencode.c | ||
vdprintf.c | ||
verror_msg.c | ||
vfork_daemon_rexec.c | ||
warn_ignoring_args.c | ||
wfopen_input.c | ||
wfopen.c | ||
write.c | ||
xatonum_template.c | ||
xatonum.c | ||
xconnect.c | ||
xfunc_die.c | ||
xfuncs_printf.c | ||
xfuncs.c | ||
xgetcwd.c | ||
xgethostbyname.c | ||
xreadlink.c | ||
xrealloc_vector.c | ||
xregcomp.c |
Please see the LICENSE file for copyright information (GPLv2) libbb is BusyBox's utility library. All of this stuff used to be stuffed into a single file named utility.c. When I split utility.c to create libbb, some of the very oldest stuff ended up without their original copyright and licensing information (which is now lost in the mists of time). If you see something that you wrote that is mis-attributed, do let me know so we can fix that up. Erik Andersen <andersen@codepoet.org>