if has_version courier then ebuild should add alias to /etc/courier/aliases/amavis (which would be a new file) then run /usr/sbin/makealiases instead of the sendmail paths that its trying here Blue amavis-0.3.12 # emerge amavis >>> md5 src_uri ;-) amavis-0.3.12.tar.gz * Adding group 'amavis' to your system ... * amavis already exists on your system :) * Adding user 'amavis' to your system ... * amavis already exists on your system :) grep: /etc/mail/aliases: No such file or directory cp: cannot stat `/etc/mail/aliases': No such file or directory /usr/sbin/ebuild.sh: line 54: newaliases: command not found !!! ERROR: net-mail/amavis-0.3.12 failed. !!! Function pkg_setup, Line 54, Exitcode 127 !!! check your /etc/mail/aliases for problems Blue amavis-0.3.12 # emerge amavis /usr/portage/packages Calculating dependencies ...done! >>> emerge (1 of 1) net-mail/amavis-0.3.12 to / >>> md5 src_uri ;-) amavis-0.3.12.tar.gz * Adding group 'amavis' to your system ... * amavis already exists on your system :) * Adding user 'amavis' to your system ... * amavis already exists on your system :) virusalert: root >>> Unpacking source... >>> Unpacking amavis-0.3.12.tar.gz to /data/tmp/portage/amavis-0.3.12/work >>> Source unpacked. (Then finishes compiling this time)
Looks like this package should just plain suggest that it not be installed with courier. There is amavis-ng on sourceforge... Lets see how hard that is to make an ebuild for.
This is an antiquated package. There is "amavisd-new" in portage, which I highly recommend. You may need to tweak the config file if your aliases are in special places, but at the very least it will install without error :) I suggest this be a WONTFIX. We shouldn't spend time on this ebuild.
Due to lack of maintainership, and to the fact that amavis has been a dead project for quite some time, it has been removed from Portage. Sorry.
Eh, forgot to close.