Re: Apparent pipe error

2014-06-30 Thread Sahil Tandon
On Mon, 2014-06-30 at 10:40:18 -0400, Jerry wrote:

> On Mon, 30 Jun 2014 09:37:32 -0400 (EDT), Wietse Venema stated:
> ...
> >Can you ping the maintainer?
> ... 
> I have sent him an email

ACK.

-- 
Sahil Tandon


Re: Apparent pipe error

2014-06-30 Thread Jerry
On Mon, 30 Jun 2014 16:00:53 -0400 (EDT), Wietse Venema stated:

>Jerry:
>> Jun 30 15:27:42 scorpio postfix/smtpd[41654]: error: open
>> database /etc/postfix/virtual.db: No such file or directory Jun 30
>> 15:27:42 scorpio postfix/smtpd[41654]: connect from localhost[127.0.0.1]
>> Jun 30 15:28:03 scorpio postfix/smtpd[41654]: disconnect from
>> localhost[127.0.0.1]
>> 
>> I have no idea wher the "/etc/postfix/virtual.db" entry is coming from. All
>> of my Postfix files are in "/usr/local/etc/postfix"
>
>Then you have more than one Postfix installed on your system. One
>has files in /etc/postfix.

I can assure you Wietse that there isn't. I just checked to see if something
stupid had happened, but there is only one version of Postfix and it is
located in "/usr/local/etc/postfix".

I am going to check with the maintainer. Maybe he has a clue.

Thanks for your help anyway.

-- 
Jerry


Re: Apparent pipe error

2014-06-30 Thread Wietse Venema
Jerry:
> Jun 30 15:27:42 scorpio postfix/smtpd[41654]: error: open database 
> /etc/postfix/virtual.db: No such file or directory
> Jun 30 15:27:42 scorpio postfix/smtpd[41654]: connect from 
> localhost[127.0.0.1]
> Jun 30 15:28:03 scorpio postfix/smtpd[41654]: disconnect from 
> localhost[127.0.0.1]
> 
> I have no idea wher the "/etc/postfix/virtual.db" entry is coming from. All
> of my Postfix files are in "/usr/local/etc/postfix"

Then you have more than one Postfix installed on your system. One
has files in /etc/postfix.

Wietse


Re: Apparent pipe error

2014-06-30 Thread Jerry
On Mon, 30 Jun 2014 14:15:02 -0400 (EDT), Wietse Venema stated:

>Jerry:
>> Jun 30 10:34:03 scorpio postfix/smtpd[39942]: fatal: no SASL
>> authentication mechanisms
>...
>> smtpd_sasl_auth_enable = yes
>> smtpd_sasl_path = private/auth
>> smtpd_sasl_security_options = noanonymous, noplaintext
>> smtpd_sasl_tls_security_options = noanonymous
>> smtpd_sasl_type = dovecot
>...
>> smtp   inet  n   -   n   -   -   smtpd
>
>The Postfix SMTP server on port 25 uses Dovecot SASL. 
>
>If your Dovecot authentication server supports only LOGIN and
>PLAIN, then the smtpd_sasl_security_options will block those,
>leaving nothing for Postfix to use.
>
>Perhaps you forgot to disable SASL on the port 25 service and to
>enable SASL only on the submission port when the session is encrypted
>with TLS.
>
>In that case remove the main.cf the line "smtpd_sasl_auth_enable =
>yes", and append to the master.cf submission service the following
>two lines:
>
>-o smtpd_sasl_auth_enable=yes
>-o smtpd_tls_auth_only=yes
>
>(space or tab before "-o", no space around "=").
>
>   Wietse
>

I think I am going to give up and try again later. Even following your
advice, it is not working correctly.

telnet localhost 25

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.

The connection is closed immediately.

maillog:

Jun 30 15:24:03 scorpio postfix/master[41640]: daemon started -- version 
2.12-20140507, configuration /usr/local/etc/postfix
Jun 30 15:26:10 scorpio postfix/smtpd[41647]: connect from localhost[127.0.0.1]
Jun 30 15:26:10 scorpio postfix/smtpd[41647]: fatal: no SASL authentication 
mechanisms
Jun 30 15:26:11 scorpio postfix/master[41640]: warning: process 
/usr/local/libexec/postfix/smtpd pid 41647 exit status 1
Jun 30 15:26:11 scorpio postfix/master[41640]: warning: 
/usr/local/libexec/postfix/smtpd: bad command startup -- throttling

