meillo@1: 0.1.17: Wed, 06 Nov 2002 12:19:55 +0100 meillo@1: * fixed buffer overflows in conf.c. Thanks to Damian M Gryski. meillo@1: * read conf file _after_ dropping privileges meillo@1: 0.1.16: meillo@1: * PowerPC fix for varargs functions meillo@1: * g_free fix in src/conf.c meillo@1: 0.1.15: meillo@1: * security fix, Debian Bug#102092: 'Privilege escalation in masqmail meillo@1: piped alias handling': fixed by using set[ug]id instead of sete[ug]id meillo@1: in peopen.c (noted by Colin Phipps) meillo@1: * synced fix by Edouard G. Parmelan for listen.c: do not terminate on meillo@1: 'reset by peer'. meillo@1: 0.1.14: meillo@1: * fix of Debian Bug#92894 by Gregor Hoffleit meillo@1: (correct error reply for lacking permissions) meillo@1: * fixed 'last line missing' bug meillo@1: * fixed spool locking bug: lock was deleted meillo@1: if unsuccessful (unlocking it) meillo@1: 0.1.13: meillo@1: * qualify address for get configuration. meillo@1: * better checking for valid From: address when retrieving mail via pop3 meillo@1: and this is used as the return path. meillo@1: 0.1.12: meillo@1: * previous fix auf AUTH broke it - reverted it partially and fixed it again meillo@1: * bug fix in get.c: retrieval via pop from different server could cause mail to be lost meillo@1: 0.1.11: meillo@1: * bug fix in smtp_out.c: of AUTH methods supplied by server, only the first was recognized meillo@1: 0.1.10: meillo@1: * added support for IP address as mail_host in routes meillo@1: * include in masqmail.h to make it compile with glibc 2.2.2 meillo@1: 0.1.9: meillo@1: * fixed a few typos in man pages meillo@1: * ignore -v option meillo@1: * added patch from Bernhard Ehlers to program aliases runq, rmail, smtpd an in.smtpd meillo@1: * added patch from Edouard G. Parmelan to correct default directories to install meillo@1: * implemtented pipe, pipe_fromhack and pipe_fromline options meillo@1: for routes (for protocol 'pipe') meillo@1: * implememted 'pipe' protocol for routes meillo@1: * memset to 0 of configuration structures (it is safer and easier) meillo@1: * list of routes for each connection meillo@1: * do not be picky about EOF if locally received message is not terminated by a dot meillo@1: * speeded up accept.c for large messages (noted by Falko Flessner) meillo@1: 0.1.8: meillo@1: * security bug fix (Debian Bug#81079): if local address cannot be meillo@1: resolved, masqmail listened on an arbitrary port (fixed by Adel meillo@1: Belhouane) meillo@1: * bug fix: -d without argument caused segfault (Thanks to Jan Setzer) meillo@1: * added more help for configure meillo@1: * Iain Lea sent a spec file for Redhat. Thanks! meillo@1: * lines can now be indefinetely long for mail acception (well, nearly...) meillo@1: * implemented 'wrapper' options for routes and get configurations for ssl and maybe other purposes meillo@1: * unified read_sockline() for smtp_out.c, smtp_in.c, pop3_in.c, accept.c and mserver.c meillo@1: * escaping of quotes in configuration now possible and now works meillo@1: correctly in alias file (Edouard G. Parmelan sent a patch, but I fixed it differently) meillo@1: * kill -HUP seems to work now. meillo@1: * close all file descriptors >= 3 on start (patch by Edouard G. Parmelan) meillo@1: * replaced exit() with _exit where appropriate (children) meillo@1: * added pipe_fromhack and pipe_fromline options meillo@1: * added mda support and mda_fromhack and mda_fromline options meillo@1: * user can delete his own mail if received via smtp from one of ident_trusted_nets meillo@1: * bug fix in lookup.c: if the name that an MX points could not be resolved, delete entry meillo@1: * added expand_h_sender_address option. expend_h_sender_domain should be obsolete now. meillo@1: * unprivileged user can delete his own mail from queue if received locally meillo@1: * replaced popen() in local.c with peopen() from snippet from sourceforge. Fixed a bug there. meillo@1: 0.1.7: meillo@1: * debug option can be changed for privileged users only meillo@1: * fixed a security hole: -C option for unprivileged users now implies meillo@1: run_as_user and drops _all_ privileges meillo@1: * environment variables for pipe transport meillo@1: * wildcards for map_* options meillo@1: * rearranged interface handling, IP addresses now possible for meillo@1: listen_addresses and mserver_iface meillo@1: * beautified masqmail.c meillo@1: * revised uid and gid settings in spool.c and local.c (pipe transport) meillo@1: * optionally use ident protocol (RFC 1413) and store user id in spool file meillo@1: * proper spool file locking meillo@1: 0.1.6: meillo@1: * record user id in spool file (though it is not used anywhere) meillo@1: * command line option to remove messages from queue (-Mrm) meillo@1: * command line option for version information (-bV) meillo@1: 0.1.5: meillo@1: * implemented -F option meillo@1: * removed bug in accept.c (dot bug, noted by Andre Masloch) meillo@1: * location of main conf is now configurable with ./configure meillo@1: (suggested by Greger Hoffleit). Default is /etc/masqmail.conf. meillo@1: * remote_port defaults to 25 (noted by Andre Masloch) meillo@1: * docu fixes: remote_port documented and typo fix (noted by Andre Masloch. Again :-)) meillo@1: * do not return failure on exit on delivery if mail queue was empty (noted by Andre Masloch) meillo@1: * qualify -f address with host_name if unqualified (noted by Andre Masloch) meillo@1: 0.1.4: meillo@1: * Jens Askengren discovered a segfaulting bug when parsing headers. meillo@1: 0.1.3: meillo@1: * warn if pop/auth options are given, but compiled without support meillo@1: * fixed allowed_rcpt_domains option (was broken since 0.1.0, but nobody noticed) meillo@1: * exit with 1 if queue run fails for any reason (not for daemon) meillo@1: * fail if alias file cannot be read meillo@1: * better handling of SMTP SIZE error meillo@1: * implemented alias_local_caseless option (suggestion by Andre Masloch) meillo@1: * case insensitive domain matching (noted by Andre Masloch) meillo@1: * removed nearly all warnings if compiled with -Wall meillo@1: 0.1.2: meillo@1: * some changes in configure.in meillo@1: * continue if get conf could not be read. Thanks to Edouard G. Parmelan! meillo@1: * fixed another bug on pipe addresses in spool.c meillo@1: * Andre Masloch found a bug in spool.c which caused a segfault on pipe addresses. Thanks! meillo@1: 0.1.1: meillo@1: * Edouard G. Parmelan sent a patch for starting a queue run on start of daemon. Thanks! meillo@1: * rpm packages for SuSE meillo@1: * regard CFLAGS in Makefile.am meillo@1: * implemtented -g option meillo@1: * be more verbose in pop3_get.c meillo@1: * implemented -f option (set return path) meillo@1: * fixed bug: "no debug file, msg was:" in smtp_out.c when debugging was off meillo@1: * internal changes of smtp_out_log_failure() meillo@1: * removed 'no log file' error meillo@1: * complain if host name could not be resolved in connect.c meillo@1: * added option resolve_list for route and get configurations meillo@1: * removed bug in rcptlist_with_one_of_hostlist(): exited when meillo@1: list was empty meillo@1: 0.1.0: meillo@1: * included ESMTP AUTH support (as client), CRAM-MD5 only meillo@1: * included pop3 client support, with UIDL and APOP, single drop only meillo@1: * rearranged routing code: meillo@1: - messages will be deleted from spool earlier, as soon as they are delivered meillo@1: - unified online/offline delivery, making it more simple meillo@1: meillo@1: 0.0.13: meillo@1: * ignore set_h_{from,reply_to}_domain if map_h_{from,reply_to}_addresses meillo@1: is set and warn in logs about misconfiguration. meillo@1: * fail if there are no recipients meillo@1: * fixed bug: if called with -t, qualify recipient address with host_name meillo@1: * fixed bug: if called with -bi, no longer wait for message on stdin meillo@1: 0.0.12: meillo@1: * warn if spool file could not be deleted (Thanks to Alberto González meillo@1: Palomo) meillo@1: * fixed bug: set len for getsockname meillo@1: * fixed bug: set local_net_routes to NULL if there is no local net meillo@1: (noted by Frank Schnekenbuehl) meillo@1: * say 'mail queue is empty' if mail queue is empty (Thanks to meillo@1: Frank Schnekenbuehl) meillo@1: * fixed bug: setegid in local.c (was noted by both Michael Piefel and meillo@1: Alberto González Palomo) meillo@1: 0.0.11: meillo@1: * if Bcc: headers have been removed (-t option), and there is no To: meillo@1: or Cc: header,an empty Bcc: header will be created (RFC 822 meillo@1: compliance!) meillo@1: * fixed bug: if rcpts are given on command line To: headers were meillo@1: created, even if they already existed. This caused Bcc: recipient meillo@1: addresses to be revealed if they were given on the cmd line. meillo@1: Now a To: header is only created if there is no To:, Cc: or Bcc: meillo@1: header. Thanks to Richard Clamp for pointing this out. meillo@1: * fixed bug: segfault when -d option was given without arguments meillo@1: * fixed bug: segfault when configuration file not found meillo@1: 0.0.10: meillo@1: * removed -g option from Makefile meillo@1: * fixed bug: -odq did not work, was broken in some earlier version meillo@1: * addresses with leading '\' will not be expanded any further in aliases meillo@1: * pipe transport implemented meillo@1: * alias support implemented. meillo@1: * changed permissions for queue runs again: got to be root, meillo@1: mail or in group trusted. meillo@1: * some configuration parameters can be read from files meillo@1: * internal changes in routing logics/deliver code, preparing for meillo@1: aliases support. meillo@1: * Gregor Hoffleit sent another patch: use liblockfile if available meillo@1: (Debian!) and DESTDIR will be used. Also updated the NEWS file. Thanks meillo@1: again! meillo@1: * define fdatasync to fsync if not available. meillo@1: * lookup.c includes sys/types.h, some environments need this meillo@1: * fixed bug in RFC 822 parsing: name in brackets after address meillo@1: caused problems. Thanks to David Maslen. meillo@1: * values in tables without leading spaces meillo@1: 0.0.9: meillo@1: * anyone in group 'trusted' is now allowed to do queue runs. Thanks to meillo@1: Alberto Gonzalez Palomo for the suggestion. meillo@1: * changed umask for spool writing to 026. meillo@1: * removed silly 'no rcpt domain for this route' message meillo@1: * there is now a mailing list meillo@1: (see http://www.innominate.org/mailman/listinfo/masqmail) meillo@1: * Gregor Hoffleit sent a patch to make masqmail work with mutt (and meillo@1: balsa and any other MUA that uses the mutt libs): it now supports meillo@1: '--' in options. Thanks! meillo@1: * accept_message() supports flag ACC_NO_RECVD_HDR (but this is not meillo@1: used in masqmail). meillo@1: * accept_message() is no longer responsible for queuing, makes it meillo@1: easier to recycle the code for other projects (eg. jpilot-Mail) meillo@1: 0.0.8: meillo@1: * added a FAQ page. meillo@1: * removed all warnings, at least for egcs. Output of make looks meillo@1: pretty now ;-) meillo@1: * added allowed_mail_locals and not_allowed_mail_locals options for meillo@1: routes. meillo@1: * implemented folding und unfolding of headers (but currently used meillo@1: for the Received: header only). meillo@1: * corrected docs: should be 'online_detect', NOT 'detect_online'. meillo@1: * mailq now gives information about the time mails spent in the queue, meillo@1: the message size and the received host. meillo@1: * added allowed_rcpt_domains option for routes. meillo@1: * increased buffer size to 1024 for SMTP responses when delivering. meillo@1: * fixed minor bug: slash in unquoted strings in conf parsing was not meillo@1: allowed. meillo@1: 0.0.7: meillo@1: * fixed a bug in smtp_out.c: sock was tested before it was initialized. meillo@1: * fixed a bug in the configuration code: for statements in two meillo@1: adjacent lines, the second was not recognized. meillo@1: 0.0.6: meillo@1: * rewrote part of the configuration parsing code because it caused meillo@1: problems with reading config statements on multiple lines. meillo@1: * added a LF after each mail local mail spool file, as this meillo@1: seems to be required for some MUAs and especially cucipop when meillo@1: it reads mails. Otherwise mails seem to be concatenated. Thanks meillo@1: to Dale Perkel for pointing this out. meillo@1: 0.0.5: meillo@1: * added expand_h_sender_domain option (boolean, default: true) meillo@1: because some clients use the Sender: address as the sender address meillo@1: (though it should be the From: address). meillo@1: * changed configure script to better recognize whether libresolv meillo@1: should be linked or not. meillo@1: * fixed a nasty bug: if masqmail -q was called (or qo meillo@1: and a mail was not delivered), the headers were lost! Problem was an meillo@1: additional LF after received_host in the spool file. meillo@1: 0.0.4: meillo@1: * 'From' hack is now a 'From ' hack. meillo@1: * configure now accepts options --with-logdir=LOGDIR and meillo@1: --with-spooldir=SPOOLDIR. meillo@1: * the directories /var/masqmail and /var/spool/masqmail will now be meillo@1: created with make install; user and group will be set appropriately meillo@1: * configure now accepts options --with-user=USER and --with-group=GROUP meillo@1: * dove into autoconf: configure now recognizes libc5 and links with meillo@1: libresolv only for libc6 and defines getline for libc5 meillo@1: * fixed timeout code when sending. This was broken in some earlier meillo@1: version. meillo@1: 0.0.3: meillo@1: * fixed bug in spool write code: rcpt address was written incorrectly meillo@1: to spool file under some circumstances (with a LF). meillo@1: * added methods for online detection (file and mserver) and added code meillo@1: to deliver immediately when mail is received at online time. meillo@1: * too many changes to list: rearranged routing code, unified smtp meillo@1: deliveries to the local net with online deliveries, so now route meillo@1: configurations can be used for the local net. Also multiple messages meillo@1: per connection for the local net possible. And reduced code size. meillo@1: * fixed bug: if server does not use neither the esmtp size extension meillo@1: nor pipelining, output after MAIL FROM was not flushed. So MM waited meillo@1: forever for a response... meillo@1: 0.0.2: meillo@1: * fixed bug: euid was not set properly for local delivery meillo@1: * when debugging, it does not write the whole message to the log meillo@1: any more. meillo@1: * added 'From' hack meillo@1: * qualified address for return path and recipients is now required meillo@1: if not accepted locally, if locally accepted the addresses will be meillo@1: qualified with host_name. (Thereby fixed a seg fault bug) meillo@1: * added -i option (same as -oi) meillo@1: * added more header rewriting (set_ and map_ options) meillo@1: * fixed bug: potential seg fault when writing spool files because it meillo@1: was not read properly meillo@1: * multiple messages per connection now also if mail is sent directly meillo@1: (same for local_nets is still missing, but I will use routes for these meillo@1: anyway in the future) meillo@1: * the queue will now be read in random order meillo@1: * implemented multiple messages per connection (but only online meillo@1: and if mail_host is defined) meillo@1: * implemented rewriting of local parts in return path for online meillo@1: delivery meillo@1: * domain matching is no longer case sensitive (had to define meillo@1: _GNU_SOURCE so that I could use FNM_CASEFOLD for fnmatch) meillo@1: * added do_correct_helo option for routes meillo@1: * fixed bug: corrected retrying hosts if one failed (connect.c). meillo@1: 0.0.1: meillo@1: * fixed bug: seg fault when delivering online directly and there was meillo@1: more than one rcpt to a single host. meillo@1: * fixed bug: if mail was succesfully delivered in online mode to all meillo@1: rcpts, and if there were additional (local) rcpts for which the mail meillo@1: was not yet delivered, the mail was deleted from spool. meillo@1: * rearranged smtp_out.c to prepare for multiple messages per connection meillo@1: * log now shows the real host a message is sent to by SMTP (previously meillo@1: it was the one looked for, now it is the one that was found by DNS) meillo@1: * added NOOP, HELP and not recognized replies in smtp_in meillo@1: * fixed bug: forgot to close dup_sock in accept_connect (listen.c) meillo@1: * can now list the queue with the -bp option or when called as mailq meillo@1: * debug_level is now configurable and -d option added meillo@1: * corrected rfc821 address parsing and rearranged code meillo@1: 0.0.0: meillo@1: * initial release