From: (no name) (no email)
Date: Sat Apr 05 2008 - 11:50:43 EDT
Hi, Mouss, I am, perhaps, on the right track, thanks to your
tip about virtual_alias_domains, and of course to you patience,
for which much thanks!
Here is my new revision of the appropriate lines from my
# myhostname = localhost.localdomain
# myhostname = debian.patriot.net
myhostname = alanmcc.localdomain
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
virtual_alias_domains = alanmcc.localdomain
virtual_alias_maps = hash:/etc/postfix/virtual
myorigin = /etc/mailname
mydestination = alanmcc.localdomain, localhost
relayhost = [smtp.patriot.net]
mynetworks = 127.0.0.0/8
>> My /etc/mailname contains the line:
I have kept this, since it is recommended by the Debian README.
It is, also, the only place where "patriot.net" enters the
> to have mail for few accounts delivered locally, use virtual_alias_maps.
> something like
> will work for postmaster.
I made a /etc/postfix/virtual, with contents:
postmaster at alanmcc dot localdomain postmaster
root at alanmcc dot localdomain root
webmaster at alanmcc dot localdomian webmaster
alan at alanmcc dot localdomain alan
I postmapped this to get a virtual.db (all this while postfix was
I then ran postfix check and postfix start and sent out
a test email to postmaster and to my gmail account. HOWEVER,
the E-mail went out, again, to !!! The
cc arrived at gmail OK, and there was no problem with either
/var/log/mail.err or /var/log/mail.log .
Am I close? I think so, because what I'm doing goes out OK, and
I get no errors. And it conforms to what I read in the docs, as
far as I understand them.
It seems to me that what I'm striving for is something that is
very useful, and can't be that hard to achieve.
Again, many thanks. I hope a third iteration of suggestions will