* mouss <[EMAIL PROTECTED]>: > This really belongs to the postfix list, but ... > > Marc Perkel wrote: > > [snip] > > mydestination = $myhostname, localhost.$mydomain, $transport_maps > remove $transport_maps. reusing unrelated maps is horrible. if a > transport entry is added for say hotmail.com, postfix will accept and > mis-deliver (or bounce) hotmail mail. > > mydomain = extremia.fi > > myhostname = smtp.extremia.fi > > [snip] > > unknown_local_recipient_reject_code = 450 > once everything works correctly, change this to 550. > > > virtual_alias_maps = pgsql:/etc/postfix/virtual_alias_maps.cf > > virtual_gid_maps = pgsql:/etc/postfix/virtual_gid_maps.cf > > virtual_mailbox_base = /var/spool/postfix/virtual > > virtual_mailbox_maps = pgsql:/etc/postfix/virtual_mailbox_maps.cf > > > > ahem. there is no virtual_mailbox_domains, do virtual_mailbox_* is useless.
UNLESS whoever set this crap up used transport maps :) > > virtual_uid_maps = pgsql:/etc/postfix/virtual_uid_maps.cf > > > > if mail for $mydomain is to be delivered to unix accounts, simply add > $mydomain to mydestination. if it is to be delivered to vortual > mailboxes, add it to virtual_mailbox_domains. make sure > virtual_mailbox_maps is correctly set. -- Ralf Hildebrandt (i.A. des IT-Zentrums) [EMAIL PROTECTED] Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155 Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962 IT-Zentrum Standort CBF send no mail to [EMAIL PROTECTED]