• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1523
  • 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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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