I have to transfer some services (including virtual domain hosting)
to a new machine named local.host.example, where courier will be
used as an MTA. Basic setup is fine, local and virtual users receive
their mail and can read it.

Now there are some mailing lists to migrate, and ecartis has been
and will be used for them. As simpel-minded as I am, I just did:

[/etc/courier/aliases/ecartis]
| [EMAIL PROTECTED]: | /usr/lib/ecartis/ecartis -s testliste
| [EMAIL PROTECTED]: | /usr/lib/ecartis/ecartis -r testliste
| [...]

This was processed via makealiases into the files:

[/etc/courier/aliasdir/.courier-:xalias/[EMAIL PROTECTED]
| | /usr/lib/ecartis/ecartis -s testliste

[/etc/courier/aliasdir/.courier-:xalias/[EMAIL PROTECTED]
| | /usr/lib/ecartis/ecartis -r testliste

Ok. This was not quite what I expected after reading dot-courier(8):
"In any event, all periods  in the  address  must be replaced with
colons.", but I assume, makealiases knows what to do.

However: if I try to send a mail to <[EMAIL PROTECTED]>,
the result is:

| Jan 10 10:38:21 mail courieresmtpd: started,ip=[::ffff:xxx.xxx.xxx.xxx]
| Jan 10 10:38:53 mail courieresmtpd: 
error,relay=::ffff:xxx.xxx.xxx.xxx,from=<[EMAIL PROTECTED]>,to=<[EMAIL 
PROTECTED]>: 556 Address unavailable.
| Jan 10 10:43:51 mail courieresmtpd: started,ip=[::ffff:xxx.xxx.xxx.xxx]
| Jan 10 10:44:14 mail courierd: newmsg,id=00AF4206.4785E8E8.00005D79: dns; www 
(somewhere.example [::ffff:xxx.xxx.xxx.xxx])
| Jan 10 10:44:14 mail courierd: 
started,id=00AF4206.4785E8E8.00005D79,from=<[EMAIL 
PROTECTED]>,module=esmtp,host=test+2evirtual+2example"@local.host.example,addr=<".xalias/[EMAIL
 PROTECTED]"@local.host.example>
| Jan 10 10:44:14 mail courierd: Waiting.  shutdown time=none, wakeup 
time=none, queuedelivering=1, inprogress=1
| Jan 10 10:44:14 mail courieresmtp: id=00AF4206.4785E8E8.00005D79,from=<[EMAIL 
PROTECTED]>,addr=<".xalias/[EMAIL PROTECTED]"@local.host.example>: No such 
domain.
| Jan 10 10:44:14 mail courieresmtp: id=00AF4206.4785E8E8.00005D79,from=<[EMAIL 
PROTECTED]>,addr=<".xalias/[EMAIL PROTECTED]"@local.host.example>,status: 
failure

Even after reading makealiases(8) and dot-courier(5) I am not sure a)
what the problem is and b) what I could do to avoid it. All the examples
and explanations for pipes assume local aliases (which do work), I have
not found anything for virtual domain names here (on the other side I
did not expect anything special with them).

What confuses me most is the "addr" part in line 5 of the log excerpt.
Why is the _name_ of the .courier-file used as a mailbox name and
@local.host.example appended to it?

If possible at all, I'd like to stick with the files in
/etc/courier/aliases (instead of switching to .courier files), because
this way I could keep together all the files for one mailing list, which
would be greatly appreciated by the person responsible to maintain the
machine afterwards.

Ciao,
  Stefan

-- 
Kontaktinser.at - konstenlose und unkommerzielle Kontaktsuche
speziell fuer Oesterreich: <http://kontaktinser.at/>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to