Solved

Postfix illegal address syntax

Posted on 2009-05-12
2
1,388 Views
Last Modified: 2013-12-16
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
Comment
Question by:mtasking
2 Comments
 
LVL 13

Accepted Solution

by:
WizRd-Linux earned 500 total points
ID: 24370979
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
 

Author Closing Comment

by:mtasking
ID: 31580651
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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Import PST to Exchange using Power Shell new-mailboximportrequest command, you can simply import the PST file into Exchange mailbox or archived. To know How to import PST into Exchange  2013 read the complete article.
Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now