Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1578
  • Last Modified:

Postfix illegal address syntax

I'd like to allow for postfix to accept mail from user@1.2.3.4 but it currently rejects with a warning: Illegal address syntax from localhost.localdomain[127.0.0.1] in MAIL command: <anonymous@1.2.3.4>.
I am sure there is a switch in main.cf that can be turned on or off - anybody?
0
mtasking
Asked:
mtasking
1 Solution
 
WizRd-LinuxCommented:
change strict_rfc821_envelopes = yes to strict_rfc821_envelopes = no

Not recommended as it obviously breaks the rfc, but if your desperate, this should fix the issue.  Alternatively the admin at the other end needs to make their server compliant.

I'm pretty sure it doesn't like the ip address.
0
 
mtaskingAuthor Commented:
Thank you for your answer which is 100% correct and what I was looking for; I added this swich to my main.cf - unfortunately it did not solve my problem. I try to pick up voice mail from a corporate MBX via Fetchmail/IMAP -> Postfix. Fetchmail picks up correctly but postfix still won't deliver propably due to grossly distored mail envelopes. The sender is a 1234@1.2.3.4 (extension@mbx-ip) which postfix is not all too happy with. I will keep digging and may open a new question. Again, thanks for your help.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now