I've Got To Be Close...

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

I've Got To Be Close...

Jack Fredrikson
Hi;
I'm still getting this (and *only* this) error:
Oct 24 08:18:01 myserver postfix/pipe[21761]: 5CC9F5790195: to=<[hidden email]>, relay=dovecot, delay=0.66, delays=0.64/0/0/0.02, dsn=4.3.0, status=deferred (temporary failure)

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
myhostname                      = myserver.com
inet_interfaces                 = localhost, $myhostname
mynetworks                      = $config_directory/mynetworks
relay_domains                   = proxy:mysql:$config_directory/mysql_relay_domains_maps.cf
virtual_mailbox_base            = /var/vmail
virtual_mailbox_domains         = bar.com another.com myserver.com
virtual_mailbox_maps            = hash:/etc/postfix/vmailbox
virtual_alias_maps              = hash:/etc/postfix/virtual
virtual_minimum_uid             = 89
virtual_uid_maps                = static:89
virtual_gid_maps                = static:89
virtual_transport               = dovecot
dovecot_destination_recipient_limit = 1
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
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

Please advise.
TIA,
Jack

Reply | Threaded
Open this post in threaded view
|

Re: I've Got To Be Close...

Simon Brereton-2
On 24 October 2011 11:20, Jack Fredrikson <[hidden email]> wrote:
> Hi;
> I'm still getting this (and *only* this) error:
> Oct 24 08:18:01 myserver postfix/pipe[21761]: 5CC9F5790195:
> to=<[hidden email]>, relay=dovecot, delay=0.66, delays=0.64/0/0/0.02,
> dsn=4.3.0, status=deferred (temporary failure)

Sounds like your file permissions on the mail spool are wrong.  Check
your a) your dovecot conf and test with 666 and b) make sure dovecot
(since that's what you're using to do the delivery) is the owner of
that directory.

Somewhere in this section...

>     master {
>       path = /var/run/dovecot/auth-master
>       mode = 0660
>       user = vmail
>       group = mail
>     }
>     client {
>       path = /var/spool/postfix/private/auth
>       mode = 0660
>       user = postfix
>       group = mail
>     }

And this is probably better off discussed on the dovecot list now that
you seem to have gotten postfix sorted out.

Although, since you expressed an intention to do spam filtering, I'd
suggest once you have resolved this problem come back here with a
postconf -n and ask for some hardening tips.  But you can start here:

http://linxnet.com/postfix_contrib.html

Simon



> 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
> myhostname                      = myserver.com
> inet_interfaces                 = localhost, $myhostname
> mynetworks                      = $config_directory/mynetworks
> relay_domains                   =
> proxy:mysql:$config_directory/mysql_relay_domains_maps.cf
> virtual_mailbox_base            = /var/vmail
> virtual_mailbox_domains         = bar.com another.com myserver.com
> virtual_mailbox_maps            = hash:/etc/postfix/vmailbox
> virtual_alias_maps              = hash:/etc/postfix/virtual
> virtual_minimum_uid             = 89
> virtual_uid_maps                = static:89
> virtual_gid_maps                = static:89
> virtual_transport               = dovecot
> dovecot_destination_recipient_limit = 1
> 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
> 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
>
> Please advise.
> TIA,
> Jack
>
>
Reply | Threaded
Open this post in threaded view
|

Re: I've Got To Be Close...

Jack Fredrikson

From: Simon Brereton <[hidden email]>
To: postfix users <[hidden email]>
Sent: Monday, October 24, 2011 12:02 PM
Subject: Re: I've Got To Be Close...

> And this is probably better off discussed on the dovecot list now that
> you seem to have gotten postfix sorted out.
>
> Although, since you expressed an intention to do spam filtering, I'd
> suggest once you have resolved this problem come back here with a
> postconf -n and ask for some hardening tips.  But you can start here:
>
> http://linxnet.com/postfix_contrib.html

Thanks Simon et.al :)
Jack