A Problem No One Has Solved According To Googling

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

A Problem No One Has Solved According To Googling

Jack Fredrikson
Here is a problem that many postfix users have had that has apparently never been resolved! I appeal to you for your help. I have been googling this for a very long time now. Here is my problem

Oct 25 10:49:18 myserver postfix/pipe[3712]: 0423257901AB: to=<[hidden email]>, relay=dovecot, delay=109318, delays=109318/0.14/0/0.1, dsn=4.3.0, status=deferred (temporary failure

Look at this comment I found while googling:
http://blog.absolutedisaster.co.uk/osticket-plesk-9-postfix-pipe-mail-to-a-progr
From the maillog:
    1.    Oct  1 14:10:39 serverXXX-XX pipe[9594]: fatal: pipe_command: execvp /var/www/vhosts/{domain}.com/subdomains/support/httpdocs/api/pipe.php: Permission denied 
    2.    Oct  1 14:10:39 serverXXX-XX postfix/pipe[9088]: EF2541117B5: to=<support@{domain}.com>, relay=pipeSupportEmails, delay=3.5, delays=3.4/0/0/0.02, dsn=4.3.0, status=deferred (temporary failure. Command output: pipe: fatal: pipe_command: execvp /var/www/vhosts/{domain}.com/subdomains/support/httpdocs/api/pipe.php: Permission denied ) 

This is not an uncommon error, but none of the suggested solutions I have found online yet resolve it. I will update when I have more idea.
It would seem (perhaps obviously) to just be a matter of setting the permissions correctly, but I've clearly not worked out just how they should be set.[


So, you see, it's a major problem that nobody has bothered to fix!! Please help me fix this now!!

It's been a week that I've been working day and night to get this fixed.

I forgot to add this information:

[root]# doveconf -n
auth_mechanisms = plain login
first_valid_gid = 12
first_valid_uid = 86
mail_location = maildir:/var/vmail/%d/%u
passdb {
  args = /usr/local/etc/dovecot/sql.conf
  driver = sql
}
plugin {
  quota = maildir:storage=10240:messages=1000
  trash = /usr/local/etc/dovecot/trash.conf
}
protocols = imap pop3
service auth {
  unix_listener auth-userdb {
    group = postfix
    mode = 0660
    user = postfix
  }
  user = root
}
ssl_cert = </etc/pki/tls/certs/mail.myserver.com.cert
ssl_cipher_list = ALL:!LOW:!SSLv2
ssl_key = </etc/pki/tls/private/mail.myserver.com.key
ssl_key_password = passwd
userdb {
  args = /usr/local/etc/dovecot/sql.conf
  driver = sql
}
protocol imap {
  mail_plugins = quota imap_quota
}
protocol pop3 {
  mail_plugins = quota
  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}
protocol lda {
  hostname = myserver.com
  info_log_path = /var/log/dovecot-deliver.log
  log_path = /var/log/dovecot-deliver.log
  mail_plugins = quota
  postmaster_address = [hidden email]
  sendmail_path = /usr/sbin/sendmail.postfix
}

[root] # vi main.cf
queue_directory = /var/spool/postfix
myorigin = $mydomain
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
inet_interfaces = all
unknown_local_recipient_reject_code = 550
debug_peer_list =
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/local/man
sample_directory = /etc/postfix
readme_directory = no
mydomain = myserver.com
mydestination =
        $mydomain,
        $myhostname,
        localhost.$mydomain
mail_spool_directory = /var/spool/mail
home_mailbox = Mailbox
disable_vrfy_command = yes
show_user_unknown_table_name = no


data_directory = /var/lib/postfix
# --------------- local settings ------------------
myhostname                      = myserver.com
inet_interfaces                 = localhost, $myhostname
mynetworks                      = $config_directory/mynetworks
#mydestination                   = localhost.$mydomain, localhost, $myhostname
#uncomment if you need relay_domains... do not list domains in both relay and virtual
relay_domains                   = proxy:mysql:$config_directory/mysql_relay_domains_maps.cf
# ---------------------- VIRTUAL DOMAINS START ----------------------
virtual_mailbox_base            = /var/vmail
virtual_mailbox_domains         = proxy:mysql:$config_directory/mysql_virtual_domains_maps.cf
virtual_mailbox_maps            = proxy:mysql:$config_directory/mysql_virtual_mailbox_maps.cf
virtual_alias_maps              = proxy:mysql:$config_directory/mysql_virtual_alias_maps.cf
virtual_mailbox_limit_maps      = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_limit_maps.cf
virtual_minimum_uid             = 89
virtual_uid_maps                = static:89
virtual_gid_maps                = static:89
virtual_transport               = dovecot
dovecot_destination_recipient_limit = 1
# ---------------------- VIRTUAL DOMAINS END ----------------------
# ---------------------- SASL PART START ----------------------
smtpd_sasl_auth_enable          = yes
smtpd_recipient_restrictions = permit_mynetworks,
  permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_security_options     = noanonymous
broken_sasl_auth_clients        = yes
smtpd_sasl_type                 = dovecot
smtpd_sasl_path = /var/spool/postfix/private/auth
smtpd_sasl_application_name = smtpd
# ---------------------- SASL PART END ----------------------
smtpd_soft_error_limit = 10
smtpd_hard_error_limit = 20
smtpd_helo_required             = yes
disable_vrfy_command            = yes
non_fqdn_reject_code            = 504
invalid_hostname_reject_code    = 450
maps_rbl_reject_code            = 554
alias_maps = hash:/etc/aliases
reject_unknown_client           = false
reject_unknown_hostname         = false
mailbox_command = /usr/local/libexec/dovecot/deliver -f "$SENDER" -a "$RECIPIENT"


[root] # vi master.cf
smtp      inet  n       -       n       -       -       smtpd
submission inet n - - - - smtpd -D
  -o smtpd_tls_security_level=encrypt
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_sasl_type=dovecot
  -o smtpd_sasl_path=private/auth
  -o smtpd_sasl_security_options=noanonymous
  -o smtpd_sasl_local_domain=$myhostname
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  -o smtpd_sender_login_maps=hash:/etc/postfix/virtual
  -o smtpd_sender_restrictions=reject_sender_login_mismatch
  -o smtpd_recipient_restrictions=reject_unknown_recipient_domain,reject_non_fqdn_recipient,permit_sasl_authenticated,reject
amavisfeed unix    -       -       n        -      2     lmtp
    -o lmtp_data_done_timeout=1200
    -o lmtp_send_xforward_command=yes
    -o disable_dns_lookups=yes
    -o max_use=20
587     inet    n       -       n       -       -       smtpd
pickup    fifo  n       -       n       60      1       pickup
cleanup   unix  n       -       n       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
tlsmgr    unix  -       -       n       1000?   1       tlsmgr
rewrite   unix  -       -       n       -       -       trivial-rewrite
bounce    unix  -       -       n       -       0       bounce
defer     unix  -       -       n       -       0       bounce
trace     unix  -       -       n       -       0       bounce
verify    unix  -       -       n       -       1       verify
flush     unix  n       -       n       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp      unix  -       -       n       -       -       smtp
relay     unix  -       -       n       -       -       smtp
        -o fallback_relay=
showq     unix  n       -       n       -       -       showq
error     unix  -       -       n       -       -       error
discard   unix  -       -       n       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
anvil     unix  -       -       n       -       1       anvil
scache    unix  -       -       n       -       1       scache
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
uucp      unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail    unix  -       n       n       -       -       pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
  flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
retry     unix  -       -       n       -       -       error
proxywrite unix -       -       n       -       1       proxymap
dovecot   unix  -       n       n       -       -       pipe
  flags=DRhu user=dovecot argv=/usr/local/libexec/dovecot/dovecot-lda -f ${sender} ${recipient}
spamfilter unix - n n - - pipe
  flags=Rq user=spamfilter argv=/usr/local/bin/spamfilter -f ${sender} -- ${recipient}


TIA,
Jack
Reply | Threaded
Open this post in threaded view
|

Re: A Problem No One Has Solved According To Googling

Simon Brereton-2
On 25 October 2011 15:06, Jack Fredrikson <[hidden email]> wrote:

> Here is a problem that many postfix users have had that has apparently never
> been resolved! I appeal to you for your help. I have been googling this for
> a very long time now. Here is my problem
>
> Oct 25 10:49:18 myserver postfix/pipe[3712]: 0423257901AB: to=<[hidden email]>,
> relay=dovecot, delay=109318, delays=109318/0.14/0/0.1, dsn=4.3.0,
> status=deferred (temporary failure
> Look at this comment I found while googling:
> http://blog.absolutedisaster.co.uk/osticket-plesk-9-postfix-pipe-mail-to-a-progr
> From the maillog:
>     1.
> Oct  1 14:10:39 serverXXX-XX pipe[9594]: fatal: pipe_command: execvp /var/www/vhosts/{domain}.com/subdomains/support/httpdocs/api/pipe.php: Permission denied
>     2.
> Oct  1 14:10:39 serverXXX-XX postfix/pipe[9088]: EF2541117B5: to=<support@{domain}.com>, relay=pipeSupportEmails, delay=3.5, delays=3.4/0/0/0.02, dsn=4.3.0, status=deferred (temporary failure. Command output: pipe: fatal: pipe_command: execvp /var/www/vhosts/{domain}.com/subdomains/support/httpdocs/api/pipe.php: Permission denied )


Two very different errors.

Simon
Reply | Threaded
Open this post in threaded view
|

Re: A Problem No One Has Solved According To Googling

Bastian Blank-3
In reply to this post by Jack Fredrikson
On Tue, Oct 25, 2011 at 12:06:07PM -0700, Jack Fredrikson wrote:
> Here is a problem that many postfix users have had that has apparently never been resolved! I appeal to you for your help. I have been googling this for a very long time now. Here is my problem
>     2.    Oct  1 14:10:39 serverXXX-XX postfix/pipe[9088]: EF2541117B5: to=<support@{domain}.com>, relay=pipeSupportEmails, delay=3.5, delays=3.4/0/0/0.02, dsn=4.3.0, status=deferred (temporary failure. Command output: pipe: fatal: pipe_command: execvp /var/www/vhosts/{domain}.com/subdomains/support/httpdocs/api/pipe.php: Permission denied ) 

Please explain the meaning of "Permission denied".

> So, you see, it's a major problem that nobody has bothered to fix!! Please help me fix this now!!

Remove the used pipe service from master.cf. You (or someone else) put
it there. After it is gone, use "postsuper -r ALL" to get it out of the
remaining queue files.

Bastian

--
I have never understood the female capacity to avoid a direct answer to
any question.
                -- Spock, "This Side of Paradise", stardate 3417.3
Reply | Threaded
Open this post in threaded view
|

Re: A Problem No One Has Solved According To Googling

Jeroen Geilman
In reply to this post by Jack Fredrikson
On 2011-10-25 21:06, Jack Fredrikson wrote:
Here is a problem that many postfix users have had that has apparently never been resolved! I appeal to you for your help. I have been googling this for a very long time now. Here is my problem

Oct 25 10:49:18 myserver postfix/pipe[3712]: 0423257901AB: to=<[hidden email]>, relay=dovecot, delay=109318, delays=109318/0.14/0/0.1, dsn=4.3.0, status=deferred (temporary failure

Your text cuts off before anything useful is printed.


From the maillog:

So this is not YOUR mail log ?
Please provide sufficient, relevant parts of YOUR maillog.


So, you see, it's a major problem that nobody has bothered to fix!! Please help me fix this now!!

I don't see that at all.
It looks like a pipe(8) issue, but without further relevant logs it's impossible to say.


It's been a week that I've been working day and night to get this fixed.

I forgot to add this information:

[root]# doveconf -n

Irrelevant on a POSTFIX list.

[root] # vi main.cf

You should know by now that we want to see postconf -n output, nothing else.

[root] # vi master.cf

NOW we're getting something useful.

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

Apparently, this does not work properly; troubleshoot it by looking closely at your logs.

Also study the pipe(8) man page for as long as it takes; all necessary information to use it is documented there.

-- 
J.
Reply | Threaded
Open this post in threaded view
|

Re: A Problem No One Has Solved According To Googling

mouss-4
In reply to this post by Jack Fredrikson
Le 25/10/2011 21:06, Jack Fredrikson a écrit :
> Here is a problem that many postfix users have had that has apparently never been resolved! I appeal to you for your help.

Welcome to the postfix mailing liFt...

If you have a problem, please follow the directions you received when
you subscribed. In particular, read
        http://www.postfix.org/DEBUG_README.html#mail

do not try to help us. describe YOUR problem. and show FULL logs. and do
not show logs of other people.

Believe it or not, the only "apparently never been resolved" thing is
that which my mother told me not to talk about. (for those who
understand french, I am ref'ing the fabulous Brassens song ;-)


> I have been googling this for a very long time now. Here is my problem
>
>
> Oct 25 10:49:18 myserver postfix/pipe[3712]: 0423257901AB: to=<[hidden email]>, relay=dovecot, delay=109318, delays=109318/0.14/0/0.1, dsn=4.3.0, status=deferred (temporary failure
>
> Look at this comment I found while googling:
> http://blog.absolutedisaster.co.uk/osticket-plesk-9-postfix-pipe-mail-to-a-progr
> From the maillog:
>     1.    Oct  1 14:10:39 serverXXX-XX pipe[9594]: fatal: pipe_command: execvp /var/www/vhosts/{domain}.com/subdomains/support/httpdocs/api/pipe.php: Permission denied  
>     2.    Oct  1 14:10:39 serverXXX-XX postfix/pipe[9088]: EF2541117B5: to=<support@{domain}.com>, relay=pipeSupportEmails, delay=3.5, delays=3.4/0/0/0.02, dsn=4.3.0, status=deferred (temporary failure. Command output: pipe: fatal: pipe_command: execvp /var/www/vhosts/{domain}.com/subdomains/support/httpdocs/api/pipe.php: Permission denied )  
>
> This is not an uncommon error, but none of the suggested solutions I have found online yet resolve it. I will update when I have more idea.
It would seem (perhaps obviously) to just be a matter of setting the permissions correctly, but I've clearly not worked out just how they should be set.[
>


>
>
> So, you see, it's a major problem that nobody has bothered to fix!! Please help me fix this now!!
>
> It's been a week that I've been working day and night to get this fixed.
>
> I forgot to add this information:
>
> [root]# doveconf -n
> auth_mechanisms = plain login
> first_valid_gid = 12
> first_valid_uid = 86
> mail_location = maildir:/var/vmail/%d/%u
> passdb {
>   args = /usr/local/etc/dovecot/sql.conf
>   driver = sql
> }
> plugin {
>   quota = maildir:storage=10240:messages=1000
>   trash = /usr/local/etc/dovecot/trash.conf
> }
> protocols = imap pop3
> service auth {
>   unix_listener auth-userdb {
>     group = postfix
>     mode = 0660
>     user = postfix
>   }
>   user = root
> }
> ssl_cert = </etc/pki/tls/certs/mail.myserver.com.cert
> ssl_cipher_list = ALL:!LOW:!SSLv2
> ssl_key = </etc/pki/tls/private/mail.myserver.com.key
> ssl_key_password = passwd
> userdb {
>   args = /usr/local/etc/dovecot/sql.conf
>   driver = sql
> }
> protocol imap {
>   mail_plugins = quota imap_quota
> }
> protocol pop3 {
>   mail_plugins = quota
>   pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
> }
> protocol lda {
>   hostname = myserver.com
>   info_log_path = /var/log/dovecot-deliver.log
>   log_path = /var/log/dovecot-deliver.log
>   mail_plugins = quota
>   postmaster_address = [hidden email]
>   sendmail_path = /usr/sbin/sendmail.postfix
> }
>
> [root] # vi main.cf
> queue_directory = /var/spool/postfix
> myorigin = $mydomain
> command_directory = /usr/sbin
> daemon_directory = /usr/libexec/postfix
> mail_owner = postfix
> inet_interfaces = all
> unknown_local_recipient_reject_code = 550
> debug_peer_list =
> sendmail_path = /usr/sbin/sendmail.postfix
> newaliases_path = /usr/bin/newaliases
> mailq_path = /usr/bin/mailq
> setgid_group = postdrop
> html_directory = no
> manpage_directory = /usr/local/man
> sample_directory = /etc/postfix
> readme_directory = no
> mydomain = myserver.com
> mydestination =
>         $mydomain,
>         $myhostname,
>         localhost.$mydomain
> mail_spool_directory = /var/spool/mail
> home_mailbox = Mailbox
> disable_vrfy_command = yes
> show_user_unknown_table_name = no
>
>
> data_directory = /var/lib/postfix
> # --------------- local settings ------------------
> myhostname                      = myserver.com
> inet_interfaces                 = localhost, $myhostname
> mynetworks                      = $config_directory/mynetworks
> #mydestination                   = localhost.$mydomain, localhost, $myhostname
> #uncomment if you need relay_domains... do not list domains in both relay and virtual
> relay_domains                   = proxy:mysql:$config_directory/mysql_relay_domains_maps.cf
> # ---------------------- VIRTUAL DOMAINS START ----------------------
> virtual_mailbox_base            = /var/vmail
> virtual_mailbox_domains         = proxy:mysql:$config_directory/mysql_virtual_domains_maps.cf
> virtual_mailbox_maps            = proxy:mysql:$config_directory/mysql_virtual_mailbox_maps.cf
> virtual_alias_maps              = proxy:mysql:$config_directory/mysql_virtual_alias_maps.cf
> virtual_mailbox_limit_maps      = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_limit_maps.cf
> virtual_minimum_uid             = 89
> virtual_uid_maps                = static:89
> virtual_gid_maps                = static:89
> virtual_transport               = dovecot
> dovecot_destination_recipient_limit = 1
> # ---------------------- VIRTUAL DOMAINS END ----------------------
> # ---------------------- SASL PART START ----------------------
> smtpd_sasl_auth_enable          = yes
> smtpd_recipient_restrictions = permit_mynetworks,
>   permit_sasl_authenticated, reject_unauth_destination
> smtpd_sasl_security_options     = noanonymous
> broken_sasl_auth_clients        = yes
> smtpd_sasl_type                 = dovecot
> smtpd_sasl_path = /var/spool/postfix/private/auth
> smtpd_sasl_application_name = smtpd
> # ---------------------- SASL PART END ----------------------
> smtpd_soft_error_limit = 10
> smtpd_hard_error_limit = 20
> smtpd_helo_required             = yes
> disable_vrfy_command            = yes
> non_fqdn_reject_code            = 504
> invalid_hostname_reject_code    = 450
> maps_rbl_reject_code            = 554
> alias_maps = hash:/etc/aliases
> reject_unknown_client           = false
> reject_unknown_hostname         = false
> mailbox_command = /usr/local/libexec/dovecot/deliver -f "$SENDER" -a "$RECIPIENT"
>
>
> [root] # vi master.cf
> smtp      inet  n       -       n       -       -       smtpd
> submission inet n - - - - smtpd -D
>   -o smtpd_tls_security_level=encrypt
>   -o smtpd_sasl_auth_enable=yes
>   -o smtpd_sasl_type=dovecot
>   -o smtpd_sasl_path=private/auth
>   -o smtpd_sasl_security_options=noanonymous
>   -o smtpd_sasl_local_domain=$myhostname
>   -o smtpd_client_restrictions=permit_sasl_authenticated,reject
>   -o smtpd_sender_login_maps=hash:/etc/postfix/virtual
>   -o smtpd_sender_restrictions=reject_sender_login_mismatch
>   -o smtpd_recipient_restrictions=reject_unknown_recipient_domain,reject_non_fqdn_recipient,permit_sasl_authenticated,reject
> amavisfeed unix    -       -       n        -      2     lmtp
>     -o lmtp_data_done_timeout=1200
>     -o lmtp_send_xforward_command=yes
>     -o disable_dns_lookups=yes
>     -o max_use=20
> 587     inet    n       -       n       -       -       smtpd
> pickup    fifo  n       -       n       60      1       pickup
> cleanup   unix  n       -       n       -       0       cleanup
> qmgr      fifo  n       -       n       300     1       qmgr
> tlsmgr    unix  -       -       n       1000?   1       tlsmgr
> rewrite   unix  -       -       n       -       -       trivial-rewrite
> bounce    unix  -       -       n       -       0       bounce
> defer     unix  -       -       n       -       0       bounce
> trace     unix  -       -       n       -       0       bounce
> verify    unix  -       -       n       -       1       verify
> flush     unix  n       -       n       1000?   0       flush
> proxymap  unix  -       -       n       -       -       proxymap
> smtp      unix  -       -       n       -       -       smtp
> relay     unix  -       -       n       -       -       smtp
>         -o fallback_relay=
> showq     unix  n       -       n       -       -       showq
> error     unix  -       -       n       -       -       error
> discard   unix  -       -       n       -       -       discard
> local     unix  -       n       n       -       -       local
> virtual   unix  -       n       n       -       -       virtual
> lmtp      unix  -       -       n       -       -       lmtp
> anvil     unix  -       -       n       -       1       anvil
> scache    unix  -       -       n       -       1       scache
> maildrop  unix  -       n       n       -       -       pipe
>   flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
> uucp      unix  -       n       n       -       -       pipe
>   flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
> ifmail    unix  -       n       n       -       -       pipe
>   flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
> bsmtp     unix  -       n       n       -       -       pipe
>   flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
> retry     unix  -       -       n       -       -       error
> proxywrite unix -       -       n       -       1       proxymap
> dovecot   unix  -       n       n       -       -       pipe
>   flags=DRhu user=dovecot argv=/usr/local/libexec/dovecot/dovecot-lda -f ${sender} ${recipient}
> spamfilter unix - n n - - pipe
>   flags=Rq user=spamfilter argv=/usr/local/bin/spamfilter -f ${sender} -- ${recipient}
>
>
> TIA,
> Jack

Reply | Threaded
Open this post in threaded view
|

Re: A Problem No One Has Solved According To Googling

Noel Jones-2
In reply to this post by Jack Fredrikson
On 10/25/2011 2:06 PM, Jack Fredrikson wrote:
>Here is my problem
>
> Oct 25 10:49:18 myserver postfix/pipe[3712]: 0423257901AB:
> to=<[hidden email] <mailto:[hidden email]>>, relay=dovecot, delay=109318,
> delays=109318/0.14/0/0.1, dsn=4.3.0, status=deferred (temporary failure

Stop posting in HTML.  Your mail is hard enough to decipher without
the html markup.

That's not a problem, that a partial log entry.  You left off all
the interesting stuff.


>
> Look at this comment I found while googling:
> http://blog.absolutedisaster.co.uk/osticket-plesk-9-postfix-pipe-mail-to-a-progr
> From the maillog:
>     1.  
> Oct  1 14:10:39 serverXXX-XX pipe[9594]: fatal: pipe_command: execvp /var/www/vhosts/{domain}.com/subdomains/support/httpdocs/api/pipe.php: Permission denied
>
>     2.  
> Oct  1 14:10:39 serverXXX-XX postfix/pipe[9088]: EF2541117B5: to=<support@{domain}.com>, relay=pipeSupportEmails, delay=3.5, delays=3.4/0/0/0.02, dsn=4.3.0, status=deferred (temporary failure. Command output: pipe: fatal: pipe_command: execvp /var/www/vhosts/{domain}.com/subdomains/support/httpdocs/api/pipe.php: Permission denied )


The above is unrelated.  Maybe you should stop using google.


> It's been a week that I've been working day and night to get this fixed.


You need to work smarter, not harder.


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

Why don't you have "-d" in front of ${recipient} as suggested in the
dovecot wiki?


What happens if you run the command manually?

su dovecot -c /usr/local/libexec/dovecot/dovecot-lda -f
[hidden email]  -d [hidden email]  < some_mail_file

What if you leave the "-d" out?



If you need more help, please see
http://www.postfix.org/DEBUG_README.html#mail

It's really hard for anyone here or at dovecot-users or sa-users to
give you effective help when you don't provide the information
needed to help you.  It would be a good investment of your valuable
time to study http://catb.org/~esr/faqs/smart-questions.html





  -- Noel Jones
Reply | Threaded
Open this post in threaded view
|

Re: A Problem No One Has Solved According To Googling

Jack Fredrikson

From: Noel Jones <[hidden email]>
To: [hidden email]
Sent: Tuesday, October 25, 2011 5:23 PM
Subject: Re: A Problem No One Has Solved According To Googling

On 10/25/2011 2:06 PM, Jack Fredrikson wrote:
>>Here is my problem
>>
>> Oct 25 10:49:18 myserver postfix/pipe[3712]: 0423257901AB:
>> to=<[hidden email] <mailto:[hidden email]>>, relay=dovecot, delay=109318,
>> delays=109318/0.14/0/0.1, dsn=4.3.0, status=deferred (temporary failure
>
> That's not a problem, that a partial log entry.  You left off all
> the interesting stuff.

There's nothing interesting after that.

I give up. I've wasted a week of my time and a lot of yours. I only had this one client that needed email support and they've gotten a different solution. I'm building a new server in a month or two. I betcha this will install lickity-split on that server. I betcha the problem is cruft from other installations, in my case qmail.

Yes, there truly *is* a "temporary failure" problem with postfix. I've googled the hell out of this and I know what I'm talking about here, think what you will. Google this: "postfix/pipe" "status=deferred (temporary failure"

Hey, everybody: thanks so much for trying to help. I really appreciate it. But I've killed a week and before I kill myself, I'm throwing in the towel until I build that new server.

Caio,
Jack
Reply | Threaded
Open this post in threaded view
|

Re: A Problem No One Has Solved According To Googling

Jeroen Geilman
On 2011-10-26 01:37, Jack Fredrikson wrote:

Hey, everybody: thanks so much for trying to help. I really appreciate it. But I've killed a week and before I kill myself, I'm throwing in the towel until I build that new server.


Yes, because everybody knows that building a NEW server while not understanding what was wrong with the old one is the solution to every problem.


-- 
J.