[Kroupware] Forwarding mail to unknown recipient to another server
Ellis Whitehead
ellis.whitehead at seleon.de
Mon Apr 5 15:40:06 CEST 2004
Hello Paul,
Thanks for the info. ;) I'm afraid it didn't work though -- came back with
the following response:
--------
This is the Postfix program at host mail.tscg.intra.
I'm sorry to have to inform you that the message returned
below could not be delivered to one or more destinations.
For further assistance, please send mail to <postmaster>
If you do so, please include this problem report. You can
delete your own text from the message returned below.
The Postfix program
<axel.richter at example.de>:
host /kolab/var/kolab/lmtp[/kolab/var/kolab/lmtp]
said: 550-Mailbox unknown. Either there is no mailbox associated with
this
550-name or you do not have authorization to see it. 550 5.1.1 User
unknown
(in reply to RCPT TO command)
--------
We're using a somewhat older version of Kolab: from mid-September. The
"kolabconf" file you mentioned doesn't exist in that version, but a restart
of kolab did appropriately copy main.cf.template
to /kolab/etc/postfix/main.cf.
mail /kolab # grep luser etc/postfix/main.cf
luser_relay = $user at mail.arcor-ip.de
mail /kolab # grep local_recipient_maps etc/postfix/main.cf
local_recipient_maps =
However, I need to send the emails on to another server without changing the
email address -- if it gets changed to axel.richter at mail.arcor-ip.de, then
the arcor server won't know which company its for.
Any ideas?
Thanks!
Ellis
Paul Gargan wrote:
> Ellis Whitehead wrote:
>> Hello everyone,
>>
>> How can kolab be configured to forward mail to unknown domain recipients
>> to a remote server for further processing?
>
> Yep. You need to configure Postfix. Remember, don't edit the cf files
> directly, but edit their template equivilents in /kolab/etc/kolab/
>
> Edit main.cf.template and set the "luser_relay" variable:
>
> luser_relay = $user at your.primary.server
>
> This should send all mail for unknown accounts to your primary server.
> $user will be expanded by Postfix to the username part of the email
> address. You can user $local to expand to the entire local part, eg if
> you have addresses like "user+extn at yourdomain.com", $local would expand
> to "user+extn".
>
> Also, disable local recipient maps so that Kolab doesn't bounce mail to
> users it considers to be "unknown".
>
> local_recipient_maps =
>
> Then run /kolab/sbin/kolabconf
>
> As usual, YMMV so test before putting this into production.
>
> Regards,
> Paul.
More information about the Kroupware
mailing list