title: postmap: warning: database /etc/postfix/sasl_passwd.db is older than source file /etc/postfix/sasl_passwd
body: <p>i am working on amazon aws ec2 on server ubuntu 18.04...i am trying to send mail using phpmailer ..when i click to send mail then it shows me mail sent message ...but i didn't received any mails. and when i go to the mail.log file to check what error it shows ..it shows following errors</p>
  <pre><code>postfix/smtp[32208]: warning: database /etc/postfix/sasl_passwd.db is older than source file /etc/postfix/sasl_passwd
  Nov  6 05:33:52 ip-172-31-16-223 postfix/smtp[32208]: ECD64BE5CC: to=&lt;archipatel20@gmail.com&gt;, relay=mail.uway.in[166.62.28.116]:587, delay=1.9, delays=0.01/0.02/1.6/0.23, dsn=5.0.0, status=bounced (host mail.uway.in[166.62.28.116] said: 550 SMTP AUTH is required for message submission on port 587 (in reply to RCPT TO command))
  Nov  6 05:33:52 ip-172-31-16-223 postfix/cleanup[32206]: C81D4BE60F: message-id=&lt;20201106053352.C81D4BE60F@ip-172-31-16-223.us-east-2.compute.internal&gt;
  Nov  6 05:33:52 ip-172-31-16-223 postfix/qmgr[32200]: C81D4BE60F: from=&lt;&gt;, size=2669, nrcpt=1 (queue active)
  Nov  6 05:33:52 ip-172-31-16-223 postfix/bounce[32210]: ECD64BE5CC: sender non-delivery notification: C81D4BE60F
  Nov  6 05:33:52 ip-172-31-16-223 postfix/qmgr[32200]: ECD64BE5CC: removed
  Nov  6 05:33:54 ip-172-31-16-223 postfix/smtp[32208]: C81D4BE60F: to=&lt;crm@uway.in&gt;, relay=mail.uway.in[166.62.28.116]:587, delay=1.8, delays=0/0/1.6/0.22, dsn=5.0.0, status=bounced (host mail.uway.in[166.62.28.116] said: 550 SMTP AUTH is required for message submission on port 587 (in reply to RCPT TO command))
  Nov  6 05:33:54 ip-172-31-16-223 postfix/qmgr[32200]: C81D4BE60F: removed
  </code></pre>
  <p>And also here is my php code for mail send:</p>
  <pre><code>&lt;?php 
  
  $output = 'here is my html code';
  
  if(isset($_POST[&quot;action&quot;]))
  {
  include('../conn.php');
  
  $getid = $_GET['id'];
  
  $queryd = &quot;SELECT * FROM `salary_sleep_gen` WHERE `id`='$getid'&quot;;
  
  $rund = mysqli_query($conn, $queryd);
  
  while ($rowd = mysqli_fetch_array($rund)) {
      $emaild = $rowd['email'];
      $monthbname = $rowd['month_name'];
      $yearb = $rowd['year'];
      $emp_nameb = $rowd['emp_name'];
  }
  include('pdf.php');
      $file_name = md5(rand()) . '.pdf';
      $html_code = '&lt;link rel=&quot;stylesheet&quot; href=&quot;bootstrap.min.css&quot;&gt;';
      $html_code .= fetch_customer_data($connect);
      $pdf = new Pdf();
      $pdf-&gt;load_html($html_code);
      $pdf-&gt;render();
      $file = $pdf-&gt;output();
      file_put_contents($file_name, $file);
      
  require 'class/class.phpmailer.php';
  
  
      //Create a new PHPMailer instance
     $mail = new PHPMailer();
  $mail-&gt;SMTPDebug = 0;
  $mail-&gt;IsMail();
  $mail-&gt;Host = 'localhost';
  $mail-&gt;Port = 25;
  $mail-&gt;ssl = false;
  $mail-&gt;authentication = false;
  $mail-&gt;addAddress($emaild);
  $mail-&gt;isHTML = true;
  $mail-&gt;From = 'hr@sorbeadindia.com';   //Sets the From email address for the message
   $mail-&gt;FromName = 'SORBEAD INDIA'; 
  
  $mail-&gt;AddAttachment($file_name);
  $mail-&gt;Subject = &quot;Salary Slip -&quot; . $monthbname.&quot; &quot;.$yearb;
  $mail-&gt;Body = &quot;html&quot;;
  $mail-&gt;AltBody = &quot;alt&quot;;
      //Read an HTML message body from an external file, convert referenced images to embedded,
      //convert HTML into a basic plain-text alternative body
      $mail-&gt;msgHTML(&quot;Salary Slip (&quot;.$emp_nameb.&quot;) -&quot;.$monthbname.&quot; &quot;.$yearb);
      //Replace the plain text body with one created manually
      $mail-&gt;AltBody = 'Salary Slip ('.$emp_nameb.') -'.$monthbname.' '.$yearb;
  
      //send the message, check for errors
      if (!$mail-&gt;send()) {
          $message = &quot;Mailer Error: &quot; . $mail-&gt;ErrorInfo;
      } else {
          $message =  &quot;Message sent!&quot;;
      }
  
      unlink($file_name);
  }
  
  ?&gt;
  </code></pre>
  <p>i am beginner for aws so Please help me and give some solution for this error.</p>