search for: ex_usage

Displaying 20 results from an estimated 20 matches for "ex_usage".

2006 Oct 28
2
BUG in RC10 deliver using mbox format
...this patch to deliver.c (notice I fixed a typo here, too): *** deliver.c.orig Fri Oct 13 07:32:28 2006 --- deliver.c Fri Oct 27 21:26:08 2006 *************** *** 446,454 **** i++; if (i == argc) { i_fatal_status(EX_USAGE, ! "Missing envleope argument"); } ! envelope_sender = argv[i]; } else { print_help(); i_fatal_status(EX_USAGE, --- 446,455 ----...
2019 Feb 21
2
Weird things in the mail queue
I noticed a mail stuck in my mail queue. dovecot-lda was returning error 64 Invalid parameter given. (EX_USAGE). Weird, weird, weird. After some sleuthing, I found the sender address was FirstLast at domain.tld, with a UTF8-encoded Unicode U+FEFF ZERO WIDTH NO-BREAK SPACE character (AKA byte order mark) between "First" and "Last" :) Since that is passed as the -f parameter to dovecot-l...
2010 Jul 06
3
OT: Sieve + Forward as Attachment
I know that this is technically not a Dovecot problem; however, I was wondering if anyone knew if 'sieve' had been updated with the ability to 'forward as attachment' a received document. I believe it has the ability to forward a document; however, I need the ability to forward it as an attachment if possible. Also I believe, somewhat due to my asking for them, that sieve exits
2010 Jun 07
0
[PATCH] extlinux: Add the --menu-save option to set the MENU SAVE value from the running system using extlinux
...ve) { + if (syslinux_setadv(ADV_MENUSAVE, strlen(opt.menu_save), opt.menu_save)) { + fprintf(stderr, "%s: not enough space for menu-save label\n", + program); + rv = -1; + } + } return rv; } @@ -877,7 +884,7 @@ int main(int argc, char *argv[]) usage(EX_USAGE, 0); if (opt.update_only == -1) { - if (opt.reset_adv || opt.set_once) + if (opt.reset_adv || opt.set_once || opt.menu_save) return modify_existing_adv(opt.directory); else usage(EX_USAGE, 0); diff --git a/libinstaller/syslxopt.c b/libinstaller/syslxopt.c index 7718de3..728b19e...
2008 Feb 27
2
deliver & procmail
hi together, procmail provides an error by delivery. procmail: Executing "/usr/local/libexec/dovecot/deliver,Maildir" procmail: Error while writing to "/usr/local/libexec/dovecot/deliver" procmail: Program failure (64) of "/usr/local/libexec/dovecot/deliver" procmail: Assigning "LASTFOLDER=/usr/local/libexec/dovecot/deliver Maildir" From
2014 Dec 24
0
[PATCH 1/8] extlinux/main.c: support unmounted ext2/3/4 filesystem
...} + fs_type = EXT2; } sync(); @@ -1533,16 +1560,25 @@ int modify_existing_adv(const char *path) int main(int argc, char *argv[]) { parse_options(argc, argv, MODE_EXTLINUX); + struct stat st; if (!opt.directory || opt.install_mbr || opt.activate_partition) usage(EX_USAGE, 0); + if (stat(opt.directory, &st)) { + fprintf(stderr, "%s: %s: %s\n", program, opt.directory, strerror(errno)); + return 1; + } + if (opt.update_only == -1) { - if (opt.reset_adv || opt.set_once || opt.menu_save) - return modify_existing_adv(opt.direc...
2019 Mar 24
1
Weird things in the mail queue
Hi Aki, Am 21.02.19 um 12:55 schrieb Aki Tuomi: > > On 21.2.2019 13.47, Lionel Elie Mamane via dovecot wrote: >> I noticed a mail stuck in my mail queue. dovecot-lda was returning >> error 64 Invalid parameter given. (EX_USAGE). >> >> Weird, weird, weird. After some sleuthing, I found the sender address >> was FirstLast at domain.tld, with a UTF8-encoded Unicode U+FEFF ZERO >> WIDTH NO-BREAK SPACE character (AKA byte order mark) between "First" >> and "Last" :) >> &...
2019 Feb 21
0
Weird things in the mail queue
On 21.2.2019 13.47, Lionel Elie Mamane via dovecot wrote: > I noticed a mail stuck in my mail queue. dovecot-lda was returning > error 64 Invalid parameter given. (EX_USAGE). > > Weird, weird, weird. After some sleuthing, I found the sender address > was FirstLast at domain.tld, with a UTF8-encoded Unicode U+FEFF ZERO > WIDTH NO-BREAK SPACE character (AKA byte order mark) between "First" > and "Last" :) > > Since that is passed...
2005 Oct 02
1
deliver: select destination folder
...lder; 355a356 > folder = NULL; 364a366,373 > } else if (strcmp(argv[i], "-f") == 0) { > /* destination folder */ > i++; > if (i == argc) { > i_fatal_status(EX_USAGE, > "Missing folder argument"); > } > folder = argv[i]; 378a388,391 > if (folder == NULL) { > folder = "INBOX"; > } > 449c462 < if (sav...
2013 Nov 07
1
mount.cifs return code = -128
Could someone tell me what this return code means? This is mount.cifs version 4.8.1 on a centos 6.4 workstation joined to an AD domain, using automount with auto.cifs containing * -fstype=cifs,sec=krb5,user=&,uid=$UID,gid=$GID,cruid=$UID,noserverino ://server.address.edu/& When the machine is freshly booted, and for awhile afterwards, domain accounts can mount with no problem. But
2006 Dec 11
0
Add option to TFTP client to ignore ':' in file name
...--- 225,233 ---- /* Print version and configuration to stdout and exit */ printf("%s\n", TFTP_CONFIG_STR); exit(0); + case 'l': + literal = 1; + break; case 'm': if ( ++arg >= argc ) usage(EX_USAGE); *************** *** 489,495 **** return; } targ = argv[argc - 1]; ! if (strchr(argv[argc - 1], ':')) { struct hostent *hp; for (n = 1; n < argc - 1; n++) --- 497,503 ---- return; } ta...
2018 Mar 07
2
Mail addresses with quotes + Postfix
Op 7-3-2018 om 15:40 schreef Stephan Bosch: > > > Op 7-3-2018 om 13:46 schreef Philipp Berger: >> I wrapped the LDA command in a script. I can see that Postfix passes >> "@@mydomain.tld" as the -d argument, without quotes. >> I then adapted the script to specifically replace this address with >> "@"@mydomain.tld, but this results in the
2004 Jan 13
1
tftpd-hpa suggestions
Hello, Peter and others! there are some issues regarding the tftp-hpa server: 1. Running as Windows service seems to require that the application does not detach (otherwise "net start" says smth. like "could not start, the service didn't report any errors"). The attached patch adds the option "-n", which can be used to have tftpd run in foreground.
2018 Mar 07
0
Mail addresses with quotes + Postfix
...n help of dovecot-lda do not mention -r exists :) case 'r': /* final recipient address */ if (smtp_address_parse_path(ctx.pool, optarg, SMTP_ADDRESS_PARSE_FLAG_ALLOW_LOCALPART | SMTP_ADDRESS_PARSE_FLAG_BRACKETS_OPTIONAL, &final_rcpt_to, &errstr) < 0) { i_fatal_status(EX_USAGE, "Invalid -a parameter: %s", errstr); Btw: Should the error message not read "Invalid -r parameter: %s" instead? I think the problem is the different handling in Postfix and Dovecot: Postfix seems to automatically strip the quotes out of the username, at least for SQL looku...
1996 Nov 17
5
Sendmail 8.8.2 exploit.
Hm, look what I got hold of today.. Works if sendmail is mode 4111 or similar: #! /bin/sh # # # Hi ! # This is exploit for sendmail smtpd bug # (ver. 8.7-8.8.2 for FreeBSD, Linux and may be other platforms). # This shell script does a root shell in /tmp directory. # If you have any problems with it, drop me a letter. #
2006 Dec 11
2
Add option to TFTP client to ignore ':' in file name (re-submit)
...--- 228,236 ---- /* Print version and configuration to stdout and exit */ printf("%s\n", TFTP_CONFIG_STR); exit(0); + case 'l': + literal = 1; + break; case 'm': if ( ++arg >= argc ) usage(EX_USAGE); *************** *** 502,508 **** return; } targ = argv[argc - 1]; ! if (strchr(argv[argc - 1], ':')) { struct hostent *hp; for (n = 1; n < argc - 1; n++) --- 510,516 ---- return; } ta...
2011 Sep 23
0
ANNOUNCE: cifs-utils release 5.1 available for download
...ready pretty small and wouldn't save us very much. Signed-off-by: Jeff Layton <jlayton at samba.org> commit 1e7a32924b22d1f786b6f490ce8590656f578f91 Author: Jeff Layton <jlayton at samba.org> Date: Fri Jul 29 07:12:48 2011 -0400 mount.cifs: check_newline returns EX_USAGE on error, not -1 Reported-by: Jan Lieskovsky <jlieskov at redhat.com> Signed-off-by: Jeff Layton <jlayton at samba.org> commit e0bb4418f79cb8670d06170fcd33c286839d258e Author: Jeff Layton <jlayton at samba.org> Date: Tue Aug 23 09:02:11 2011 -0400 autoconf: fi...
2009 May 24
2
Some questions about deliver
While investigating Dovecot's deliver with Postfix, I encountered some behaviors making me wonder whether I really understand the purpose of that binary. So, if you allow... This is from Postfix' main.cf: mailbox_command = /usr/local/dovecot/libexec/dovecot/deliver -e -n This is my quick setup for Dovecot: # 1.2.rc4: /usr/local/etc/dovecot.conf # OS: Darwin 9.7.0
2014 Dec 24
14
[PATCH 0/8] extlinux: support unmounted ext2/3/4 filesystem
Hello syslinux, Merry Christmas! These patches will make extlinux work with umounted ext2/3/4 filesystem, for example: $ extlinux -i /dev/sdXN or $ extlinux -i file_block Also it can work with something like: $ extlinux /dev/sdXN --reset-adv or $ extlinux file_block --reset-adv We don't use a new option (I planed to use "-d" but it is already in use), it will check whether the
1996 Sep 18
1
CERT Advisory CA-96.20 - Sendmail Vulnerabilities
-----BEGIN PGP SIGNED MESSAGE----- ============================================================================= CERT(sm) Advisory CA-96.20 Original issue date: September 18, 1996 Last revised: -- Topic: Sendmail Vulnerabilities - ----------------------------------------------------------------------------- *** This advisory supersedes CA-95:05 *** The CERT Coordination Center