Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-22-2010, 05:16 PM
Special Member
 
Posts: 103
Default [SOLVED] Could not send message: mail.SEND_FAILURE...Invalid Addresses

Hey Everyone,

We just upgraded from ZCS 5.0.18 to 6.0.5 last Thursday. Ever since then, some users periodically encounter problems sending mail to outside addresses. I cannot figure out a pattern on why this is happening. It happens when creating a new message and when replying. Users receive an error message indicating invalid addresses...but (especially when clicking reply) as far as I can tell there aren't any invalid addresses.

Here is an example:

Example 1:

Code:
Could not send message: mail.SEND_FAILURE
method:	SendMsgRequest
msg:	SMTP server reported: Invalid Addresses
code:	mail.SEND_FAILURE
detail:	soap:Sender
trace:	btpool0-4370://mail.ourserver.org/service/soap/SendMsgRequest:1266885067376:058a757e7e76eb96
request:	

Body: {
  SendMsgRequest: {
    _jsns: "urn:zimbraMail",
    m: {
      e: [
        0: {
          a: "recipient@theirserver.org",
          p: "Suzanne Recipient",
          t: "t"
         },
        1: {
          a: "sender@ourserver.org",
          p: "Jim Sender",
          t: "f"
         }
       ],
      idnt: "357bc018-9664-4e3f-841d-ab8fabfa9a4d",
      irt: {
        _content: "<17018994.5290.1266884930686.JavaMail.root@cottontail>"
       },
      mp: [
        0: {
          content: {
            _content:

 Content removed for privacy...I don't think it's important anyway.

"
           },
          ct: "text/plain"
         }
       ],
      su: {
        _content: "Re: Subject"
       }
     },
    suid: 1266885066892
   }
 },
Header: {
  context: {
    _jsns: "urn:zimbra",
    account: {
      _content: "sender@ourserver.org",
      by: "name"
     },
    authToken: "(removed)",
    notify: {
      seq: 27
     },
    session: {
      _content: 18777,
      id: 18777
     },
    userAgent: {
      name: "ZimbraWebClient - FF3.0 (Mac)",
      version: "6.0.5_GA_2213.DEBIAN4.0"
     }
   }
 }
We've NEVER had this problem before, and it's happening with e-mail addresses that people have successfully been e-mailing for a long while. In some cases, if a user tries multiple times (closes e-mail, deletes draft, re-replies or re-creates e-mail), they're successful...but most of the time they are not.

I worked with a user having this problem and couldn't find any logical reason why it was happening. Nothing stuck out as a possible reason why Zimbra was having trouble. Most of the time it wouldn't work, sometimes it would. The user who was encountering this problem could send/recieve e-mail from many other outside e-mail addresses just fine.

The weirdest thing is that, in some cases, a user will have trouble replying to a message sent to them by the affected address, but they can compose a new message and there is a 50/50 change it'll work. Vice versa as well.

I should mention that the upgrade also involved moving to LVM and expanding storage for Zimbra, so I had to copy Zimbra from one partition to another. I used "cp --archive" could this be an issue? Is there a way to verify all ownerships and permissions are correct?

Where do I start to troubleshoot this?! Any help would be GREATLY appreciated!

Last edited by thunder04; 02-22-2010 at 05:42 PM..
Reply With Quote
  #2 (permalink)  
Old 02-23-2010, 06:14 AM
Outstanding Member
 
Posts: 594
Default

Do you have any recipient checks enabled on MTA ?
Reply With Quote
  #3 (permalink)  
Old 02-23-2010, 06:16 AM
Outstanding Member
 
Posts: 594
Default

somehow it appears to me to be a problem of reject_unverified_recipient
Reply With Quote
  #4 (permalink)  
Old 02-23-2010, 08:36 AM
Special Member
 
Posts: 103
Default

Hmm. I do. Here's my postfix_recipient_restrictions.cf file:

