summaryrefslogtreecommitdiffabout
path: root/mail.remote
authorSergey Poznyakoff <gray@gnu.org.ua>2004-04-14 12:33:08 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2004-04-14 12:33:08 (GMT)
commit14dc1d20c1c0e5a870f2f431e29ac4daf620a0ac (patch) (side-by-side diff)
tree6f418b52a0c8af1fc39708f97ca5698839df36f5 /mail.remote
parentd5100899bf6208675f99fad0133437931442bcc9 (diff)
downloadmailutils-14dc1d20c1c0e5a870f2f431e29ac4daf620a0ac.tar.gz
mailutils-14dc1d20c1c0e5a870f2f431e29ac4daf620a0ac.tar.bz2
Use "auth" capability.
Diffstat (limited to 'mail.remote') (more/less context) (ignore whitespace changes)
-rw-r--r--mail.remote/mail.remote.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/mail.remote/mail.remote.c b/mail.remote/mail.remote.c
index 3d69f69..dda1e82 100644
--- a/mail.remote/mail.remote.c
+++ b/mail.remote/mail.remote.c
@@ -41,6 +41,7 @@
#include <mailutils/property.h>
#include <mailutils/error.h>
#include <mailutils/nls.h>
+#include <mailutils/mu_auth.h>
const char *program_version = "mail.remote (" PACKAGE_STRING ")";
static char doc[] =
@@ -74,6 +75,8 @@ static struct argp_option options[] = {
{"read-recipients", 't', NULL, 0, N_("Read message for recipients.") },
{"debug", 'd', NULL, 0, N_("Print envelope commands in the SMTP protocol transaction. If specified more than once, the data part of the protocol transaction will also be printed.")},
{ NULL, 'o', N_("OPT"), 0, N_("Ignored for sendmail compatibility")},
+ { NULL, 'b', N_("OPT"), 0, N_("Ignored for sendmail compatibility")},
+ { NULL, 'i', NULL, 0, N_("Ignored for sendmail compatibility")},
{ NULL }
};
@@ -95,6 +98,8 @@ parse_opt (int key, char *arg, struct argp_state *state)
break;
case 'o':
+ case 'b':
+ case 'i':
break;
case 't':
@@ -115,6 +120,7 @@ static struct argp argp = {
};
static const char *capa[] = {
+ "auth",
"common",
"mailer",
"address",
@@ -158,6 +164,7 @@ main (int argc, char **argv)
list_append (bookie, smtp_record);
}
+ MU_AUTH_REGISTER_ALL_MODULES();
mu_argp_init (program_version, NULL);
mu_argp_parse (&argp, &argc, &argv, 0, capa, &optind, NULL);

Return to:

Send suggestions and report system problems to the System administrator.