Amavis-new And Mysql

Home » CentOS » Amavis-new And Mysql
CentOS No Comments

Trying to figure this out, as it worked on my old server, but lots is different on my new server….

I forgot the mysql connection for amavis-new in my new mailserver, as none of the tutorials I was pouring through mentioned this, even though they claim they supported virtual domains

Maybe amavis-new has gotten smart enough to recognize a domain as not the one describe and suspect relaying. Anyway…

in /etc/amavis/amavis.conf I added:

@lookup_sql_dsn ( [‘DBI:mysql:database=postfix;host7.0.0.1;port306’, ‘postfix’,
‘password’] );

but am getting in maillog:

Nov 20 09:15:10 z9m9z postfix/error[3237]: AC81A62159:
to=, relay=none, delay=1, delays=0.99/0/0/0.05, dsn=4.4.2, status