Postfix crashes with signal 11

2014-02-15 Thread SW
Hello I am having an issue with Postix 2.11 crashing multiple times per day with the following errors: Feb 13 21:28:37 mail postfix/master[5828]: warning: process /usr/local/libexec/postfix/smtpd pid 14469 killed by signal 11 mail postfix/master[5828]: warning:

Re: Postfix crashes with signal 11

2014-02-15 Thread Wietse Venema
SW: Can someone assist me with troubleshooting this further please? I have been through the logs but I can't find any clue as to why this is happening. I'd be happy to answer any questions about my main.cf or master.cf file. What other warnings does Postfix log?

Re: Postfix crashes with signal 11

2014-02-15 Thread SW
Hi Wietse, many thanks for the reply. egrep '(warning|error|fatal|panic):' /var/log/postfix/maillog | more gives: Feb 15 00:26:51 mail postfix/smtpd[57622]: warning: hostname ip49-gw1.indonet.bogor.net does not resolve to address 202.159.24.49: hostname nor servname provided, or not known Feb 15

Re: Postfix crashes with signal 11

2014-02-15 Thread SW
First crash with debugging enabled generated the logfile /smtpd.77126.log: GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain

Re: Postfix crashes with signal 11

2014-02-15 Thread Wietse Venema
SW: Hi Wietse, many thanks for the reply. egrep '(warning|error|fatal|panic):' /var/log/postfix/maillog | more gives: Feb 15 05:13:57 mail postfix/master[88477]: warning: process /usr/local/libexec/postfix/smtpd pid 40297 killed by signal 11 Feb 15 05:13:57 mail postfix/master[88477]:

Re: Postfix crashes with signal 11

2014-02-15 Thread Wietse Venema
SW: Loaded symbols for /libexec/ld-elf.so.1 [Switching to Thread 803406400 (LWP 101354/smtpd)] 0x000802027dd8 in wait4 () from /lib/libc.so.7 (gdb) Continuing. Program exited normally. (gdb) (gdb) This is the result of normal execution. Please do not send these again. Please report

Re: Postfix crashes with signal 11

2014-02-15 Thread SW
Apologies for posting the incorrect info previously. Postfix has just crashed again and this is what is in the logfile: Program received signal SIGSEGV, Segmentation fault. 0x00080194d1ff in deflateSetDictionary () from /lib/libz.so.6 (gdb) #0 0x00080194d1ff in deflateSetDictionary ()

Re: Postfix crashes with signal 11

2014-02-15 Thread Viktor Dukhovni
On Sat, Feb 15, 2014 at 07:02:01AM -0800, SW wrote: Apologies for posting the incorrect info previously. Postfix has just crashed again and this is what is in the logfile: http://archives.neohapsis.com/archives/postfix/2013-10/thread.html#434 Program received signal SIGSEGV, Segmentation

Re: Postfix crashes with signal 11

2014-02-15 Thread Viktor Dukhovni
On Sat, Feb 15, 2014 at 09:28:34AM -0800, SW wrote: So I removed zlib from OpenSSL and things seemed to be going well until this happened: Feb 15 17:22:20 mail postfix/master[1555]: panic: master_reap: unknown pid: 27935 And you did not look earlier in the log to see what process 27935

Re: Postfix crashes with signal 11

2014-02-15 Thread SW
I had a look through the entire maillog for 27935 but all I could see was: running: PATH=/bin:/usr/bin:/usr/local/bin; export PATH; (echo cont; echo where; sleep 864) | gdb /usr/local/libexec/postfix/smtpd 27935 21 /usr/local/etc/postfix/smtpd.27935.log sleep 5 I'm not sure what

Re: Postfix crashes with signal 11

2014-02-15 Thread Viktor Dukhovni
On Sat, Feb 15, 2014 at 09:56:18AM -0800, SW wrote: I had a look through the entire maillog for 27935 but all I could see was: running: PATH=/bin:/usr/bin:/usr/local/bin; export PATH; (echo cont; echo where; sleep 864) | gdb /usr/local/libexec/postfix/smtpd 27935 21

Re: Postfix crashes with signal 11

2014-02-15 Thread SW
I have removed the -D flag and restarted Postfix. I will keep my eye on it and report back. I'm really hoping for an email to come from Ebay and/or Facebook as that always caused a signal 11. I'd like to see if removing zlib resolved that issue. I really appreciate your help I have one more

Re: Postfix crashes with signal 11

2014-02-15 Thread Viktor Dukhovni
On Sat, Feb 15, 2014 at 10:04:09AM -0800, SW wrote: Apologies, this was logged under 27935 as well: postfix/smtpd[27935]: connect from m12-184.163.com[220.181.12.184] postfix/smtpd[27935]: NOQUEUE: reject: RCPT from m12-184.163.com[220.181.12.184]: 554 5.7.1 Service unavailable; Client host

Re: Postfix crashes with signal 11

