Using sendmail as a client with AUTH
(This section has been written by Benji Fisher. Thanks!)
If you are using sendmail only to transfer e-mail from your local computer to a mail server that requires SMTP AUTH, follow these instructions. They assume that sendmail 8.12 or later, and other software, is already installed on your computer. You should probably be logged in as root to perform these steps.
1. Change directory to where your sendmail configuration files (sendmail.mc and sendmail.cf) are located, usually /etc/mail/.
2. Create a safe subdirectory (suggested name auth/):
# mkdir auth
# chmod 700 auth
3. Create a file with your authentication information (suggested name auth/client-info):
filling in your ISP's mail server, your user name, and your password. (Note: Earthlink, and perhaps other ISP's, requires your full e-mail address as a user name.)
4. Generate the authentication database and make both files readable only by root:
# cd auth
# makemap hash client-info < client-info
# chmod 600 client-info*
# cd ..
5. Add the following lines to your sendmail.mc file, filling in your ISP's mail server:
По идее вам должно хватить FEATURE(relay_entire_domain), если все остальное настроенно нормально, хотя я не совсем понял, чего вы хотите. Данная опция даст возможность отправки почты с любого компьютера, чей ip-адрес преобразется в DNS-имя, входящее в заданный домен. При этом e-mail адрес отправителя может быть любым. А если говорить о пользователях, то тогда надо делать авторизацию.
По какой документации настраивали sendmail? Что сейчас в m4 файле? Вас заносять в black-list точно по причине open-relay? Проверяли это с помощью различных бесплатных сервисов? Может в black-list попадаете по другой причине...
ну вирусы может и были но уже точно все убиты! и там clamAv щяс прекручен.
я тут пока мало что понимаю кажись вот эти файл:
divert(0)dnl
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.submit.mc,v 1.1 2003/10/19 00:03:1
3 gshapiro Exp $')
define(`confCF_VERSION', `Submit')dnl
define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining
define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet
define(`confTIME_ZONE', `USE_TZ')dnl
define(`confDONT_INIT_GROUPS', `True')dnl
define(`confBIND_OPTS', `WorkAroundBrokenAAAA')dnl
dnl
dnl If you use IPv6 only, change [127.0.0.1] to [IPv6:::1]
FEATURE(`msp', `[127.0.0.1]')dnl
и потом сравнить файлы sendmail.cf (существующий конфиг) и этот new.mail.cf. И если они будут заметно отличаться, значит sendmail.cf создан не из этого файла. А пока не найдете нужный .mc файл, sendmail не переконфигурить (до прямой правки .cf-файла вам еще идти и идти :) ).