Now that I seem to have postfix running ok on my replacement server (going from Linux/Sendmail to Freebsd/Postfix), I have to convert all of my "virtusertable" entries over to postfix. I've read through https://www.postfix.org/VIRTUAL_README.html & https://www.postfix.org/postconf.5.html & https://www.postfix.org/virtual.5.html and my questions aren't resolved...
Question 1: Am I correct that all (or most) of this be done with a virtual_alias_maps table (i.e. hash:/usr/local/etc/postfix/virtual)? If not, then: HOW? Question set 2: Here's an excerpt (sanitized) of my "virtusertable". Does this just go into my hash:/usr/local/etc/postfix/virtual as-is? or what? Am I correct that this table needs to have all specific user entries for a domain appear before the "@domain" entry for all other users at that domain? I've placed some "comments" above entries with specific questions &/or explanations: # Sendmail's Virtusertable # should this be an alias? (I don't recall how/why/when it ended up in my virtusertable) auser@mylocal.domain anotheruser@mylocal.domain # do all of the other entries just go into hash:/usr/local/etc/postfix/virtual ??? # just wanting to block email to a local user user1@mylocal.domain error:nouser 550 No such user here now or ever # send all other email of mylocal.domain to a specific user here @mylocal.domain another2user@mylocal.domain # block all email to a specific user at a hosted domain user2@hosted1.domain error:nouser 550 Getting too much spam userid changed # send all email to a specific user at a hosted domain to a user at the local domain user3@hosted1.domain someuser@mylocal.domain # block all other email of a hosted domain @hosted1.domain error:nouser 550 Getting too much spam userid changed # send all email for a hosted domain to some other email somewhere @somehosted3.domain someuser@someother.domain # send email for a user at hosted domain to some other email somewhere user5@somehosted4.domain someuser@someother.domain # send email for a user at hosted domain to some local alias user6@somehosted4.domain alocalalias thanks for any help / guidance Glenn _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org