How can I configure the default mail sender properties on a debian server (with a mail transport agent of exim4, if it matters)?
I'm running a server (debian 5, the mta is exim4) hosted by rackspace. Rackspace mail uses outgoing sender address authentication, such that I can only send email from vetted "from" addresses.
Sending as, say, a local user results in a rejection:
SMTP<< 550 5.1.0 <firstname.lastname@example.org>: Sender address rejected: User unknown in relay recipient table SMTP<< 554 5.5.1 Error: no valid recipients SMTP>> QUIT LOG: MAIN ** email@example.com R=smarthost T=remote_smtp_smarthost: SMTP error from remote mail server after RCPT TO:<firstname.lastname@example.org>: host smtp.emailsrvr.com [xxxxxxx]: 550 5.1.0 <email@example.com>: Sender address rejected: User unknown in relay recipient table
Problem is, I'm using a really simple app (logcheck, http://packages.debian.org/unstable/logcheck ) in an attempt to simply email out logs to myself. Logcheck doesn't have any built-in configuration for where the mail get sent from.
So whatever is the default is getting set as, by the system, I need to configure it to make sure it's a vetted address. Where do I start?