telnet localhost 587

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 scorpio.seibercom.net ESMTP Postfix
ehlo seibercom.net
250-scorpio.seibercom.net
250-PIPELINING
250-SIZE 26214400
250-ETRN
250-STARTTLS
250-XVERP
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN

"AUTH" is never listed

maillog:

Jun 30 15:27:42 scorpio postfix/smtpd[41654]: error: open database 
/etc/postfix/virtual.db: No such file or directory
Jun 30 15:27:42 scorpio postfix/smtpd[41654]: connect from localhost[127.0.0.1]
Jun 30 15:28:03 scorpio postfix/smtpd[41654]: disconnect from 
localhost[127.0.0.1]

I have no idea wher the "/etc/postfix/virtual.db" entry is coming from. All
of my Postfix files are in "/usr/local/etc/postfix"

Thanks for your help.

-- 
jerry


Re: Apparent pipe error

2014-06-30 Thread Wietse Venema
Jerry:
> Jun 30 10:34:03 scorpio postfix/smtpd[39942]: fatal: no SASL authentication 
> mechanisms
...
> smtpd_sasl_auth_enable = yes
> smtpd_sasl_path = private/auth
> smtpd_sasl_security_options = noanonymous, noplaintext
> smtpd_sasl_tls_security_options = noanonymous
> smtpd_sasl_type = dovecot
...
> smtp   inet  n   -   n   -   -   smtpd

The Postfix SMTP server on port 25 uses Dovecot SASL. 

If your Dovecot authentication server supports only LOGIN and
PLAIN, then the smtpd_sasl_security_options will block those,
leaving nothing for Postfix to use.

Perhaps you forgot to disable SASL on the port 25 service and to
enable SASL only on the submission port when the session is encrypted
with TLS.

In that case remove the main.cf the line "smtpd_sasl_auth_enable =
yes", and append to the master.cf submission service the following
two lines:

-o smtpd_sasl_auth_enable=yes
-o smtpd_tls_auth_only=yes

(space or tab before "-o", no space around "=").

Wietse



Re: Apparent pipe error

2014-06-30 Thread Jerry
On Mon, 30 Jun 2014 13:35:36 -0400 (EDT), Wietse Venema stated:

>Jerry:
>[ Charset UTF-8 unsupported, converting... ]
>> On Mon, 30 Jun 2014 10:05:04 -0500, Edgar Pettijohn stated:
>> 
>> >
>> >On 06/30/2014 09:48 AM, Wietse Venema wrote:
>> >> Jerry:
>> >>> Jun 30 10:34:03 scorpio postfix/smtpd[39942]: fatal: no SASL
>> >>> authentication mechanisms
>> >> To write a problem report:
>> >> http://www.postfix.org/DEBUG_README.html#mail.
>> >>
>> >>> Jun 30 10:36:04 scorpio postfix/pipe[39958]: 3h2B8N5Rgwz3FMNL:
>> >>> to=, relay=dovecot, delay=0.15,
>> >>> delays=0.11/0.01/0/0.04, dsn=4.3.0, status=deferred (temporary failure.
>> >>> Command output: lda: Error: user ger...@seibercom.net: Error reading
>> >>> configuration: Invalid settings: postmaster_address setting not given
>> >>> lda: Fatal: Internal error occurred. Refer to server log for more
>> >>> information. )
>> >>>
>> >>> The last one is probably something wrong with Dovecot.
>> >> Also the first one, if you use Dovecot SASL. But no-one knows because
>> >> you provided no configuration information.
>> >>
>> >>   Wietse
>> >postmaster_address = /usr/local/etc/dovecot/conf.d/15-lda.conf
>> 
>> Okay, where is that suppose to be placed?
>> 
>> As for the Dovecot configuration, did you want me to post the output of
>> "dovecot -n"?
>
>This is the Postfix mailing list. In case of trouble, the first
>order of business after the Postfix symptom is to find out what the
>Postfix configuration is.

postconf -fn

