Hello, i have a weird problem with sendmail.. i can send emails to the domain profiland.by but not to metz.by
knowing that metz.by is where sendmail is contained.
here is the log file message:
Code:
Mar 20 16:06:20 srvmon-kozlova sm-mta[19215]: r2KD6HD0019215: to=<monitoring@profiland.by>, ctladdr=<root@srvmon-kozlova.profiland.by> (0/0), delay=00:00:03, xdelay=00:00:03, mailer=esmtp, pri=30372, relay=mx2.activeby.net. [109.237.213.144], dsn=2.0.0, stat=Sent (OK id=1UIIig-0008Km-IZ)
obviously this message made it.
here is the message for the message that didn't make it:
Code:
Mar 20 16:06:37 srvmon-kozlova sm-mta[19891]: r2KD6ZBM019891: to=<monitor@metz.by>, ctladdr=<root@srvmon-kozlova.profiland.by> (0/0), delay=00:00:02, xdelay=00:00:02, mailer=esmtp, pri=30357, relay=mail01.hoster.by. [93.125.30.150], dsn=5.0.0, stat=Service unavailable
here is the sendmail configuration:
Code:
divert(-1)
divert(0)dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`$Id: sendmail.mc,v 1.2 2004/12/07 01:59:31 g2boojum Exp $')dnl
OSTYPE(linux)dnl
DOMAIN(generic)dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`local_lmtp',`/usr/sbin/mail.local')dnl
FEATURE(`local_procmail')dnl
MASQUERADE_AS(profiland.by)dnl
FEATURE(masquerade_envelope)dnl
FEATURE(masquerade_entire_domain)dnl
MASQUERADE_DOMAIN(profiland.by)dnl
FEATURE(`access_db', `hash -T<TMPF> -o /etc/mail/access.db')dnl
DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
MAILER(local)dnl
MAILER(smtp)dnl
not set as relay..
here is the hosts file configuration:
Code:
# IPv4 and IPv6 localhost aliases
127.0.0.1 srvmon-kozlova.profiland.by srvmon-kozlova localhost
::1 localhost
172.16.1.28 srvmon-kozlova.profiland.by srvmon-kozlova
91.149.180.212 srvmon-kozlova.profiland.by srvmon-kozlova
#
# Imaginary network.
#10.0.0.2 myname
#10.0.0.3 myfriend
172.16.0.10 mail.metz.local
knowing that if i rename the server to srvmon-kozlova.metz.by in the hosts file then it stops sending mail all together with dsn 5.0.0 error even to the profiland webhost. i'm begining to suspect that this is a white list issue with the metz.by domain in the mail01.hoster.by server. or is there something to be added to the access file? thanks for any help.