bensjomic1: > Thank you for your answer. > > That is what i exactly was doing, after 1,5 days of trying I still not > can find a solution. The problem is, that when I use the filter, > following the example of the documentation. I get a loop.
There are many ways that Postfix can report a loop. "I get a loop" is not sufficient to diagnose which loop scenario applies to you. If you want help then you need to show the logfile records for abnormal mail handling, and the configuration that is responsible for the logs. The master.cf fragment below is not sufficient. Wietse > After trying many different ways i can not find the reason why the > server is doing. > > If i get the loop, it use the filterscript. And save the file (10 times) > then it returns the e-mail with a message that it have too many loops. > > This parts can in my server only handle the filter: > > 127.0.0.1:10025 inet n - - - - smtpd > -o content_filter=filter-pipe:dummy > -o local_recipient_maps= > -o relay_recipient_maps= > -o smtpd_restriction_classes= > -o smtpd_delay_reject=no > -o smtpd_tls_security_level=none > -o smtpd_client_restrictions=permit_mynetworks,reject > -o smtpd_helo_restrictions= > -o smtpd_sender_restrictions= > -o smtpd_recipient_restrictions=permit_mynetworks,reject > -o smtpd_end_of_data_restrictions= > -o mynetworks_style=host > -o mynetworks=127.0.0.0/8 > -o strict_rfc821_envelopes=yes > -o smtpd_error_sleep_time=0 > -o smtpd_soft_error_limit=1001 > -o smtpd_hard_error_limit=1000 > -o smtpd_client_connection_count_limit=0 > -o smtpd_client_connection_rate_limit=0 > -o > receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_address_mappings > > But every time it comes in a loop. > > The only 3 options i get is that it or handle the filter and start a > loop, or the filter is ignored or the mail not end anymore in the mailbox. > > What can it be? > > Michael > > > On 01/28/2014 01:29 PM, Wietse Venema [via Postfix] wrote: > > bensjomic1: > > > Since I use this confuration mail will be not deliverd and also not > > stored. > > > Sometimes it ignores the filter and go directly in the mailbox. > > > > My advice: go back to the working configuration. > > > > Make a first change, and verify that it works. > > > > Then make the second change, and verify that it works. > > > > Do not make a change before the previous change works. > > > > Crucially, look at the LOGFILE, both with "good" deliveries and > > bad. > > > > Wietse > > > > > > ------------------------------------------------------------------------ > > If you reply to this email, your message will be added to the > > discussion below: > > http://postfix.1071664.n5.nabble.com/Problem-with-postfix-pipe-a-mail-tp64699p64700.html > > > > > > To unsubscribe from Problem with postfix pipe a mail, click here > > <http://postfix.1071664.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=64699&code=bWljaGFlbEBtdGlqaHVpcy5ubHw2NDY5OXw2NDE2NjEyNTY=>. > > NAML > > <http://postfix.1071664.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > > > > > > > > > > -- > View this message in context: > http://postfix.1071664.n5.nabble.com/Problem-with-postfix-pipe-a-mail-tp64699p64701.html > Sent from the Postfix Users mailing list archive at Nabble.com. >