Talk:Complete Virtual Mail Server/Postfix to Database
Before creating a discussion or leaving a comment, please read about using talk pages. To create a new discussion, click here. Comments on an existing discussion should be signed using
~~~~
:
A comment [[User:Larry|Larry]] 13:52, 13 May 2024 (UTC) : A reply [[User:Sally|Sally]] 09:25, 5 November 2024 (UTC) :: Your reply ~~~~
Quotas
When I wrote this bit, I used an existing mail storage. As such, quota files where in each userdir and thus postfix vda may have gotten confused by this. Since at this stage, quota support isn't configured yet, e.g. postfix doesn't know how or where to check for them, things may get messed up. Enabling quota's as described later, it works as expected. Obviously disabling quota's all together will work just as well, as postfix won't care about quota's.
Actually 'testuser' was not used during this howto, I used it on my own production database, so some copy/paste/modify cycle may have gone wrong.
— The preceding unsigned comment was added by Oliver (talk • contribs) 29 November 2011
postfix/main.cf
$myhostname is needed for sending mail to gmx users, otherweise gmx bounces with: Sorry, your helo has been denied. 550 5.7.1 (http://portal.gmx.net/serverrules ) (in reply to RCPT TO command)
but, $myhhostname needs to be excluded from $mydestination, postfix bounced everything and gave the following error: postfix/trivial-rewrite[15109]: warning: do not list domain [DOMAIN] in BOTH mydestination and virtual_mailbox_domains
— The preceding unsigned comment was added by Pyromaniac (talk • contribs) 30 December 2011
MySQL
I'm adding the MySQL configuration to the wikki. I would like your opinion of something.
1. Add MySQL after PostgreSQL subparagraphs or; 2. Add MySQL paragraph and PostgreSQL paragraph and then cover the whole configuration?
There are two way of doing this. The first is what I'm doing now. elmar283 08-06-2014 — The preceding unsigned comment was added by Elmar283 (talk • contribs) 8 June 2014
virtual_mailbox_domains.cf
This part of the documentation ( virtual_mailbox_domains.cf ) looks like it includes a typo where we select for the description.
In Postfix Admin, the "description" field is optional.
Selecting for the domain may be the better approach.
query = SELECT domain FROM domain WHERE domain = '%s' AND backupmx = '0' AND active = '1';
— The preceding unsigned comment was added by Chicago (talk • contribs) 18 November 2014
- Spot on. Of course it won't work with description and in fact doesn't. Made the proposed change. — The preceding unsigned comment was added by Jake (talk • contribs) 29 April 2016
genericmailsql.sql
There are multiple problems with genericmailsql.sql
1. it is not found at http://www.gentoo.org/doc/en/files/genericmailsql.sql but rather at http://wwwold.gentoo.org/doc/en/files/genericmailsql.sql 2. it throws the following error
ERROR 1064 (42000) at line 12: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 6
Which probably is due to the fact that it's a 3.23.52 Server version file and is being used on a MySQL 5.6 installation
An update would be nice.
rico666 - 2015-06-24
— The preceding unsigned comment was added by Rico666 (talk • contribs) 24 June 2015
- I cannot reproduce ERROR 1064 for that link and instead get uncool 404. However, genericmailsql.sql can be downloaded without problems. --Charles17 (talk) 08:06, 25 June 2015 (UTC)
Mysql /usr/bin/mysql_install_db
/usr/bin/mysql_install_db is returning an error as the file isn't included anymore on new versions. The emerge sends a message at the end of mysql emerge:
* You might want to run: * "emerge --config =dev-db/mysql-5.6.34" * if this is a new install.
running the said command installs fine, user shall be warned of this change in Mysql in this handbook. — The preceding unsigned comment was added by Robotek (talk • contribs) 15 January 2017