authorized_submit_users = !www, static:all
broken_sasl_auth_clients = yes
canonical_maps = hash:/usr/local/etc/postfix/canonical
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix
data_directory = /var/db/postfix
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd
$daemon_directory/$process_name $process_id & sleep 5
delay_warning_time = 12h
disable_vrfy_command = yes
dovecot_destination_recipient_limit = 1
enable_long_queue_ids = yes
html_directory = /usr/local/share/doc/postfix
inet_protocols = ipv4
mail_owner = postfix
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
message_size_limit = 26214400
milter_default_action = accept
mydestination =
mydomain = seibercom.net
myhostname = scorpio.seibercom.net
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/local/share/doc/postfix
sample_directory = /usr/local/etc/postfix
sender_dependent_relayhost_maps = hash:/usr/local/etc/postfix/sender_relay
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/usr/local/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_sender_dependent_authentication = yes
smtp_tls_CAfile = /usr/local/etc/postfix/certs/cacert.pem
smtp_tls_CApath = /usr/local/etc/postfix/certs/
smtp_tls_note_starttls_offer = yes
smtp_tls_policy_maps = hash:/usr/local/etc/postfix/tls_policy
smtp_tls_security_level = may
smtp_tls_session_cache_database = btree:/var/db/postfix/smtp_tls_session_cache
smtpd_authorized_verp_clients = $mynetworks
smtpd_client_restrictions = reject_unauth_pipelining permit_sasl_authenticated
reject_unknown_client_hostname
smtpd_milters = unix:/var/run/clamav/clmilter.sock
smtpd_recipient_restrictions = reject_unauth_pipelining
permit_sasl_authenticated permit_mynetworks reject_unknown_recipient_domain
reject_unauth_destination
smtpd_reject_footer = For assistance, please provide the following information
in your problem report: time ($localtime), client ($client_address) and
server ($server_name).
smtpd_relay_restrictions = permit_sasl_authenticated permit_mynetworks
reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous, noplaintext
smtpd_sasl_tls_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_tls_CAfile = /usr/local/etc/postfix/certs/cacert.pem
smtpd_tls_cert_file = /usr/local/etc/postfix/certs/Postfix-cert.pem
smtpd_tls_key_file = /usr/local/etc/postfix/certs/Postfix-key.pem
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:/var/db/postfix/smtpd_tls_session_cache
tls_random_source = dev:/dev/urandom
transport_maps = hash:/usr/local/etc/postfix/transport_maps
unknown_local_recipient_reject_code = 550
virtual_gid_maps = static:1002
virtual_mailbox_base = /var/mail/vmail/seibercom/gerard
virtual_mailbox_domains = seibercom.net
virtual_mailbox_maps = hash:/usr/local/etc/postfix/vmailbox
virtual_minimum_uid = 100
virtual_transport = dovecot
virtual_uid_maps = static:1002

postconf -M

smtp   inet  n   -   n   -   -   smtpd
submission inet  n   -   n   -   -   smtpd -o 

Re: Apparent pipe error

2014-06-30 Thread Wietse Venema
Jerry:
[ Charset UTF-8 unsupported, converting... ]
> On Mon, 30 Jun 2014 10:05:04 -0500, Edgar Pettijohn stated:
> 
> >
> >On 06/30/2014 09:48 AM, Wietse Venema wrote:
> >> Jerry:
> >>> Jun 30 10:34:03 scorpio postfix/smtpd[39942]: fatal: no SASL
> >>> authentication mechanisms
> >> To write a problem report: http://www.postfix.org/DEBUG_README.html#mail.
> >>
> >>> Jun 30 10:36:04 scorpio postfix/pipe[39958]: 3h2B8N5Rgwz3FMNL:
> >>> to=, relay=dovecot, delay=0.15,
> >>> delays=0.11/0.01/0/0.04, dsn=4.3.0, status=deferred (temporary failure.
> >>> Command output: lda: Error: user ger...@seibercom.net: Error reading
> >>> configuration: Invalid settings: postmaster_address setting not given
> >>> lda: Fatal: Internal error occurred. Refer to server log for more
> >>> information. )
> >>>
> >>> The last one is probably something wrong with Dovecot.
> >> Also the first one, if you use Dovecot SASL. But no-one knows because
> >> you provided no configuration information.
> >>
> >>Wietse
> >postmaster_address = /usr/local/etc/dovecot/conf.d/15-lda.conf
> 
> Okay, where is that suppose to be placed?
> 
> As for the Dovecot configuration, did you want me to post the output of
> "dovecot -n"?

