}
/* get the list address */
- if(listctrl == '1' && (bounceaddr == NULL || mail.to == NULL)) {
- errx(EXIT_FAILURE, "With -l 1 you need -F and -T");
- }
+ if(listctrl == '1')
+ errx(EXIT_FAILURE, "-l 1 is not supported anymore");
+ if(listctrl == '5')
+ errx(EXIT_FAILURE, "-l 1 is not supported anymore");
if((listctrl == '2' && (ml.dir == NULL || bounceaddr == NULL))) {
errx(EXIT_FAILURE, "With -l 2 you need -L and -F");
ctrlarchive = statctrl(ml.ctrlfd, "noarchive");
switch(listctrl) {
- case '1': /* A single mail is to be sent, do nothing */
- break;
- case '5':
- err(EXIT_FAILURE, "5 is not supported anymore");
- break;
case '2': /* Moderators */
if((subfd = openat(ml.ctrlfd, "moderators", O_RDONLY)) < 0) {
log_error(LOG_ARGS, "Could not open '%s':",
}
switch(listctrl) {
- case '1': /* A single mail is to be sent */
+ case '1':
+ case '5': /* bounceprobe - handle relayhost local users bouncing*/
+ break;
case '6':
initsmtp(&sockfd, relayhost, smtpport, smtphelo);
mail.from = bounceaddr;
endsmtp(&sockfd);
}
break;
- case '5': /* bounceprobe - handle relayhost local users bouncing*/
- break;
case '7':
digest = 1;
mail.addtohdr = true;