Informational: conf CR_FILE file empty: /etc/mail/relay-domains Informational: conf CT_FILE file empty: /etc/mail/trusted-users Updating /etc/mail/access... WARNING: local host name (ixtmixilix) is not qualified; see cf/README: WHO AM I?
To reduce the amount of spam sent to Gmail, 050 550-5.7.1 this message has been blocked.
in add the lines: PUSHDIVERT(-1) ifdef(`DBMAIL_MAILER_PATH',, `ifdef(`DBMAIL_PATH', `define(`DBMAIL_MAILER_PATH', DBMAIL_PATH)', `define(`DBMAIL_MAILER_PATH', [IPC])')') _DEFIFNOT(`DBMAIL_MAILER_FLAGS', `hm [email protected]/:|') ifdef(`DBMAIL_MAILER_ARGS',, `define(`DBMAIL_MAILER_ARGS', `TCP $h 24')') POPDIVERT Mdbmail-local, P=DBMAIL_MAILER_PATH, F=_MODMF_(CONCAT(`DFM', DBMAIL_MAILER_FLAGS), `DBMAIL'), S=Env From SMTP/Hdr From SMTP, R=Env To SMTP, T=DNS/RFC822/SMTP, A=DBMAIL_MAILER_ARGS (ensure that there are no extra spaces before lines; sendmail is very finnicky when it comes to it’s sendmail.cf) add your local domains to local-host-names Type make in /etc/mail, and reload your sendmail.
dnl dnl The following allows relaying if the user authenticates, dnl and disallows plaintext authentication (PLAIN/LOGIN) on dnl non-TLS links.
I used Free BSD's ports system to compile the source.
I modified the Given the high flexibility of sendmail, there are many ways to use it with dbmail.
However, with a little time and patience, you too can become proficient enough with sendmail to make it accomplish everything you need.
Here's what I'll cover in this hack: Be warned, this is not a beginner's article.
Instead, it's the monster three-inch-wide kind with all the tools, most of which you have never seen before and have no idea what they do.
I just installed DBMail using the instructions here quickly and easily: As that website seems a little flakey, I will summarise the instructions here.
My install was with Free BSD but will also work for Linux.
The easiest method is to create a sendmail mailer definition for dbmail, and use the mailertable to deliver mail to dbmail on a per-domain basis.
This still allows for normal local delivery for other domains.