Nagios (OP5) Postfix, Client does not have permissions to send as this sender - but testmail work

4,934

The error message from exchange was pretty clear here

550 5.7.1 Client does not have permissions to send as this sender

It means exchange only permitted your host to send email with sender [email protected]. Unfortunately notification email use [email protected] as sender address.

From OP5 Knowledge Base, there two options to solve your problem

Share:
4,934

Related videos on Youtube

Gbenga B Ayannuga
Author by

Gbenga B Ayannuga

Updated on September 18, 2022

Comments

  • Gbenga B Ayannuga
    Gbenga B Ayannuga over 1 year

    i am this as i convert to Null- safety, and i keep getting this error

    error

    here is my code

    try {
          final AuthorizationResult appleResult =
              await TheAppleSignIn.performRequests([
            AppleIdRequest(requestedScopes: [Scope?.email, Scope?.fullName])
          ]);
          if (appleResult.error != null) {
            // handle errors from Apple here
          }
    
          final AuthCredential credential = OAuthProvider('apple.com').credential(
            accessToken:
                String.fromCharCodes(appleResult.credential!.authorizationCode),//here the error coming out.... i have also try Uint8List.fromList but still showing the error
            idToken: String.fromCharCodes(appleResult.credential!.identityToken),//here the error coming out.... i have also try Uint8List.fromList but still showing the error
          );
          final firebaseResult = await auth.signInWithCredential(credential);
          users = firebaseResult.user;
          if (users == null) {
            return false;
          }
          return true;
        } catch (error) {
          print(error);
          return false;
        }
    

    i have also try

    Uint8List.from()

    • masegaloeh
      masegaloeh about 9 years
      Post the output of grep 04FDB80C87 maillog and grep E6D2D80D33 maillog
    • jamesdlin
      jamesdlin almost 3 years
      Your problem is that String.fromCharCodes expects an Iterable<int>, but (appleResult.credential!.authorizationCode and appleResult.credential!.identityToken are Uint8List?. Using Uint8List.from won't help you because that works in the wrong direction. You need to check that your Uint8List? values aren't null first.
    • Gbenga B Ayannuga
      Gbenga B Ayannuga almost 3 years
      how will i check the ? Uint8List? i have post my code, please can restructure the code @jamesdlin
    • jamesdlin
      jamesdlin almost 3 years
      If you know that should not be null, then you can use .authorizationCode! and .identityToken!. Otherwise you will need to specify a default value to use if they are null (e.g. .authorizationCode ?? []) or add explicit checks. See stackoverflow.com/q/60068435.
  • user276909
    user276909 about 9 years
    The first option, i have already done. But the second solve my problem. Thank you very much for your help!!