{"id":1734,"date":"2022-08-30T15:19:00","date_gmt":"2022-08-30T15:19:00","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/29\/problem-about-postfixadmin-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:19:00","modified_gmt":"2022-08-30T15:19:00","slug":"problem-about-postfixadmin-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/problem-about-postfixadmin-collection-of-common-programming-errors\/","title":{"rendered":"problem about postfixadmin-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/5f2d14cbe399c394f2cf5bd5b5be8edc?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nfefe<br \/>\nmysql postfix dovecot postfixadmin<br \/>\nI have been setting up an email server based on this tutorial on ubuntu 12.04 with MySQL virtualuser. After having problems with postgray I&#8217;m again in that situation that I don&#8217;t know where should I search to debug my problem properly. Sending email from my servers mailbox to another account is working, for example Gmail. If I answer on than it is not going to be delivered. MAILER-DAEMON is returning the following unknown user: &#8220;myname&#8221;. the mail.err on dovecot restartJan 22 10:54:41 h2004156 do<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/963bb94a1586a907d0034d98c79e6fb8?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nShasteriskt<br \/>\npostfix smtp pam postfixadmin saslauthd<br \/>\nI am building a mail server using Postfix, and set up the authentication to check against a database set-up using Postfixadmin.I can authenticate via Courier IMAP okay, as it can authenticate against the hashed password properly, but I am suspecting that my SASL + PAM-MySQL SMTP authentication mechanism cannot.I am getting these errors in \/var\/log\/mail.log:pam_unix(smtp:auth): check pass; user unknown Aug 22 03:23:08 omitted saslauthd[26402]: pam_unix(smtp:auth): authentication failure; logname=<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/fe18861e3536bea578b949d90199bf4a?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nTiddo<br \/>\ncentos postfix email dovecot postfixadmin<br \/>\nI am configuring postfix and dovecot on my server, but for some reason I can&#8217;t receive mails. I&#8217;ve followed these instructions for configuring the mailserver. I&#8217;ve tested with pingability.com that port 25 is open (didn&#8217;t get any errors for the mail), and I am able to send mails. I just can&#8217;t recieve them, I don&#8217;t see them in the maildir and I don&#8217;t see them on squirrelmail.I am not really a linux expert, so can anyone help me to resolve this problem?My OS is CentOS 5.5edit1: According to the log<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d3994985529243119434fb847396b6d5?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nskerit<br \/>\npostfix postfixadmin<br \/>\nI thought I understood &#8220;Alias domains&#8221; as that it&#8217;s simply an alias for another domain! So when I set up a mailbox like &#8220;info@main.com&#8221;, and add &#8220;alias.com&#8221; as a domain alias for &#8220;main.com&#8221; the address &#8220;info@alias.com&#8221; would also work&#8230; But no!So, I&#8217;ve added these domains:main.com alias.comI&#8217;ve created this mailbox:info@main.comThen I mapped these alias domains:alias.com =&gt; main.comAnd then when I send a mail to info@alias.com I receive this error:Recipient address rejected: User unknown in vir<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/0d9097cc0e89b441e4f5f95067b063a5?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJm Cruz<br \/>\nmysql postfixadmin<br \/>\nThis is my first time running a postfixadmin, so in my setup.php, I&#8217;m getting this errorDEBUG INFORMATION: Invalid query: Unknown column &#8216;create_date&#8217; in &#8216;mailbox&#8217;I&#8217;m running it with MySQL.So if i&#8217;m right, my guess is that i need to create a column? under mailbox table on the postfix database? but how or whats the right syntax into creating a timedate column? My knowledge with mysql and postfix are very minimal btw. Thanks in advance.<\/li>\n<\/ul>\n<p id=\"rop\"><small>Originally posted 2013-11-29 12:56:33. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>fefe mysql postfix dovecot postfixadmin I have been setting up an email server based on this tutorial on ubuntu 12.04 with MySQL virtualuser. After having problems with postgray I&#8217;m again in that situation that I don&#8217;t know where should I search to debug my problem properly. Sending email from my servers mailbox to another account [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1734","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1734","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1734"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1734\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1734"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1734"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1734"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}