DSN: Improper sequence of commands in postfix 2.5.4
Hi! I'm using Postfix 2.5.4 and it worked well. Thanks ;-) One of my academic user received this error message Google didn't help me much Do you know what can cause this failure ? Is it cause by my server ? Thanks, Eddy Sujet : Delivery Status Notification (Failure) Date : Thu, 12 Feb 2009 11:55:31 -0800 De :postmas...@hotmail.com Pour : remov...@hec.ca This is an automatically generated Delivery Status Notification. Delivery to the following recipients failed. remov...@hotmail.com Reporting-MTA: dns;bay0-imc3-s4.bay0.hotmail.com Received-From-MTA: dns;COl0-MC4-F43.Col0.hotmail.com Arrival-Date: Thu, 12 Feb 2009 11:37:57 -0800 Final-Recipient: rfc822;u...@hotmail.com Action: failed Status: 5.5.0 Diagnostic-Code: smtp;503 Improper sequence of commands
Re: DSN: Improper sequence of commands in postfix 2.5.4
Message original Sujet : Re: DSN: Improper sequence of commands in postfix 2.5.4 De : wie...@porcupine.org (Wietse Venema) Pour : Eddy Beliveau eddy.beliv...@hec.ca Copie à : postfix-users@postfix.org Date : 2009-02-13 12:19 Eddy Beliveau: Hi! I'm using Postfix 2.5.4 and it worked well. Thanks ;-) One of my academic user received this error message Google didn't help me much Do you know what can cause this failure ? Is it cause by my server ? Reporting-MTA: dns;bay0-imc3-s4.bay0.hotmail.com Received-From-MTA: dns;COl0-MC4-F43.Col0.hotmail.com Is your machine called COl0-MC4-F43.Col0.hotmail.com? Wietse Hi! Wietse, Many thanks for your reply. Of course not, this is not one of our servers. ;-) I was just wondering what is the cause of that Improper sequence of commands reply. It seems that the problem is between CO10-MC4-F43.Col0.hotmail.com and bay0-icm3-s4.bay0.hotmail.com If so, my server has nothing to do with it. Is there something that I can do on my end side to correct this behaviour ? Thanks again Eddy
How to reject mispelled recipient domain
Hi! We are using Postfix 2.5.4 with success. Thanks ;-) My question is: We have many students who send emails to mispelled domains, as: hotmmail.com, hotmial.com, hotmail.cm ... I know that I can try to find all individual combinations and write them in some reject file to be used in check_recipient_access Is there some way to define a rule based on phonetic or another solution which detect mispelled words ? Many of those mispelled domains also gives: (Host or domain name not found. Name service error for name=htomail.com type=MX: Host not found, try again) x...@htomail.com I also try to reject them at that level but they are still going in my deferred queue smtpd_recipient_restrictions = reject_non_fqdn_recipient reject_unknown_recipient_domain permit_mynetworks permit_sasl_authenticated reject smtpd_sender_restrictions = permit_mynetworks reject_non_fqdn_sender reject_invalid_hostname reject_unauth_pipelining reject_unknown_sender_domain reject_unlisted_sender Thanks, Eddy -- Eddy Beliveau HEC Montreal Montreal (Quebec) Canada
Delivery problem when recipient address has a trailing period character (postfix 2.5.4)
Hi! I'm using postfix 2.5.4 on our academic server and it worked great. Thanks ;-) I created a mailbox associated with an email address of t...@hec.ca # echo t...@hec.ca | postmap -q - ldap:ldap_users t...@hec.ca mailtest1 and delivery to it work correctly. Jan 15 08:56:20 postfix postfix/lmtp[25990]: 20DA1BAFC5: to=mailte...@hec.ca, orig_to=t...@hec.ca, relay=cyrus[132.111.1.1]:24, delay=0.09, delays=0.04/0/0/0.05, dsn=2.1.5, status=sent (250 2.1.5 Ok) Now, I create another mailbox with email te...@hec.ca (note the period preceding the at sign) # echo te...@hec.ca | postmap -q - ldap:ldap_users te...@hec.camailtest2 Now, delivery failed with: Jan 15 08:57:30 postfix postfix/lmtp[24689]: E90ACBAFC2: to=te...@hec.ca, relay=cyrus[132.111.1.1]:24, delay=0.18, delays=0.12/0.02/0.01/0.04, dsn=5.1.1, status=bounced (host cyrus[132.111.1.1] said: 550-Mailbox unknown. Either there is no mailbox associated with this 550-name or you do not have authorization to see it. 550 5.1.1 User unknown (in reply to RCPT TO command)) Did I missed something ? Thanks, Eddy -- Eddy Beliveau HEC Montreal Montreal (Quebec) Canada
How can I override previous FILTER action
Hi! Networkers, I'm using postfix 2.5.4 and it works perfectly. Thanks ;-) / /25 - 10024 - 10025/ /I add FILTER action within my header_checks file and it works correctly. My header_checks file contains: /^some-special-header/ FILTER my-filter 25 - 10024 - 10025 - 10027 - 10025 During execution, my-filter append the header my-filter-been-there: Yes so, I want to NOT execute my-filter if that header is present. otherwise, I will get the infamous too many hops error message. Documentation said: /In the case that multiple *FILTER* actions fire, only the last one is executed. /I try without success to override previously defined FILTER /^some-special-header/ FILTER my-filter /^my-filter-been-there: Yes/ FILTER none Can it be done ? How can I remove the current FILTER action ? Thanks in advance, Eddy Eddy Beliveau HEC Montreal Montreal (Quebec) Canada
exclude some senders from anvil restriction
Hi! I'm using postfix 2.5.4 and it works great :-) I'm using the following parameters to limit traffic on my server: smtpd_client_connection_rate_limit = 10 anvil_rate_time_unit = 60s smtpd_client_event_limit_exceptions not defined, so default=$mynetworks I know that any client registered in smtpd_client_event_limit_exceptions are excluded from this restriction I would like to exclude some senders based on their sender email address, NOT on their IP address . Can it be done ? Any pointers will be appreciated. Workaround ? Using maps ? Thanks Eddy -- Eddy Beliveau HEC Montreal Montreal (Quebec) Canada
Re: When is the received for Header inserted
Hi! You can add the following single line to your header_check_file: /^(Received:.*for.).*(@netcore.co.in.*)$/ REPLACE {1}hidden${2} /etc/postfix/main.cf must contains: header_checks = regexp:/etc/postfix/header_checks Check that /etc/postfix/master.cf does not contains, for your services: -o receive_override_options=no_header_body_checks Restart postfix, it should works Eddy Message original Sujet : When is the received for Header inserted De : ram [EMAIL PROTECTED] Pour : postfix-users@postfix.org Date : 2008-09-30 06:53 I would like to hide the recipient (alias) address in the header of the mail. Unfortunately the header on the mail contains received from for ... alias-id How can I configure postfix not to insert this header Thanks Ram -- Eddy Beliveau HEC Montreal Montreal (Quebec) Canada