Is there a "verbose" setting?

"Jeffrey C. Dege" <[email protected]> Sun, 08 Jan 2012 11:54:49 -0600
Newsgroups gmane.mail.nullmailer
Message-ID <1326045289.28071.15.camel@desktop>
I'm trying to set up a new Linux Mint 12.0 install, which by default
installs nullmailer as a forward-only MTA.

I don't need anything other than a forward-only MTA, on this machine, so
I'm trying to get it to work.

First, I'm able to send emails from this machine using smtp-cli - a
command-line smtp forwarder.  So the connectivity is fine, I have the
right smtp hostname, user, password, etc.

My primary concern is getting things configured so that mails sent by
the standard Unix daemons (crond et al.) get sent to an external mail
account that I actually read.

I've installed mutt, to use as a tool for generating the emails.  When I
send an email using mutt, I see it show up
in /var/spool/nullmailer/queue, so I'm pretty sure it's communicating
with nullmailer properly.

So I've been sending emails to the addresses I want to test, and
watching /var/log/mail.log and /var/log/mail.err.

First problem was authentication.  I needed to add username and password
to /etc/nullmailer/remotes.

Second problem was domain names.  This machine doesn't have a meaningful
domain name.  I've been messing about with /etc/mailname and
with /etc/nullmailer/adminaddr, /etc/nullmailer/defaultdomain,
and /etc/nullmailer/me, until the outgoing mails are no longer being
rejected by the smtp server, for unknown domains, whether I send to
root, root@localhost, myaccount, myaccount@localhost, etc.  The emails
are being accepted by my ISPs smtp server.

But, and it's a big but, they never show up at the destination account.

So the question.  Does nullmailer have verbose debug configuration
options?  Is there something I can set in its configuration to tell it
to include more detail in its logging?  Most particularly, can I tell it
to log the complete header information of the messages it's trying to
send?

I'd really like to be able to see exactly what it's trying for to
address, from address, and reply-to address.  Is there an option that
will allow me to do so?