Hi,
I have problems trying send mail via sendmail (.forward) to
cf...@wp.pl, my domain is
dorotamama.eu. (not real name) and I get following:
May 6 17:55:47 myubuntu sm-mta[3856]: r46FrhNl003854: to=
cf...@wp.pl,
delay=00:02:03, xdelay=00:00:01, mailer=esmtp, pri=91761,
relay=
wp.pl.dorotamama.eu. [89.75.41.50], dsn=5.3.5, stat=Local
configuration error May 6 17:55:47 myubuntu sm-mta[3856]:
r46FrhNl003854: r46FtlNl003856: DSN: Local configuration error May 6
17:55:48 myubuntu sm-mta[3856]: r46FtlNl003856: to=<
cf...@gmail.com,
delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=60000,
relay=
gmail-smtp-in.l.google.com. [173.194.70.27], dsn=2.0.0,
stat=Sent (OK 1367855748 i8si29208219eem.229 - gsmtp) May 6 17:55:48
myubuntu sm-mta[3856]: r46FtlNl003856: to=me, delay=00:00:01,
xdelay=00:00:00, mailer=local, pri=60000, dsn=2.0.0, stat=Sent
with gmail there is No PROBLEM,
onet.pl No Problem,
wp.pl PROBLEM. additionally here from mail.err:
May 6 17:55:47 myubuntu sm-mta[3856]: r46FrhNl003854: SYSERR(me):
wp.pl.dorotamama.eu. config error: mail loops back to me (MX
problem?)
so I tried `
cf...@wp.pl` (it is correct address) but it concatenates to be: `cf...@wp.pl.dorotamama.eu.` ?????????
**why?** other domain are working OK. (at least few that I checked till this moment)
**so, does it means
wp.pl wasn't resolved?** why it concatenates domains, then tries to send mail to
cf...@wp.pl.dorotamama.eu. instead of
cf...@wp.pl
----------
additionally:
dig @
192.168.1.1 fghj.com
; << DiG 9.9.2-P2 << @
192.168.1.1 fghj.com
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached
and +tcp:
dig @
192.168.1.1 fghj.com +tcp
;; Connection to 192.168.1.1#53(192.168.1.1) for
fghj.com failed: connection refused.
I have this added in
sendmail.mc:
#my own added features
dnl # Masquerading options
FEATURE(`always_add_domain')dnl
MASQUERADE_AS(`
dorotamama.eu')dnl
FEATURE(`allmasquerade')dnl
FEATURE(`masquerade_entire_domain')dnl
FEATURE(`masquerade_envelope')dnl
FEATURE(`accept_unresolvable_domains')
define(`confBIND_OPTS',`WorkAroundBrokenAAAA')dnl
and result of DEBUG is:
me@ubuntu:/etc/mail# /etc/init.d/sendmail reload
* Reloading Mail Transport Agent (MTA) sendmail [ OK ]
me@ubuntu:/etc/mail# echo '3,0
cf...@wp.pl' | /usr/sbin/sendmail -bt -d8.20
dns_getcanonname(ubuntu, trymx=1)
dns_getcanonname: trying
ubuntu.chello.pl (AAAA)
NO: errno=0, h_errno=1
dns_getcanonname: trying
ubuntu.dorotamama.eu (AAAA)
NO: errno=0, h_errno=4
dns_getcanonname: trying
ubuntu.dorotamama.eu (A)
YES
dns_getcanonname:
ubuntu.dorotamama.eu
_res.options = 812c3, HasWildcardMX = 0
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset <address
canonify input: cf16r @ wp . pl
Canonify2 input: cf16r < @ wp . pl
dns_getcanonname(
wp.pl, trymx=1)
dns_getcanonname: trying
wp.pl. (AAAA)
NO: errno=110, h_errno=2
dns_getcanonname: trying
wp.pl. (A)
NO: errno=110, h_errno=2
dns_getcanonname: trying
wp.pl. (MX)
NO: errno=110, h_errno=2
dns_getcanonname: trying
wp.pl.chello.pl (AAAA)
NO: errno=0, h_errno=1
dns_getcanonname: trying
wp.pl.dorotamama.eu (AAAA)
NO: errno=0, h_errno=4
dns_getcanonname: trying
wp.pl.dorotamama.eu (A)
YES
dns_getcanonname:
wp.pl.dorotamama.eu
Canonify2 returns: cf16r < @ wp . pl . dorotamama . eu .
canonify returns: cf16r < @ wp . pl . dorotamama . eu .
parse input: cf16r < @ wp . pl . dorotamama . eu .
Parse0 input: cf16r < @ wp . pl . dorotamama . eu .
Parse0 returns: cf16r < @ wp . pl . dorotamama . eu .
Parse1 input: cf16r < @ wp . pl . dorotamama . eu .
MailerToTriple input: < cf16r < @ wp . pl . dorotamama . eu .
MailerToTriple returns: cf16r < @ wp . pl . dorotamama . eu .
Parse1 returns: $# esmtp $@ wp . pl . dorotamama . eu . $: cf16r < @ wp . pl . dorotamama . eu .
parse returns: $# esmtp $@ wp . pl . dorotamama . eu . $: cf16r < @ wp . pl . dorotamama . eu .