Hello misc, I'm trying to forward root mails to user+al...@gmail.com and then label them in gmail and move to alias_folder, but all mails are delivered to gmail with header "To: root@RAC_fw.PRAC" and go to main inbox of u...@gmail.com instead.
I think mails need to have "To: user+al...@gmail.com" if I want gmail to label them correctly. How can I make it work the way I want it? # grep -C1 Well /etc/mail/aliases # Well-known aliases -- these should be filled in! root:user+al...@gmail.com # grep "^[^#;]" /etc/mail/smtpd.conf table aliases file:/etc/mail/aliases listen on lo0 accept for local alias <aliases> #deliver to mbox accept from local for any relay as user+al...@gmail.com Thanks for help! -- radek