This is the Postfix mailing list. In case of trouble, the first
order of business after the Postfix symptom is to find out what the
Postfix configuration is.

Wietse


Re: Apparent pipe error

2014-06-30 Thread Jerry
On Mon, 30 Jun 2014 10:05:04 -0500, Edgar Pettijohn stated:

>
>On 06/30/2014 09:48 AM, Wietse Venema wrote:
>> Jerry:
>>> Jun 30 10:34:03 scorpio postfix/smtpd[39942]: fatal: no SASL
>>> authentication mechanisms
>> To write a problem report: http://www.postfix.org/DEBUG_README.html#mail.
>>
>>> Jun 30 10:36:04 scorpio postfix/pipe[39958]: 3h2B8N5Rgwz3FMNL:
>>> to=, relay=dovecot, delay=0.15,
>>> delays=0.11/0.01/0/0.04, dsn=4.3.0, status=deferred (temporary failure.
>>> Command output: lda: Error: user ger...@seibercom.net: Error reading
>>> configuration: Invalid settings: postmaster_address setting not given
>>> lda: Fatal: Internal error occurred. Refer to server log for more
>>> information. )
>>>
>>> The last one is probably something wrong with Dovecot.
>> Also the first one, if you use Dovecot SASL. But no-one knows because
>> you provided no configuration information.
>>
>>  Wietse
>postmaster_address = /usr/local/etc/dovecot/conf.d/15-lda.conf

Okay, where is that suppose to be placed?

As for the Dovecot configuration, did you want me to post the output of
"dovecot -n"?

-- 
Jerry


Re: Apparent pipe error

2014-06-30 Thread Edgar Pettijohn

On 06/30/2014 09:48 AM, Wietse Venema wrote:
> Jerry:
>> Jun 30 10:34:03 scorpio postfix/smtpd[39942]: fatal: no SASL authentication 
>> mechanisms
> To write a problem report: http://www.postfix.org/DEBUG_README.html#mail.
>
>> Jun 30 10:36:04 scorpio postfix/pipe[39958]: 3h2B8N5Rgwz3FMNL: 
>> to=, relay=dovecot, delay=0.15, 
>> delays=0.11/0.01/0/0.04, dsn=4.3.0, status=deferred (temporary failure. 
>> Command output: lda: Error: user ger...@seibercom.net: Error reading 
>> configuration: Invalid settings: postmaster_address setting not given lda: 
>> Fatal: Internal error occurred. Refer to server log for more information. )
>>
>> The last one is probably something wrong with Dovecot.
> Also the first one, if you use Dovecot SASL. But no-one knows because
> you provided no configuration information.
>
>   Wietse
postmaster_address = /usr/local/etc/dovecot/conf.d/15-lda.conf


Re: Apparent pipe error

2014-06-30 Thread Wietse Venema
Jerry:
> Jun 30 10:34:03 scorpio postfix/smtpd[39942]: fatal: no SASL authentication 
> mechanisms

To write a problem report: http://www.postfix.org/DEBUG_README.html#mail.

> Jun 30 10:36:04 scorpio postfix/pipe[39958]: 3h2B8N5Rgwz3FMNL: 
> to=, relay=dovecot, delay=0.15, 
> delays=0.11/0.01/0/0.04, dsn=4.3.0, status=deferred (temporary failure. 
> Command output: lda: Error: user ger...@seibercom.net: Error reading 
> configuration: Invalid settings: postmaster_address setting not given lda: 
> Fatal: Internal error occurred. Refer to server log for more information. )
> 
> The last one is probably something wrong with Dovecot.

Also the first one, if you use Dovecot SASL. But no-one knows because
you provided no configuration information.

Wietse


Re: Apparent pipe error

2014-06-30 Thread Jerry
On Mon, 30 Jun 2014 09:37:32 -0400 (EDT), Wietse Venema stated:

