Re: Postfix Problem (urgent)
> Raciel Perez Hernandez wrote: >> Helo list I have postfix installed and working, it only have a problem, >> I >> connect to internet trougth a leased line of 144Kbs but this line >> sometimes gets unstable and goes down, so if the connection is down and >> somebody try to send a message, postfix tells me (Server replied: 450 >> <[EMAIL PROTECTED]>: Recipient address rejected: Domain not >> found) >> and reject the message, I put this two lines on the main.cf file without >> any results disable_dns_lookups=yes and deffer_transport=smtp but >> postfix >> do not hear me, I need postfix put mail on the queue even if is >> connected >> or not, rigth now it represent a big problem to me Best Regards. >> There is my main.cf file. >> >> smtpd_recipient_restrictions = >> reject_invalid_hostname, >> reject_non_fqdn_sender, >> reject_non_fqdn_recipient, >> reject_unknown_sender_domain, >> reject_unknown_recipient_domain, >> check_sender_access proxy:mysql:/etc/postfix/mysql-sender-access.cf, >> permit_sasl_authenticated, permit_mynetworks, >> #reject_unauth_destination, >> #permit_sasl_authenticated, >> reject_unauth_pipelining, >> reject > > The problem is the order of your recipient restrictions. Move > permit_sasl_authenticated and permit_mynetworks above > reject_unknown_sender_domain. > > Jim > > Jim thanks you very much you rigth my recipient restriction had the problem you tell me, I correct the main.cf how you tell me and now postfix works the I wan it thanks you again. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Postfix Problem (urgent)
Raciel Perez Hernandez wrote: Helo list I have postfix installed and working, it only have a problem, I connect to internet trougth a leased line of 144Kbs but this line sometimes gets unstable and goes down, so if the connection is down and somebody try to send a message, postfix tells me (Server replied: 450 <[EMAIL PROTECTED]>: Recipient address rejected: Domain not found) and reject the message, I put this two lines on the main.cf file without any results disable_dns_lookups=yes and deffer_transport=smtp but postfix do not hear me, I need postfix put mail on the queue even if is connected or not, rigth now it represent a big problem to me Best Regards. There is my main.cf file. smtpd_recipient_restrictions = reject_invalid_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, check_sender_access proxy:mysql:/etc/postfix/mysql-sender-access.cf, permit_sasl_authenticated, permit_mynetworks, #reject_unauth_destination, #permit_sasl_authenticated, reject_unauth_pipelining, reject The problem is the order of your recipient restrictions. Move permit_sasl_authenticated and permit_mynetworks above reject_unknown_sender_domain. Jim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Postfix Problem (urgent)
Helo list I have postfix installed and working, it only have a problem, I connect to internet trougth a leased line of 144Kbs but this line sometimes gets unstable and goes down, so if the connection is down and somebody try to send a message, postfix tells me (Server replied: 450 <[EMAIL PROTECTED]>: Recipient address rejected: Domain not found) and reject the message, I put this two lines on the main.cf file without any results disable_dns_lookups=yes and deffer_transport=smtp but postfix do not hear me, I need postfix put mail on the queue even if is connected or not, rigth now it represent a big problem to me Best Regards. There is my main.cf file. # Global Postfix configuration file. This file lists only a subset # of all 300+ parameters. See the postconf(5) manual page for a # complete list. # # The general format of each line is: parameter = value. Lines # that begin with whitespace continue the previous line. A value can # contain references to other $names or ${name}s. # # NOTE - CHANGE NO MORE THAN 2-3 PARAMETERS AT A TIME, AND TEST IF # POSTFIX STILL WORKS AFTER EVERY CHANGE. # SOFT BOUNCE # # The soft_bounce parameter provides a limited safety net for # testing. When soft_bounce is enabled, mail will remain queued that # would otherwise bounce. This parameter disables locally-generated # b ounces, and prevents the SMTP server from rejecting mail permanently # (by changing 5xx replies into 4xx replies). However, soft_bounce # is no cure for address rewriting mistakes or mail routing mistakes. # #soft_bounce = yes # LOCAL PATHNAME INFORMATION # # The queue_directory specifies the location of the Postfix queue. # This is also the root directory of Postfix daemons that run chrooted. # See the files in examples/chroot-setup for setting up Postfix chroot # environments on different UNIX systems. # queue_directory = /var/spool/postfix # The command_directory parameter specifies the location of all # postXXX commands. # command_directory = /usr/sbin # The daemon_directory parameter specifies the location of all Postfix # daemon programs (i.e. programs listed in the master.cf file). This # directory must be owned by root. # daemon_directory = /usr/libexec/postfix # QUEUE AND PROCESS OWNERSHIP # # The mail_owner parameter specifies the owner of the Postfix queue # and of most Postfix daemon processes. Specify the name of a user # account THAT DOES NOT SHARE ITS USER OR GROUP ID WITH OTHER ACCOUNTS # AND THAT OWNS NO OTHER FILES OR PROCESSES ON THE SYSTEM. In # particular, don't specify nobody or daemon. PLEASE USE A DEDICATED # USER. # mail_owner = postfix # The default_privs parameter specifies the default rights used by # the local delivery agent for delivery to external file or command. # These rights are used in the absence of a recipient user context. # DO NOT SPECIFY A PRIVILEGED USER OR THE POSTFIX OWNER. # #default_privs = nobody # INTERNET HOST AND DOMAIN NAMES # # The myhostname parameter specifies the internet hostname of this # mail system. The default is to use the fully-qualified domain name # from gethostname(). $myhostname is used as a default value for many # other configuration parameters. # myhostname = Myhostname.com #myhostname = virtual.domain.tld # The mydomain parameter specifies the local internet domain name. # The default is to use $myhostname minus the first component. # $mydomain is used as a default value for many other configuration # parameters. # #mydomain = domain.tld mydomain = Mydomain.cu # SENDING MAIL # # The myorigin parameter specifies the domain that locally-posted # mail appears to come from. The default is to append $myhostname, # which is fine for small sites. If you run a domain with multiple # machines, you should (1) change this to $mydomain and (2) set up # a domain-wide alias database that aliases each user to # [EMAIL PROTECTED] # # For the sake of consistency between sender and recipient addresses, # myorigin also specifies the default domain name that is appended # to recipient addresses that have no @domain part. # #myorigin = $myhostname #myorigin = $mydomain # RECEIVING MAIL # The inet_interfaces parameter specifies the network interface # addresses that this mail system receives mail on. By default, # the software claims all active interfaces on the machine. The # parameter also controls delivery of mail to [EMAIL PROTECTED] # # See also the proxy_interfaces parameter, for network addresses that # are forwarded to us via a proxy or network address translator. # # Note: you need to stop/start Postfix when this parameter changes. # #inet_interfaces = all #inet_interfaces = $myhostname #inet_interfaces = $myhostname, localhost # The proxy_interfaces parameter specifies the network interface # addresses that this mail system receives mail on by way of a # proxy or network address translation unit. This setting extends # the address list specified with the inet_interfaces parameter. # # You must specify your proxy/NAT addresses when