- 29 Nov, 2007 1 commit
-
-
imap4d/auth_gss.c, imap4d/authenticate.c, imap4d/bye.c, imap4d/close.c, imap4d/imap4d.c, imap4d/login.c, imap4d/search.c, imap4d/signal.c, imap4d/starttls.c, imap4d/util.c, maidag/lmtp.c, maidag/maidag.c, maidag/script.c, mail.local/main.c, mail.local/script.c, pop3d/apop.c, pop3d/bulletin.c, pop3d/extra.c, pop3d/lock.c, pop3d/logindelay.c, pop3d/pop3d.c, pop3d/quit.c, pop3d/signal.c, pop3d/user.c, libsieve/util.c: Use mu_diag_output instead of syslog. * sieve/sieve.c: New option --no-program-name, for testsuite. * sieve/testsuite/lib/sieve.exp: Call sieve with the --no-program-name option. * mailbox/cfg_lexer.c, mailbox/cfg_parser.y: Improve debugging. * mailbox/diag.c: New file. * mailbox/gdebug.c (mu_debug_level_from_string): New function. * mailbox/muerror.c (mu_verror, mu_error): Rewrite using mu_diag functions. * mailbox/syslog.c (mu_diag_level_to_syslog): New function. (mu_diag_syslog_printer): New function. * mh/mh_argp.c (mh_argp_parse): Set prigram name using mu_set_program_name. * mh/mh_init.c (mu_error_printer): No longer needed. * movemail/movemail.c (movemail_error_printer): No longer needed. * include/mailutils/Makefile.am (pkginclude_HEADERS): Add diag.h * include/mailutils/diag.h: New file. * include/mailutils/cfg.h (mu_cfg_lexer_t): Take mu_debug_t as its second argument. * include/mailutils/error.h: Include diag.h (mu_program_name,mu_set_program_name): Remove. Already declared in diag.h. (mu_error_set_print): Deprecated. * mailbox/Makefile.am (libmailutils_la_SOURCES): Add diag.c
Sergey Poznyakoff authored
-
- 17 Nov, 2007 1 commit
-
-
* include/mailutils/sha1.h: Add. * mailbox/md5.h: Remove. * include/mailutils/md5.h: Add. * include/mailutils/Makefile.am: Update. * mailbox/Makefile.am: Update. * libproto/pop/mbox.c, libproto/pop/pop3_apop.c, libproto/pop/pop3_stls.c, mailbox/md5.c, mailbox/message.c, mailbox/sha1.c, pop3d/apop.c, pop3d/pop3d.h, sql/mysql.c: Fix usage of sha1_ and md5_. * mailbox/mu_auth.c, mailbox/mutil.c, mailbox/rfc2047.c: Eliminate strtok_r.
Sergey Poznyakoff authored
-
- 27 Jun, 2007 1 commit
-
-
- 27 Feb, 2007 1 commit
-
-
- 23 Feb, 2007 1 commit
-
-
- 20 Jan, 2006 1 commit
-
-
- 27 Aug, 2005 1 commit
-
-
- 26 Aug, 2005 1 commit
-
-
- 17 May, 2005 1 commit
-
-
- 06 Mar, 2005 1 commit
-
-
- 04 Jan, 2005 1 commit
-
-
begin messages with a capital letter, unless they are prefixed with `file:line:' or their exact look is important due to compatibility reasons. Do not end messages with a period. Avoid using contracted negations.
Sergey Poznyakoff authored
-
- 08 Jul, 2003 1 commit
-
-
- 09 Feb, 2003 1 commit
-
-
- 22 Jan, 2003 1 commit
-
-
- 23 Dec, 2002 1 commit
-
-
- 13 Aug, 2002 1 commit
-
-
- 26 Jul, 2002 1 commit
-
-
- 08 Mar, 2002 1 commit
-
-
- 27 Feb, 2002 1 commit
-
-
- 26 Feb, 2002 1 commit
-
-
- 21 Jan, 2002 1 commit
-
-
- 15 Jan, 2002 1 commit
-
-
- 12 Nov, 2001 1 commit
-
-
This should work, now: #MAIL='pop://alain;AUTH=+APOP@localhost' ./frm Pop passwd: secret <--- apop secret ... * mailbox/folder_pop.c (folder_pop_get_authority): Enable APOP code. * mailbx/mbx_pop.c: Add md5-rsa.h. (_pop_apop): New function to do APOP authentication. (_pop_user): Factor some code in pop_get_user() and pop_get_passwd() to share with _pop_apop(). (pop_get_user): New function, get the user login. (pop_get_passwd): New function, get the user passwd. (pop_get_md5): New function get timestamp. * mailbox/url_pop.c: Add 2001 in Copyright. * pop3d/apop.c: Remove trailing spaces. * frm/frm.c: New option -d, --debug. To put the mailbox_t in debug mode, very practicle to watch the traffic.
Alain Magloire authored
-
- 11 Nov, 2001 1 commit
-
-
- 25 Aug, 2001 1 commit
-
-
* acconfig.h: Added support for new MySql addition to mailutils * configure.in: * MySql/Makefile.am: * MySql/MySql.c: Mini lib to link to when mysql support * MySql/MySql.h: enabled (with --enable-mysql) * doc/Readme.mysql: Readme file for setup. * imap4d/login.c: * mailbox/mbx_default.c: The Patch pretty much works the same * mailbox/mutil.c: all around. if getpwnam() returns null * mailbox2/mutil.c: then your db is checked for the user, * pop3d/apop.c: and the struct is filled if found, * pop3d/user.c: returns null if not. If shadow support is used, then the same is done with getspnam(). * examples/mail.MysqlMailer.c: Simple sendmail backend support.
Alain Magloire authored
-
- 20 May, 2001 1 commit
-
-
- 04 May, 2001 1 commit
- 02 May, 2001 1 commit
-
-
- 24 Apr, 2001 1 commit
-
-
* pop3d/*.[ch]: Rename all the pop function pop3d_xx() instead of pop3_xx() to be consistent with imap4d/*. * mailbox/mbx_pop.c (pop_user): This is sudden death; for many pop servers, it is important to let them time to remove locks or move the .user.pop files. This happen when we do BUSY_CHECK(). For example, the user does not want to read the entire file, and wants start to read a new message, closing the connection and immediately contact the server again, and we'll end up having "-ERR Mail Lock busy" or something similar. To prevent this race condition we sleep 2 seconds. 2001-04-23 Sergey Poznyakoff It is often convenient to separte log outputs from POP and SMTP servers. --with-log-facility flag which allows to specify to which log facility the loggin output should be directed. System administrators often prefere to have more information about unsuccessfull authentications. I have added more verbose logging to pop3d/user.c. Both failed attempts and possible account probes (USER immediately followed by QUIT) are logged. Made pop3d to be less verbose about its WELCOME prompt. When the symbol TERSE_MODE is defined, pop3d introduces itself just as +OK POP3 ready <apop_hash> insead of divulging its type and version. This is a bit paranoid, but it is better to be on the safe side...
Alain Magloire authored
-
- 20 Jan, 2001 1 commit
-
-
pop: RETR and TOP if buffer is not a full line i.e terminated by a '\n' realloc the buffer and try again. pop: STAT remove excess comment. pop: user use the /dev/null scheme if mailbox does not exist. mailbox: buglet if the mailbox format we were reading less then expected.
Alain Magloire authored
-
- 16 Jan, 2001 1 commit
-
-
include multiple times. Compiler like Watcomm C, will scream loudly about definition of those variables multiple times. Gcc is very silent about this. So in pop3d.h we declare those variables extern and move the definition in pop3d.c. MAXHOSTNAMELEN is define in netinet/in.h on Solaris so we guard with #ifdef's. We were calling syslog("%s ", NULL); On solaris passing a NULL to a printf function will crash and burn, this was a FIXME I did not see it earlier the NULL was the place holder for the mailbox name.
Alain Magloire authored
-
- 14 Jan, 2001 1 commit
-
-
- 11 Jan, 2001 1 commit
- 06 Sep, 2000 1 commit
-
-
pop server base on the new API, but .. needs more testing. The new mailbox is not tested/mature enough for wide deployment. message_get_uidl: checks for X-UIDL to be compatible with qpopper and fall back to Message-ID, we need some sort of checksum or modify the header like the qpopper.
Alain Magloire authored
-
- 03 Sep, 2000 1 commit
-
-
- 23 Sep, 1999 1 commit
- 16 Sep, 1999 1 commit
-
-