Hi

I solved the problem myself, my myhostname was configured in transport -> lmtp. So when i tried so send to a temp user virtuel-> aliases i put the myhostname as a domain and postfix the n handled it as an ltmp mail acoount.

So i deleted the domain ind transport and that did it.

Happy Holiday ;-)

K!

Kasper Haagensen wrote:
Hi

I have setup DBmail and used for a long time.
Now i need to use the aliases system as well, and i have done this:


1. Setup up virtual_alias_maps = hash:/etc/postfix/virtual
   srv1:/etc/postfix# more virtual
   @domain            forward
2. Setup up alias_maps = hash:/etc/aliases
   srv1:/etc/postfix# more ../aliases
   forward:user, /data/mail/incoming/

But the problem is, that what ever i do, postfix use the transport_maps to deliver mail and do not look into the aliases file.
The i turn of the transport_maps everything works.

How can i setup the system, so i can use both dbmail threw the transport_map and the aliases file at the same time?

What i need is to have all mails from one domain, placed as difference files in a directory.

BR
Kasper


srv1:/etc/postfix# postconf -n
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
default_destination_concurrency_limit = 25
home_mailbox = .Maildir/
inet_interfaces = all
local_destination_concurrency_limit = 10
local_recipient_maps =
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = /etc/postfix/mydestination
myhostname = srv1.mimergroup.com
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
recipient_delimiter = +
relay_domains = 62.242.186.102
smtp_destination_concurrency_limit = 25
smtpd_banner = Mailserver
smtpd_error_sleep_time = 0
transport_maps = hash:/etc/postfix/transport
virtual_alias_maps = hash:/etc/postfix/virtual

_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to