86 |
if (from != NULL) |
if (from != NULL) |
87 |
{ |
{ |
88 |
mu_error ("multiple --from options"); |
mu_error ("multiple --from options"); |
89 |
return 1; |
return EX_USAGE; |
90 |
} |
} |
91 |
from = optarg; |
from = optarg; |
92 |
break; |
break; |
143 |
break; |
break; |
144 |
|
|
145 |
default: |
default: |
146 |
return 1; |
return EX_USAGE; |
147 |
} |
} |
148 |
|
|
149 |
argc -= optind; |
argc -= optind; |
156 |
if (!maildir) |
if (!maildir) |
157 |
{ |
{ |
158 |
mu_error ("Badly formed maildir: %s", maildir); |
mu_error ("Badly formed maildir: %s", maildir); |
159 |
return 1; |
return EX_CONFIG; |
160 |
} |
} |
161 |
|
|
162 |
#ifdef HAVE_MYSQL |
#ifdef HAVE_MYSQL |
462 |
{ |
{ |
463 |
mailer_err ("cannot lock mailbox '%s': %s", path, strerror (status)); |
mailer_err ("cannot lock mailbox '%s': %s", path, strerror (status)); |
464 |
mailbox_destroy (&mbox); |
mailbox_destroy (&mbox); |
465 |
|
exit_code = EX_TEMPFAIL; |
466 |
return; |
return; |
467 |
} |
} |
468 |
|
|