On Tue, Jul 25, 2000 at 05:10:13AM -0700, Harry Putnam wrote:
>
> [New user alert]
> Running FreeBSD 4.0
> Just installed qmail-1.03 from the FreeBSD ports collection.
>
> My setup is a home user machine, laptop running FreeBSD that accesses
> the internet by IP masquerade of desktop machine (also home user
> machine) which is connected via DSL to local ISP. My main internet
> mailbox is with the commercial news service newsguy.com.
>
> The laptops name is satellite.local.lan. At the end of the qmail
> build a message was displayed:
>
> Your hostname is satellite.local.lan.
> hard error
> Sorry, I couldn't find your host's canonical name in DNS.
> You will have to set up control/me yourself.
>
> So `/var/qmail/control/me' says: satellite.local.lan
>
>
> Past experience indicates that if I want my From address to reflect
> the newsguy.com address, I need to Masquerade that domain
> (newsguy.com).
>
> Qmail FAQ indicates that is done by placing a `default' file in
> /var/qmail/control/default containing:
> newsguy.com
>
> This works for sending mail via the internet and my `From' address
> comes out right.
>
> Currently the only files in /var/qmail/control are the two mentioned
> above: `default' and `me'
>
> My problem:
> Going through the various tests I find the local-local test doesn't
> insert a message in my inbox ~/Mailbox ( a symlink to /var/mail/$USER)
> directly as expected but instead sends the message to [EMAIL PROTECTED]
qmail-local (local delivery in general) trusts control/locals as a list of local
domains.
"echo satellite.local.lan >> control/locals" should do the trick.
>
> That is:
> `echo to: reader | /var/qmail/bin/qmail-inject'
>
> Does not insert a message directly to ~/Mailbox but instead sends it
> to [EMAIL PROTECTED]
>
> So if the DSL link isn't up then local delivery fails.
> What do I need to do to correct this?
--
+-------------------
| Ricardo Cerqueira
| PGP Key fingerprint - B7 05 13 CE 48 0A BF 1E 87 21 83 DB 28 DE 03 42
| Novis - Engenharia ISP / Rede Técnica
| Pç. Duque Saldanha, 1, 7º E / 1050-094 Lisboa / Portugal
| Tel: +351 21 3166700 (24h/dia) - Fax: +351 21 3166701