Displaying 11 results from an estimated 11 matches for "str_sanitize".
2007 May 09
2
PATCH: Deliver looses mail and DSN if Return-Path is missing
...y finds a Return-Path, but
fails to invoke the MTA.
- --- src/deliver/mail-send.c (revision 47)
+++ src/deliver/mail-send.c (working copy)
@@ -42,7 +42,7 @@
i_info("msgid=%s: Return-Path missing, rejection reason: %s",
orig_msgid == NULL ? "" : str_sanitize(orig_msgid, 80),
str_sanitize(reason, 512));
- - return 0;
+ return EX_TEMPFAIL;
}
smtp_client = smtp_client_open(return_addr, NULL, &f);
Bye,
- --
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBRkG...
2015 Jan 10
0
Solaris 10 make check core dumps
...0000 +0100
+++ src/lib-http/test-http-auth.c 2015-01-10 15:22:59.083365723 +0000
@@ -120,7 +120,7 @@
strcmp(chalo->scheme, chalt->scheme) == 0);
if (chalo->data == NULL || chalt->data == NULL) {
test_out(t_strdup_printf("[%d]->data = %s",
- index, str_sanitize(chalo->data, 80)),
+ index, str_sanitize(chalo->data == NULL ? "NULL" : chalo->data, 80)),
chalo->data == chalt->data);
} else {
test_out(t_strdup_printf("[%d]->data = %s",
@@ -230,7 +230,7 @@
strcmp(out.scheme, test->scheme)...
2015 Jan 08
2
Solaris 10 make check core dumps
Hello everyone,
I'm doing a standard build on Solaris 10 with Dovecot 2.2.15 without
anything fancy:
./configure
make
make check
make install
Configure output looks like this:
***
Install prefix . : /usr/local
File offsets ... : 64bit
I/O polling .... : poll
I/O notifys .... : none
SSL ............ : yes (OpenSSL)
GSSAPI ......... : no
passdbs ........ : static passwd passwd-file shadow
2007 Sep 25
1
deliver w/quotas - MDN after accept mail?
I'm testing deliver with sendmail and fs quotas.
On an over quota condition, deliver accepts the mail, deletes it, then
issues a MDN immediately.
Is there a way to get deliver to soft fail like procmail does with a 400
error and queue the mail, then let sendmail handle the MDN, following
it's "confTO_QUEUEWARN" and "confTO_QUEUERETURN" ?
Thanks,
Ken
--
Ken
2007 Jan 30
0
mail_plugins = mail_log (pop3) crashing 1.0.rc18 and rc19
...vecot: pop3-login: Login: user=<gk2>,
method=PLAIN, rip=8x.xx.xx.xx, lip=8x.xx.xx.xxx
Jan 26 15:34:11 rtr dovecot: POP3(gk2):
dlopen(/opt/dovecot/v1.0rc19/lib/dovecot/pop3/lib20_mail_log_plugin.so)
failed: /op
t/dovecot/v1.0rc19/lib/dovecot/pop3/lib20_mail_log_plugin.so: undefined
symbol: str_sanitize
Jan 26 15:34:11 rtr dovecot: child 29501 (pop3) returned error 89
Jan 26 15:34:19 rtr dovecot: pop3-login: Login: user=<kp>, method=PLAIN,
rip=8x.xx.xx.xx, lip=8x.xx.xx.xx
Jan 26 15:34:19 rtr dovecot: POP3(kp):
dlopen(/opt/dovecot/v1.0rc19/lib/dovecot/pop3/lib20_mail_log_plugin.so)
failed:...
2013 Aug 01
1
Antispam folder names
Is there anywhere a collection of folder names for the antispam_trash
and antispam_spam configuration?
Our problem is that in academia, you have a vast amount of different
clients, and some, like Microsoft, use language-specific folder names
*on the server*. So we're now collecting folder names to better handle
the rare cases.
Two more problems:
1. We needed to fix UTF-8 handling in the
2007 Dec 11
1
dovecot deliver errors
...urce messages):
postfix/pipe[19560]: 85372294: to=<example at example.com>,
relay=dovecot, delay=20385, delays=20384/0.01/0/0.19, dsn=5.3.0,
status=bounced (Command died with signal 11: "/usr/
lib/dovecot/deliver")
Program received signal SIGSEGV, Segmentation fault.
0x080d017a in str_sanitize_append (dest=0x80ee2f8, src=0x0, max_len=80)
at str-sanitize.c:11
11 str-sanitize.c: No such file or directory.
in str-sanitize.c
(gdb) #0 0x080d017a in str_sanitize_append (dest=0x80ee2f8, src=0x0,
max_len=80)
at str-sanitize.c:11
p = <value optimized out>
#1 0...
2010 Jul 29
1
Patch: New event "mailbox_create" for the mail_log plugin
...)
+{
+ union mail_storage_module_context *lstorage = MAIL_LOG_CONTEXT(storage);
+
+ if (lstorage->super.mailbox_create(storage, name, directory) < 0)
+ return -1;
+
+ if ((mail_log_set.events & MAIL_LOG_EVENT_MAILBOX_CREATE) == 0)
+ return 0;
+
+ i_info("Mailbox created: %s", str_sanitize(name, MAILBOX_NAME_LOG_LEN));
+ return 0;
+}
+
static void mail_log_mail_storage_created(struct mail_storage *storage)
{
union mail_storage_module_context *lstorage;
@@ -604,6 +623,7 @@
lstorage = p_new(storage->pool, union mail_storage_module_context, 1);
lstorage->super = storage->v;...
2011 Mar 08
1
ID command bug & patch
...")
then dovecot logs:
ID sent: a=b, b=c, c=d
The following patch makes it log instead:
ID sent: a=b, c=d
--- a/dovecot/src/lib-imap/imap-id.c (revision 113366)
+++ b/dovecot/src/lib-imap/imap-id.c (working copy)
@@ -164,6 +164,7 @@
str_append_c(reply, '=');
str_append(reply, str_sanitize(value, 80));
}
+ args++;
}
return str_len(reply) == 0 ? NULL : str_c(reply);
}
2018 Oct 18
1
[dovecot quota-status] error "Invalid character in path"
Hello,
I'm using using:
- dovecot 2.3.3 (dcead646b)
- postfix 3.3.1
- dovecot "quota = maildir:User quota"
I'm facing the error:
"quota-status: Error: quota-status: Client sent
invalid recipient address: Invalid character in path"
This occurred with this e-mail address:
"John Smith"@keit.eu
Well I know it is not a conventional address but it is normally
2016 Oct 06
2
[imap-login] SSL related crashes using the latest 2.2.25
...0x0, cleanup = 0x0, canceltype = 4214640}}}
not_first_call = <value optimized out>
#16 0x00000000004029c9 in _start ()
No symbol table info available.
Core was generated by `dovecot/imap-login -D'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f029b173314 in str_sanitize_skip_start
(src=0x2f6d6f632e61636f <Address 0x2f6d6f632e61636f out of bounds>,
max_bytes=64) at str-sanitize.c:13
13 for (i = 0; i < max_bytes && src[i] != '\0'; ) {
(gdb) bt full
#0 0x00007f029b173314 in str_sanitize_skip_start
(src=0x2f6d6f632e61636f <Address 0x2f...