2014-02-15 Thread SW
Sorry, here are the dates: Feb 15 17:20:10 mail postfix/smtpd[27935]: running: PATH=/bin:/usr/bin:/usr/local/bin; export PATH; (echo cont; echo Feb 15 17:20:16 mail postfix/smtpd[27935]: connect from m12-184.163.com[220.181.12.184] Feb 15 17:20:19 mail postfix/smtpd[27935]: NOQUEUE: reject: RCPT

Re: Postfix crashes with signal 11

2014-02-15 Thread Viktor Dukhovni
On Sat, Feb 15, 2014 at 10:10:25AM -0800, SW wrote: I have removed the -D flag and restarted Postfix. I will keep my eye on it and report back. I'm really hoping for an email to come from Ebay and/or Facebook as that always caused a signal 11. I'd like to see if removing zlib resolved that

Re: Postfix crashes with signal 11 (candidate patch)

2014-02-15 Thread Viktor Dukhovni
On Sat, Feb 15, 2014 at 10:17:38AM -0800, SW wrote: Feb 15 17:20:40 mail postfix/smtpd[27935]: disconnect from m12-184.163.com[220.181.12.184] Feb 15 17:22:20 mail postfix/master[1555]: panic: master_reap: unknown pid: 27935 So it looks like there was a delay of 1m40s between

Re: Postfix crashes with signal 11 (candidate patch)

2014-02-15 Thread Wietse Venema
Viktor Dukhovni: if (!NORMAL_EXIT_STATUS(status)) { + /* Debugged processes may be reported to master(8) as stopped */ + if (WIFSTOPPED(status)) { In that case it would be prudent to log what happens: msg_warn(process %s pid %d stopped with signal %d,

Re: message_size_limit

2014-02-15 Thread Grant
Is message_size_limit still valid? All of the references I can find to it online are very old. Is there another postfix directive I should use to set the maximum upload size for roundcube? Postfix configuration parameters don't capriciously disappear. If they are obsoleted, they become

Re: Postfix crashes with signal 11 (candidate patch)

2014-02-15 Thread Viktor Dukhovni
On Sat, Feb 15, 2014 at 02:14:50PM -0500, Wietse Venema wrote: Viktor Dukhovni: if (!NORMAL_EXIT_STATUS(status)) { + /* Debugged processes may be reported to master(8) as stopped */ + if (WIFSTOPPED(status)) { In that case it would be prudent to log what happens:

Re: Postfix crashes with signal 11 (candidate patch)

2014-02-15 Thread SW
*Since your domain is DNSSEC signed, please consider deploying DANE TLSA records for your domain: * The company that hosts my DNS doesn't support DANE TLSA as far as I know. * Were there any other log entries from master(8) between the two events?* None that I could see. *What OS version are

Re: Postfix crashes with signal 11 (candidate patch)

2014-02-15 Thread Viktor Dukhovni
On Sat, Feb 15, 2014 at 12:49:03PM -0800, SW wrote: FreeBSD 10-STABLE amd64. I'd be happy to assist/test if I can. Am I correct in saying that removing the -D from master.cf will prevent Postfix from stopping again? Whether it does or not, you should not run with -D in production.

Re: Postfix crashes with signal 11 (candidate patch)

2014-02-15 Thread SW
I've been running fine for about 3 hours since removing -D and removing zlib from OpenSSL. I think its still too early to tell for sure if everythings ok. I will check the logs again tomorrow morning to see how things look. I really appreciate both your help (Viktor and Wietse) very much! --

Re: Postfix crashes with signal 11 (candidate patch)

2014-02-15 Thread Wietse Venema
Viktor Dukhovni: If I understand correctly, some buggy kernel reports WIFSTOPPED events to the Postfix master daemon (the smtpd parent process) instead of gdb (the smtpd tracing process). This is a plausible guess. Somehow by the time smtpd(8) really exited, master(8) had already

Slow sending of email

2014-02-15 Thread SW
When I used to send emails from my desktop email client (Thunderbird) it would be sent to the email (Postfix) server almost instantly. My desktop and server are on the same local LAN. Now when I send an email there is a definite pause. When I click send, it sits at the screen saying: Status:

Re: Slow sending of email

2014-02-15 Thread Wietse Venema
SW: When I used to send emails from my desktop email client (Thunderbird) it would be sent to the email (Postfix) server almost instantly. My desktop and server are on the same local LAN. Now when I send an email there is a definite pause. When I click send, it sits at the screen saying:

Re: Slow sending of email

2014-02-15 Thread Wietse Venema
Wietse Venema: SW: When I used to send emails from my desktop email client (Thunderbird) it would be sent to the email (Postfix) server almost instantly. My desktop and server are on the same local LAN. Now when I send an email there is a definite pause. When I click send, it sits at

Re: Slow sending of email

2014-02-15 Thread SW
I can't see the -D option anywhere in my master.cf file. I think this issue was occurring before trying that anyway. I have also restarted the Postfix service. host 192.168.0.10 ;; connection timed out; no servers could be reached I expected this to timeout as I don't have internal DNS name

Re: Slow sending of email

2014-02-15 Thread li...@rhsoft.net
Am 15.02.2014 22:30, schrieb SW: I can't see the -D option anywhere in my master.cf file. I think this issue was occurring before trying that anyway. I have also restarted the Postfix service. host 192.168.0.10 ;; connection timed out; no servers could be reached that is the problem I

Re: Slow sending of email

2014-02-15 Thread SW
Yes, you are correct. That is the cause of the problem. A quick entry of my machine in the hosts file sorted that one out! I'm just baffled why I have never experienced this issue before. Thank you everyone. -- View this message in context:

Re: Slow sending of email

2014-02-15 Thread SW
Also, why is it when I send an email from my mobile phone its instant? In the maillog it says unknown for my phones IP address so clearly there isn't a DNS name for it. Just trying to understand this. -- View this message in context:

Re: Slow sending of email

2014-02-15 Thread li...@rhsoft.net
Am 15.02.2014 22:37, schrieb SW: Yes, you are correct. That is the cause of the problem. A quick entry of my machine in the hosts file sorted that one out! I'm just baffled why I have never experienced this issue before because you did not care about network details if your used

Re: Slow sending of email

2014-02-15 Thread li...@rhsoft.net
Am 15.02.2014 22:40, schrieb SW: Also, why is it when I send an email from my mobile phone its instant? In the maillog it says unknown for my phones IP address so clearly there isn't a DNS name for it. Just trying to understand this. because some nameserver registered for the PTR of your

Re: Postfix crashes with signal 11 (candidate patch)

2014-02-15 Thread Wietse Venema
Wietse Venema: Viktor Dukhovni: If I understand correctly, some buggy kernel reports WIFSTOPPED events to the Postfix master daemon (the smtpd parent process) instead of gdb (the smtpd tracing process). This is a plausible guess. Somehow by the time smtpd(8) really exited,

Re: Slow sending of email

2014-02-15 Thread SW
Thanks for the explanation. When I send an email now its instant! -- View this message in context: http://postfix.1071664.n5.nabble.com/Slow-sending-of-email-tp65252p65261.html Sent from the Postfix Users mailing list archive at Nabble.com.

Re: Postfix crashes with signal 11 (candidate patch)

2014-02-15 Thread SW
I should mention that I am running STABLE: FreeBSD 10.0-STABLE #0 r260985 (GENERIC kernel). I'm running it on a 4 core Xeon E31230V3. -- View this message in context: http://postfix.1071664.n5.nabble.com/Postfix-crashes-with-signal-11-tp65224p65263.html Sent from the Postfix Users mailing

Re: Postfix crashes with signal 11 (candidate patch)

2014-02-15 Thread Wietse Venema
SW: I should mention that I am running STABLE: FreeBSD 10.0-STABLE #0 r260985 (GENERIC kernel). I'm running it on a 4 core Xeon E31230V3. Your problem was with zlib/openssl, and you have a solution for that. The -D option is for trouble shooting. You never use it for normal Postfix

Re: Postfix crashes with signal 11 (candidate patch)

2014-02-15 Thread SW
I understand. It was more an FYI. -- View this message in context: http://postfix.1071664.n5.nabble.com/Postfix-crashes-with-signal-11-tp65224p65265.html Sent from the Postfix Users mailing list archive at Nabble.com.

Email disappearing into a black hole...

2014-02-15 Thread SH Development
Emails from a particular company to one specific user on our system are disappearing at our server. Emails from other sources come through to the user's IMAP box without incident. Here's a log transaction of one that does NOT make it: Feb 15 21:12:36 mail postfix/smtpd[23964]: connect from

Re: Email disappearing into a black hole...

2014-02-15 Thread Viktor Dukhovni
On Sat, Feb 15, 2014 at 10:14:52PM -0600, SH Development wrote: Emails from a particular company to one specific user on our system are disappearing at our server. Emails from other sources come through to the user's IMAP box without incident. Here's a log transaction of one that does NOT

Re: Email disappearing into a black hole...

2014-02-15 Thread btb
On Feb 15, 2014, at 23.14, SH Development listacco...@starionline.com wrote: Feb 15 21:12:36 mail postfix/pipe[23969]: 931AF2F4F36: to=aaa...@mail.starionhost.net, orig_to=aaa...@stariontech.com, relay=cyrus, delay=0, status=sent you’ve configured postfix to pass mail to

Re: Email disappearing into a black hole...

2014-02-15 Thread btb
On Feb 15, 2014, at 23.14, SH Development listacco...@starionline.com wrote: Feb 15 21:12:36 mail postfix/pipe[23969]: 931AF2F4F36: to=aaa...@mail.starionhost.net, orig_to=aaa...@stariontech.com, relay=cyrus, delay=0, status=sent you’ve configured postfix to pass mail to

Re: Email disappearing into a black hole...

2014-02-15 Thread SH Development
I understand. The account in question is my personal account, and I'm sure it's not being filtered on my email client. In fact, in testing, I shut down all of my email clients, and used a simple IMAP web-client to check to see if the message was there, pre-filtered so to speak. It wasn't, so