Code:
reject_non_fqdn_recipient
reject_unknown_recipient_domain
reject_unverified_recipient
permit_sasl_authenticated
permit_mynetworks
reject_unauth_destination
reject_unlisted_recipient
check_policy_service inet:127.0.0.1:60000
%%contains VAR:zimbraMtaRestriction reject_invalid_hostname%%
%%contains VAR:zimbraMtaRestriction reject_non_fqdn_hostname%%
%%contains VAR:zimbraMtaRestriction reject_non_fqdn_sender%%
%%contains VAR:zimbraMtaRestriction reject_unknown_client%%
%%contains VAR:zimbraMtaRestriction reject_unknown_hostname%%
%%contains VAR:zimbraMtaRestriction reject_unknown_sender_domain%%
%%explode reject_rbl_client VAR:zimbraMtaRestrictionRBLs%%
%%contains VAR:zimbraMtaRestriction check_policy_service unix:private/policy%%
permit
I will remove "reject_unverified_recipient" to see if this helps. Does anybody know why this would suddenly be causing a problem?
Reply With Quote
  #5 (permalink)  
Old 02-24-2010, 07:22 AM
Special Member
 
Posts: 103
Default

Well, the good news is that removing "reject_unverified_recipient" from postfix_recipient_restrictions.cf has seemed to solved the problem. I've asked a few of the users who were having trouble to try again, and they all were successful. Hopefully I'm not premature in stating that it's fixed!

I am curious, though, on why reject_unverified_recipient was causing this problem. Does anybody have any idea?
Reply With Quote
  #6 (permalink)  
Old 02-24-2010, 10:04 AM
Outstanding Member
 
Posts: 594
Default

Its because setting "reject_unverified_recipient" would make postfix send a verification notification to the recipient MTA server which recipient MTA needs to acknowledge. Many MTa don't do that causing mails to be deferred.
Reply With Quote
  #7 (permalink)  
Old 02-24-2010, 10:28 AM
Moderator
 
Posts: 7,928
Default

As Veronica has said that will happen so that unnecessary backscatter is stopped.
__________________
Reply With Quote
  #8 (permalink)  
Old 02-24-2010, 05:53 PM
Special Member
 
Posts: 103
Default

Aha! That makes perfect sense. Thank you for your help!!!
Reply With Quote
  #9 (permalink)  
Old 05-19-2011, 02:11 AM
Intermediate Member
 
Posts: 22
Default

Hi All

I have the same error, i trying to configure RestrictPostfixRecipient

My out put of postfix_recipient_restriction.cf is below

check_recipient_access hash:/opt/zimbra/postfix/conf/protected_recipients
reject_non_fqdn_recipient
permit_sasl_authenticated
permit_mynetworks
reject_unauth_destination
reject_unlisted_recipient
%%contains VAR:zimbraMtaRestriction reject_invalid_hostname%%
%%contains VAR:zimbraMtaRestriction reject_non_fqdn_hostname%%
%%contains VAR:zimbraMtaRestriction reject_non_fqdn_sender%%
%%contains VAR:zimbraMtaRestriction reject_unknown_client%%
%%contains VAR:zimbraMtaRestriction reject_unknown_hostname%%
%%contains VAR:zimbraMtaRestriction reject_unknown_sender_domain%%
%%explode reject_rbl_client VAR:zimbraMtaRestrictionRBLs%%
%%contains VAR:zimbraMtaRestriction check_policy_service unixrivate/policy%%
permit

Please help in resolving the issues.
Reply With Quote
  #10 (permalink)  
Old 04-12-2012, 11:11 AM
Member
 
Posts: 12
Default

Hi all,

I came to this thread because i am having the same issue. Looking at my postfix_recipient_restrictions.cf config i do not have the reject_unverified_recipient entry. I have also noticed that if i retry a few times to send the message that it does get send. My postfix_recipient_restrictions.cf looks as followed:

%%contains VAR:zimbraServiceEnabled cbpolicyd, check_policy_service inet:127.0.0.1:10031%%
reject_non_fqdn_recipient
permit_sasl_authenticated
permit_mynetworks
reject_unauth_destination
reject_unlisted_recipient
%%contains VAR:zimbraMtaRestriction reject_invalid_hostname%%
%%contains VAR:zimbraMtaRestriction reject_non_fqdn_hostname%%
%%contains VAR:zimbraMtaRestriction reject_non_fqdn_sender%%
%%contains VAR:zimbraMtaRestriction reject_unknown_client%%
%%contains VAR:zimbraMtaRestriction reject_unknown_hostname%%
%%contains VAR:zimbraMtaRestriction reject_unknown_sender_domain%%
%%explode reject_rbl_client VAR:zimbraMtaRestrictionRBLs%%
%%contains VAR:zimbraMtaRestriction check_policy_service unixrivate/policy%%
permit

The problem started suddenly without a single change to the system and I have no idea were to start looking.

I hope somebody can help me with how to troubleshoot this issue
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.