its ok its well that
postconf -n
[r...@r13151 ~]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
fallback_transport = lmtp:unix:/var/lib/imap/socket/lmtp
header_checks = regexp:/etc/postfix/header_checks
home_mailbox = Maildir/
html_directory = no
in_flow_delay = 1s
inet_interfaces = all
local_recipient_maps = unix:passwd.byname $alias_maps
luser_relay = admin+$local
mail_spool_directory = /var/spool/mail
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = fakessh.eu
mynetworks = 192.168.0.0/24, 127.0.0.0/8 ,87.98.186.232
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
relay_domains = 
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
smtpd_client_restrictions = permit_mynetworks , permit
smtpd_recipient_restrictions = permit_mynetworks permit_inet_interfaces
permit_sasl_authenticated permit_mx_backup  permit_mynetworks
permit_sasl_authenticated reject_unauth_destination
smtpd_reject_unlisted_sender = no
smtpd_sasl_auth_enable = yes
unknown_local_recipient_reject_code = 550
virtual_alias_domains = fakessh.eu renelacroute.fr swilting.biz
virtual_alias_maps = hash:/etc/postfix/virtual
[r...@r13151 ~]# 

Le lundi 05 janvier 2009 à 17:27 -0600, Noel Jones a écrit :
> swilting wrote:
> > I had trouble with relay access denied
> > 
> > 
> > 
> > when do you
> > 
> > postconf -n
> > 
> > [r...@r13151 ~]# postconf -n
> 
> > smtpd_client_restrictions = permit_mynetworks , permit
> 
> No, remove the above parameter from main.cf.
> 
> > smtpd_recipient_restrictions = permit_mynetworks permit_inet_interfaces
> > permit_sasl_authenticated permit_mx_backup check_relay_domains
> 
> No, permit_inet_interfaces is not needed here and should not 
> be used in this context.   check_relay_domains is deprecated 
> and should not be used at all.
> 
> Correct:
> 
> smtpd_recipient_restrictions =
>    permit_mynetworks
>    permit_sasl_authenticated
>    reject_unauth_destination
> 
> > mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
> > mydomain = fakessh.eu
> ...
> > virtual_alias_domains = fakessh.eu
> 
> You still have fakessh.eu listed in both mydestination (via 
> the $mydomain variable) and virtual_alias_domains.  Don't do 
> that.  If you are delivering mail locally you should remove 
> the virtual_alias_domains parameter from main.cf.
> 
> 


Reply via email to