cd /etc/mail make make install make stop make start
SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2
cd /usr/src/lib/libsmutil
make cleandir && make obj && make
cd /usr/src/lib/libsm
make cleandir && make obj && make
cd /usr/src/usr.sbin/sendmail
make cleandir && make obj && make && make install
sendmail -Am -v -t -f lhdsrv2@hrabalovi.name lhrabal@gmail.com
makemap hash client-info.db < client-info
In the cf/domain directory, copy generic.m4 to another file such as mydomain.m4.
Edit this copy to remove the EXPOSED_USER() entry.
In your sendmail.mc file, change the
DOMAIN(generic)
line to mention your new domain definition:
DOMAIN(mydomain)
do /etc/mail/access dodat:
domena.cz OK
a make!
Do:/etc/mail/domaintable
dát: *.example.org example.org