>Jerry:
>> >> I have this loaded on a FreeBSD-10/amd64 system
>> >
>> >What Postfix version? If it is 2.12 there is a pipe daemon bug
>> >between 20140320 and 20140515.
>> >
>> >Wietse
>> >
>> >20140515
>> >
>> >Bugfix (introduced: 20140320): missing initialization.
>> >Viktor Dukhovni. File pipe/pipe.c.
>> 
>> It is the latest version available ion the FreeBSD ports system listed
>> under: mail/postfix-current.
>> 
>> postconf -d | grep mail_version
>> mail_version = 2.12-20140507
>> milter_macro_v = $mail_name $mail_version
>
>Then, you need to apply this patch. If you put it in 
>
>   /usr/ports/mail/postfix-current/files/patch-pipe-20140515
>
>Then it may be applied automagically.
>
>Can you ping the maintainer?
>
>   Wietse
>
>*** /tmp/postfix-2.12-20140507/src/pipe/pipe.c Sat Mar 22 18:41:02
>2014 --- src/pipe/pipe.c   Wed Jun 18 15:57:01 2014
>***
>*** 1341,1346 
>--- 1360,1366 
>  
>  single_server_main(argc, argv, pipe_service,
>  MAIL_SERVER_TIME_TABLE, time_table,
>+ MAIL_SERVER_STR_TABLE, str_table,
>  MAIL_SERVER_PRE_INIT, pre_init,
>  MAIL_SERVER_POST_INIT, drop_privileges,
>  MAIL_SERVER_PRE_ACCEPT, pre_accept,

I have sent him an email

Now, after installing the patch and restarting postfix, I get the following:

Jun 30 10:33:01 scorpio postfix/master[39935]: daemon started -- version 
2.12-20140507, configuration /usr/local/etc/postfix

Sending to an external address on port 25:
Jun 30 10:34:03 scorpio postfix/smtpd[39942]: connect from localhost[127.0.0.1]
Jun 30 10:34:03 scorpio postfix/smtpd[39942]: fatal: no SASL authentication 
mechanisms
Jun 30 10:34:04 scorpio postfix/master[39935]: warning: process 
/usr/local/libexec/postfix/smtpd pid 39942 exit status 1
Jun 30 10:34:04 scorpio postfix/master[39935]: warning: 
/usr/local/libexec/postfix/smtpd: bad command startup -- throttling

Sending to same contact on port 25
Jun 30 10:35:01 scorpio postfix/submission/smtpd[39952]: connect from 
localhost[127.0.0.1]
Jun 30 10:35:01 scorpio postfix/submission/smtpd[39952]: 3h2B7950drz3FMNM: 
client=localhost[127.0.0.1], sasl_method=LOGIN, 
sasl_username=gerard.seib...@stemnc.org
Jun 30 10:35:01 scorpio postfix/cleanup[39954]: 3h2B7950drz3FMNM: 
message-id=<20140630103501.7ba21000@scorpio>
Jun 30 10:35:01 scorpio postfix/qmgr[39937]: 3h2B7950drz3FMNM: 
from=, size=746, nrcpt=1 (queue active)
Jun 30 10:35:01 scorpio postfix/submission/smtpd[39952]: disconnect from 
localhost[127.0.0.1]
Jun 30 10:35:02 scorpio postfix/smtp[39955]: 3h2B7950drz3FMNM: 
to=, relay=muon.mfg-consulting-llc.com[69.16.208.160]:25, 
delay=1.3, delays=0.12/0.02/0.98/0.17, dsn=2.0.0, status=sent (250 OK 
id=1X1cfe-0001RH-Rv)
Jun 30 10:35:02 scorpio postfix/qmgr[39937]: 3h2B7950drz3FMNM: removed

Sending to a virtual contact on this machine via port 587
Jun 30 10:36:04 scorpio postfix/submission/smtpd[39952]: connect from 
localhost[127.0.0.1]
Jun 30 10:36:04 scorpio postfix/submission/smtpd[39952]: 3h2B8N5Rgwz3FMNL: 
client=localhost[127.0.0.1], sasl_method=LOGIN, 
sasl_username=gerard.seib...@stemnc.org
Jun 30 10:36:04 scorpio postfix/cleanup[39954]: 3h2B8N5Rgwz3FMNL: 
message-id=<20140630103604.1c4a78d1@scorpio>
Jun 30 10:36:04 scorpio postfix/qmgr[39937]: 3h2B8N5Rgwz3FMNL: 
from=, size=754, nrcpt=1 (queue active)
Jun 30 10:36:04 scorpio postfix/submission/smtpd[39952]: disconnect from 
localhost[127.0.0.1]
Jun 30 10:36:04 scorpio postfix/pipe[39958]: 3h2B8N5Rgwz3FMNL: 
to=, relay=dovecot, delay=0.15, delays=0.11/0.01/0/0.04, 
dsn=4.3.0, status=deferred (temporary failure. Command output: lda: Error: user 
ger...@seibercom.net: Error reading configuration: Invalid settings: 
postmaster_address setting not given lda: Fatal: Internal error occurred. Refer 
to server log for more information. )

The last one is probably something wrong with Dovecot.

-- 
Jerry


Re: Apparent pipe error

2014-06-30 Thread Wietse Venema
Jerry:
> >> I have this loaded on a FreeBSD-10/amd64 system
> >
> >What Postfix version? If it is 2.12 there is a pipe daemon bug
> >between 20140320 and 20140515.
> >
> > Wietse
> >
> >20140515
> >
> >Bugfix (introduced: 20140320): missing initialization.
> >Viktor Dukhovni. File pipe/pipe.c.
> 
> It is the latest version available ion the FreeBSD ports system listed
> under: mail/postfix-current.
> 
> postconf -d | grep mail_version
> mail_version = 2.12-20140507
> milter_macro_v = $mail_name $mail_version

Then, you need to apply this patch. If you put it in 

/usr/ports/mail/postfix-current/files/patch-pipe-20140515

Then it may be applied automagically.

Can you ping the maintainer?

Wietse

*** /tmp/postfix-2.12-20140507/src/pipe/pipe.c  Sat Mar 22 18:41:02 2014
--- src/pipe/pipe.c Wed Jun 18 15:57:01 2014
***
*** 1341,1346 
--- 1360,1366 
  
  single_server_main(argc, argv, pipe_service,
   MAIL_SERVER_TIME_TABLE, time_table,
+  MAIL_SERVER_STR_TABLE, str_table,
   MAIL_SERVER_PRE_INIT, pre_init,
   MAIL_SERVER_POST_INIT, drop_privileges,
   MAIL_SERVER_PRE_ACCEPT, pre_accept,


Re: Apparent pipe error

2014-06-30 Thread Jerry
On Mon, 30 Jun 2014 08:42:39 -0400 (EDT), Wietse Venema stated:

>Jerry:
>> On Mon, 30 Jun 2014 06:37:33 -0400 (EDT), Wietse Venema stated:
>> 
>> >Jerry:
>> >> I am attempting to set up virtual delivery by dovecot. Postfix is
>> >> spewing this error message:
>> >> 
>> >> Jun 30 05:05:07 scorpio postfix/master[40036]: warning:
>> >> process /usr/local/libexec/postfix/pipe pid 40040 killed by signal 11
>> >
>> >Please review http://www.postfix.org/DEBUG_README.html#verbose
>> >and make the pipe daemon (not smtpd daemon) more verbose.
>> >
>> >Then, report the logs up to the "signal 11".
>> 
>> I have this loaded on a FreeBSD-10/amd64 system
>
>What Postfix version? If it is 2.12 there is a pipe daemon bug
>between 20140320 and 20140515.
>
>   Wietse
>
>20140515
>
>Bugfix (introduced: 20140320): missing initialization.
>Viktor Dukhovni. File pipe/pipe.c.

It is the latest version available ion the FreeBSD ports system listed
under: mail/postfix-current.

postconf -d | grep mail_version
mail_version = 2.12-20140507
milter_macro_v = $mail_name $mail_version

-- 
Jerry


Re: Apparent pipe error

2014-06-30 Thread Wietse Venema
Jerry:
> On Mon, 30 Jun 2014 06:37:33 -0400 (EDT), Wietse Venema stated:
> 
> >Jerry:
> >> I am attempting to set up virtual delivery by dovecot. Postfix is spewing
> >> this error message:
> >> 
> >> Jun 30 05:05:07 scorpio postfix/master[40036]: warning:
> >> process /usr/local/libexec/postfix/pipe pid 40040 killed by signal 11
> >
> >Please review http://www.postfix.org/DEBUG_README.html#verbose
> >and make the pipe daemon (not smtpd daemon) more verbose.
> >
> >Then, report the logs up to the "signal 11".
> 
> I have this loaded on a FreeBSD-10/amd64 system

What Postfix version? If it is 2.12 there is a pipe daemon bug
between 20140320 and 20140515.

Wietse

20140515

Bugfix (introduced: 20140320): missing initialization.
Viktor Dukhovni. File pipe/pipe.c.



Re: Apparent pipe error

2014-06-30 Thread Jerry
On Mon, 30 Jun 2014 06:37:33 -0400 (EDT), Wietse Venema stated:

>Jerry:
>> I am attempting to set up virtual delivery by dovecot. Postfix is spewing
>> this error message:
>> 
>> Jun 30 05:05:07 scorpio postfix/master[40036]: warning:
>> process /usr/local/libexec/postfix/pipe pid 40040 killed by signal 11
>
>Please review http://www.postfix.org/DEBUG_README.html#verbose
>and make the pipe daemon (not smtpd daemon) more verbose.
>
>Then, report the logs up to the "signal 11".

I have this loaded on a FreeBSD-10/amd64 system

I restarted postfix and this is now the output:

If I send via 587 to an outside contact:

Jun 30 07:50:39 scorpio postfix/submission/smtpd[2041]: connect from 
localhost[127.0.0.1]
Jun 30 07:50:39 scorpio postfix/submission/smtpd[2041]: 3h26TW2wq8z3DlVg: 
client=localhost[127.0.0.1], sasl_method=LOGIN, 
sasl_username=gerard.seib...@stemnc.org
Jun 30 07:50:39 scorpio postfix/cleanup[2045]: 3h26TW2wq8z3DlVg: 
message-id=<20140630075039.0b14549f@scorpio>
Jun 30 07:50:39 scorpio postfix/qmgr[1993]: 3h26TW2wq8z3DlVg: 
from=, size=746, nrcpt=1 (queue active)
Jun 30 07:50:39 scorpio postfix/submission/smtpd[2041]: disconnect from 
localhost[127.0.0.1]
Jun 30 07:50:40 scorpio postfix/smtp[2046]: 3h26TW2wq8z3DlVg: 
to=, relay=muon.mfg-consulting-llc.com[69.16.208.160]:25, 
delay=0.74, delays=0.12/0.03/0.46/0.14, dsn=2.0.0, status=sent (250 OK 
id=1X1a6a-00083J-1A)
Jun 30 07:50:40 scorpio postfix/qmgr[1993]: 3h26TW2wq8z3DlVg: removed

If I send via 587 to a virtual user:

Jun 30 07:50:54 scorpio postfix/submission/smtpd[2041]: connect from 
localhost[127.0.0.1]
Jun 30 07:50:54 scorpio postfix/submission/smtpd[2041]: 3h26Tp1x55z3DlVj: 
client=localhost[127.0.0.1], sasl_method=LOGIN, 
sasl_username=gerard.seib...@stemnc.org
Jun 30 07:50:54 scorpio postfix/cleanup[2045]: 3h26Tp1x55z3DlVj: 
message-id=<20140630075053.4885004a@scorpio>
Jun 30 07:50:54 scorpio postfix/qmgr[1993]: 3h26Tp1x55z3DlVj: 
from=, size=754, nrcpt=1 (queue active)
Jun 30 07:50:54 scorpio postfix/submission/smtpd[2041]: disconnect from 
localhost[127.0.0.1]
Jun 30 07:50:54 scorpio postfix/pipe[2048]: name_mask: ipv4
Jun 30 07:50:54 scorpio postfix/pipe[2048]: name_mask: subnet
Jun 30 07:50:54 scorpio postfix/pipe[2048]: inet_addr_local: configured 2 IPv4 
addresses
Jun 30 07:50:54 scorpio postfix/pipe[2048]: been_here: 192.168.1.0/24: 0
Jun 30 07:50:54 scorpio postfix/pipe[2048]: been_here: 127.0.0.0/8: 0
Jun 30 07:50:54 scorpio postfix/pipe[2048]: mynetworks: 192.168.1.0/24 
127.0.0.0/8 
Jun 30 07:50:54 scorpio postfix/master[1991]: warning: process 
/usr/local/libexec/postfix/pipe pid 2048 killed by signal 11
Jun 30 07:50:54 scorpio postfix/master[1991]: warning: 
/usr/local/libexec/postfix/pipe: bad command startup -- throttling

If I send via 25 to an outside user or a virtual user:

Jun 30 07:47:51 scorpio postfix/smtpd[2023]: connect from localhost[127.0.0.1]
Jun 30 07:47:51 scorpio postfix/smtpd[2023]: fatal: no SASL authentication 
mechanisms
Jun 30 07:47:52 scorpio postfix/master[1991]: warning: process 
/usr/local/libexec/postfix/smtpd pid 2023 exit status 1
Jun 30 07:47:52 scorpio postfix/master[1991]: warning: 
/usr/local/libexec/postfix/smtpd: bad command startup -- throttling
Jun 30 07:48:52 scorpio postfix/smtpd[2030]: connect from localhost[127.0.0.1]
Jun 30 07:48:52 scorpio postfix/smtpd[2030]: fatal: no SASL authentication 
mechanisms
Jun 30 07:48:53 scorpio postfix/master[1991]: warning: process 
/usr/local/libexec/postfix/smtpd pid 2030 exit status 1
Jun 30 07:48:53 scorpio postfix/master[1991]: warning: 
/usr/local/libexec/postfix/smtpd: bad command startup -- throttling

postconf -fn

authorized_submit_users = !www, static:all
broken_sasl_auth_clients = yes
canonical_maps = hash:/usr/local/etc/postfix/canonical
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix
data_directory = /var/db/postfix
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd
$daemon_directory/$process_name $process_id & sleep 5
delay_warning_time = 12h
disable_vrfy_command = yes
dovecot_destination_recipient_limit = 1
enable_long_queue_ids = yes
html_directory = /usr/local/share/doc/postfix
inet_protocols = ipv4
mail_owner = postfix
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
message_size_limit = 26214400
milter_default_action = accept
mydestination =
mydomain = seibercom.net
myhostname = scorpio.seibercom.net
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/local/share/doc/postfix
sample_directory = /usr/local/etc/postfix
sender_dependent_relayhost_maps = hash:/usr/local/etc/postfix/sender_relay
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/usr/local/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
s

Re: Apparent pipe error

2014-06-30 Thread Wietse Venema
Jerry:
> I am attempting to set up virtual delivery by dovecot. Postfix is spewing
> this error message:
> 
> Jun 30 05:05:07 scorpio postfix/master[40036]: warning: process 
> /usr/local/libexec/postfix/pipe pid 40040 killed by signal 11

Please review http://www.postfix.org/DEBUG_README.html#verbose
and make the pipe daemon (not smtpd daemon) more verbose.

Then, report the logs up to the "signal 11".

Wietse


Apparent pipe error

2014-06-30 Thread Jerry
I am attempting to set up virtual delivery by dovecot. Postfix is spewing
this error message:

Jun 30 05:05:07 scorpio postfix/master[40036]: warning: process 
/usr/local/libexec/postfix/pipe pid 40040 killed by signal 11
Jun 30 05:05:07 scorpio postfix/master[40036]: warning: 
/usr/local/libexec/postfix/pipe: bad command startup -- throttling
Jun 30 05:06:07 scorpio postfix/master[40036]: warning: process 
/usr/local/libexec/postfix/pipe pid 40043 killed by signal 11
Jun 30 05:06:07 scorpio postfix/master[40036]: warning: 
/usr/local/libexec/postfix/pipe: bad command startup -- throttling
Jun 30 05:07:07 scorpio postfix/master[40036]: warning: process 
/usr/local/libexec/postfix/pipe pid 40046 killed by signal 11
Jun 30 05:07:07 scorpio postfix/master[40036]: warning: 
/usr/local/libexec/postfix/pipe: bad command startup -- throttling

master.cf:

dovecot   unix  -   n   n   -   -   pipe
  flags=DRhu user=vmail:vmail argv=/usr/local/libexec/dovecot/dovecot-lda -f 
${sender} -d ${recipient}

I can supply "postconf -n" if required.

-- 
Jerry