- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- accept_unresolvable_domains feature doesn't work?
Operating System - HP-UX
1752808
Members
5808
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2009 01:35 AM
тАО02-18-2009 01:35 AM
accept_unresolvable_domains feature doesn't work?
Hello.
HPUX guru, would you please clarify this point for me?
I have hpux 11.23 box placed in local network and without DNS access. Currently I want to forward mail targeted for certain domain to certain smtp-relay.
This is how i set things up:
- using /usr/newconfig/etc/mail/cf/cf/gen_cf i included `Accept unresolvable domains' and `Mailertable' features (9 and 19 respectively).
- installed sendmail.cf in place
- created /etc/mail/mailertable with line `domain.ru esmtp:[relay-ip-address]
- built map for it
- restarted sendmail
And this is what i've got. Mail targeted for taht domain got stuck in mail queue with messages:
Feb 18 12:17:50 hydra3 sendmail[24125]: n1I7rZm13927: to=sakifev@domain.ru, delay=01:24:15, mailer=esmtp, pri=540143, relay=[xxx.xxx.xxx.xxx], dsn=4.4.3, stat=Transient parse error -- message queued for future delivery
`sendmail -bv' told me this:
sakifev@domain.ru... deliverable: mailer esmtp, host [xxx.xxx.xxx.xxx], user sakifev@domain.ru
But with `sendmail -v' i've got this:
domain.ru: Name server timeout
sakifev@domain.ru... Transient parse error -- message queued for future delivery
What for "Name server" could be used with FEATURE(accept_unresolvable_domains)?
And last: in /etc/nsswitch.conf i have this:
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns
#ipnodes: files [NOTFOUND = return] dns
So please help me to resolve this issue. For religious reasons :-) i do not want to put domain.ru record in /etc/hosts :-)
Thanks in advance.
HPUX guru, would you please clarify this point for me?
I have hpux 11.23 box placed in local network and without DNS access. Currently I want to forward mail targeted for certain domain to certain smtp-relay.
This is how i set things up:
- using /usr/newconfig/etc/mail/cf/cf/gen_cf i included `Accept unresolvable domains' and `Mailertable' features (9 and 19 respectively).
- installed sendmail.cf in place
- created /etc/mail/mailertable with line `domain.ru esmtp:[relay-ip-address]
- built map for it
- restarted sendmail
And this is what i've got. Mail targeted for taht domain got stuck in mail queue with messages:
Feb 18 12:17:50 hydra3 sendmail[24125]: n1I7rZm13927: to=sakifev@domain.ru, delay=01:24:15, mailer=esmtp, pri=540143, relay=[xxx.xxx.xxx.xxx], dsn=4.4.3, stat=Transient parse error -- message queued for future delivery
`sendmail -bv' told me this:
sakifev@domain.ru... deliverable: mailer esmtp, host [xxx.xxx.xxx.xxx], user sakifev@domain.ru
But with `sendmail -v' i've got this:
domain.ru: Name server timeout
sakifev@domain.ru... Transient parse error -- message queued for future delivery
What for "Name server" could be used with FEATURE(accept_unresolvable_domains)?
And last: in /etc/nsswitch.conf i have this:
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns
#ipnodes: files [NOTFOUND = return] dns
So please help me to resolve this issue. For religious reasons :-) i do not want to put domain.ru record in /etc/hosts :-)
Thanks in advance.
- Tags:
- SMTP
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2009 02:37 AM
тАО02-18-2009 02:37 AM
Re: accept_unresolvable_domains feature doesn't work?
Hello,
"accept_unresolvable_domains" is a feature
for accepting delivery of messages from
unresolvable domains locally, not to
send them!
Check several other threads (one of them
was recent one with four methods how
to resolve your issue). Just search
for recent postings on how to set up
sendmail without DNS.
Cheers,
VK2COT
"accept_unresolvable_domains" is a feature
for accepting delivery of messages from
unresolvable domains locally, not to
send them!
Check several other threads (one of them
was recent one with four methods how
to resolve your issue). Just search
for recent postings on how to set up
sendmail without DNS.
Cheers,
VK2COT
VK2COT - Dusan Baljevic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2009 03:21 AM
тАО02-18-2009 03:21 AM
Re: accept_unresolvable_domains feature doesn't work?
I think you're not quite right about purpose of that feature. I did small test on other version of sendmail (8.14.3. and on other platform, actually).
With that feature:
[sergey@freebsd /etc/mail]$ grep accept_unresolvable_domains freebsd.domain.ru.mc
FEATURE(accept_unresolvable_domains)
[sergey@freebsd /etc/mail]$ sudo make install
/usr/bin/m4 -D_CF_DIR_=/usr/share/sendmail/cf/ /usr/share/sendmail/cf/m4/cf.m4 freebsd.domain.mc > freebsd.domain.ru.cf
install -m 444 freebsd.domain.ru.cf /etc/mail/sendmail.cf
install -m 444 freebsd.domain.ru.submit.cf /etc/mail/submit.cf
[sergey@freebsd /etc/mail]$ sudo make restart
Restarting: sendmail sendmail-clientmqueue.
[sergey@freebsd /etc/mail]$ echo testing... | mailx -s test sergey -f user@blablabladomain.com
[sergey@freebsd /etc/mail]$ tail /var/log/maillog
Feb 18 14:11:39 freebsd sm-mta[32047]: restarting /usr/sbin/sendmail due to signal
Feb 18 14:11:39 freebsd sm-mta[32935]: starting daemon (8.14.3): SMTP+queueing@00:30:00
Feb 18 14:11:39 freebsd sm-msp-queue[32051]: restarting /usr/sbin/sendmail due to signal
Feb 18 14:11:39 freebsd sm-msp-queue[32939]: starting daemon (8.14.3): queueing@00:30:00
Feb 18 14:12:08 freebsd sendmail[32944]: n1IBC8lR032944: Authentication-Warning: freebsd.domain.ru: sergey set sender to user@blablabladomain.com using -f
Feb 18 14:12:08 freebsd sendmail[32944]: n1IBC8lR032944: from=user@blablabladomain.com, size=37, class=0, nrcpts=1, msgid=<200902181112.n1IBC8lR032944@freebsd.domain.ru>, relay=sergey@localhost
Feb 18 14:12:08 freebsd sm-mta[32945]: n1IBC8Vc032945: from=, size=532, class=0, nrcpts=1, msgid=<200902181112.n1IBC8lR032944@freebsd.domain.ru>, proto=ESMTP, daemon=IPv4, relay=localhost [127.0.0.1]
Feb 18 14:12:08 freebsd sendmail[32944]: n1IBC8lR032944: to=sergey, ctladdr=user@blablabladomain.com (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30037, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n1IBC8Vc032945 Message accepted for delivery)
Feb 18 14:12:08 freebsd sm-mta[32946]: n1IBC8Vc032945: to=, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30817, relay=local, dsn=2.0.0, stat=Sent
And without it:
[sergey@freebsd /etc/mail]$ grep accept_unresolvable_domains freebsd.domain.ru.mc
dnl FEATURE(accept_unresolvable_domains)
[sergey@freebsd /etc/mail]$ sudo make install
/usr/bin/m4 -D_CF_DIR_=/usr/share/sendmail/cf/ /usr/share/sendmail/cf/m4/cf.m4 freebsd.domain.mc > freebsd.domain.cf
install -m 444 freebsd.domain.ru.cf /etc/mail/sendmail.cf
install -m 444 freebsd.domain.ru.submit.cf /etc/mail/submit.cf
[sergey@freebsd /etc/mail]$ sudo make restart
Restarting: sendmail sendmail-clientmqueue.
echo testing... | mailx -s test sergey -f user@blablabladomain.com
[sergey@freebsd /etc/mail]$ tail -100 /var/log/maillog
Feb 18 14:15:05 freebsd sm-mta[32935]: restarting /usr/sbin/sendmail due to signal
Feb 18 14:15:05 freebsd sm-mta[32993]: starting daemon (8.14.3): SMTP+queueing@00:30:00
Feb 18 14:15:05 freebsd sm-msp-queue[32939]: restarting /usr/sbin/sendmail due to signal
Feb 18 14:15:05 freebsd sm-msp-queue[32997]: starting daemon (8.14.3): queueing@00:30:00
Feb 18 14:16:48 freebsd sendmail[33008]: n1IBGmC7033008: Authentication-Warning: freebsd.domain.ru: sergey set sender to user@blablabladomain.com using -f
Feb 18 14:16:48 freebsd sendmail[33008]: n1IBGmC7033008: from=user@blablabladomain.com, size=37, class=0, nrcpts=1, msgid=<200902181116.n1IBGmC7033008@freebsd.domain.ru>, relay=sergey@localhost
Feb 18 14:16:48 freebsd sm-mta[33009]: n1IBGm0p033009: ruleset=check_mail, arg1=, relay=localhost [127.0.0.1], reject=553 5.1.8 ... Domain of sender address user@blablabladomain.com does not exist
Feb 18 14:16:48 freebsd sendmail[33008]: n1IBGmC7033008: to=sergey, ctladdr=user@blablabladomain.com (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30037, relay=[127.0.0.1] [127.0.0.1], dsn=5.6.0, stat=Data format error
Feb 18 14:16:48 freebsd sendmail[33008]: n1IBGmC7033008: n1IBGmC8033008: DSN: Data format error
Feb 18 14:16:48 freebsd sm-mta[33009]: n1IBGm0p033009: from=, size=37, class=0, nrcpts=0, proto=ESMTP, daemon=IPv4, relay=localhost [127.0.0.1]
Feb 18 14:16:48 freebsd sm-mta[33009]: n1IBGm0q033009: from=<>, size=2503, class=0, nrcpts=1, msgid=<200902181116.n1IBGmC8033008@freebsd.domain.ru>, proto=ESMTP, daemon=IPv4, relay=localhost [127.0.0.1]
Feb 18 14:16:48 freebsd sendmail[33008]: n1IBGmC8033008: to=user@blablabladomain.com, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31061, relay=[127.0.0.1], dsn=2.0.0, stat=Sent (n1IBGm0q033009 Message accepted for delivery)
Feb 18 14:16:48 freebsd sm-mta[33011]: n1IBGm0q033009: to=, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=32503, relay=blablabladomain.com, dsn=5.1.2, stat=Host unknown (Name server: blablabladomain.com: no data known)
Feb 18 14:16:48 freebsd sm-mta[33011]: n1IBGm0q033009: n1IBGm0p033011: postmaster notify: Host unknown (Name server: blablabladomain.com: no data known)
Feb 18 14:16:48 freebsd sm-mta[33011]: n1IBGm0p033011: to=sergey, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=33527, relay=local, dsn=2.0.0, stat=Sent
I highly doubt it that freebsd team made any patches to make that work.
With that feature:
[sergey@freebsd /etc/mail]$ grep accept_unresolvable_domains freebsd.domain.ru.mc
FEATURE(accept_unresolvable_domains)
[sergey@freebsd /etc/mail]$ sudo make install
/usr/bin/m4 -D_CF_DIR_=/usr/share/sendmail/cf/ /usr/share/sendmail/cf/m4/cf.m4 freebsd.domain.mc > freebsd.domain.ru.cf
install -m 444 freebsd.domain.ru.cf /etc/mail/sendmail.cf
install -m 444 freebsd.domain.ru.submit.cf /etc/mail/submit.cf
[sergey@freebsd /etc/mail]$ sudo make restart
Restarting: sendmail sendmail-clientmqueue.
[sergey@freebsd /etc/mail]$ echo testing... | mailx -s test sergey -f user@blablabladomain.com
[sergey@freebsd /etc/mail]$ tail /var/log/maillog
Feb 18 14:11:39 freebsd sm-mta[32047]: restarting /usr/sbin/sendmail due to signal
Feb 18 14:11:39 freebsd sm-mta[32935]: starting daemon (8.14.3): SMTP+queueing@00:30:00
Feb 18 14:11:39 freebsd sm-msp-queue[32051]: restarting /usr/sbin/sendmail due to signal
Feb 18 14:11:39 freebsd sm-msp-queue[32939]: starting daemon (8.14.3): queueing@00:30:00
Feb 18 14:12:08 freebsd sendmail[32944]: n1IBC8lR032944: Authentication-Warning: freebsd.domain.ru: sergey set sender to user@blablabladomain.com using -f
Feb 18 14:12:08 freebsd sendmail[32944]: n1IBC8lR032944: from=user@blablabladomain.com, size=37, class=0, nrcpts=1, msgid=<200902181112.n1IBC8lR032944@freebsd.domain.ru>, relay=sergey@localhost
Feb 18 14:12:08 freebsd sm-mta[32945]: n1IBC8Vc032945: from=
Feb 18 14:12:08 freebsd sendmail[32944]: n1IBC8lR032944: to=sergey, ctladdr=user@blablabladomain.com (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30037, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n1IBC8Vc032945 Message accepted for delivery)
Feb 18 14:12:08 freebsd sm-mta[32946]: n1IBC8Vc032945: to=
And without it:
[sergey@freebsd /etc/mail]$ grep accept_unresolvable_domains freebsd.domain.ru.mc
dnl FEATURE(accept_unresolvable_domains)
[sergey@freebsd /etc/mail]$ sudo make install
/usr/bin/m4 -D_CF_DIR_=/usr/share/sendmail/cf/ /usr/share/sendmail/cf/m4/cf.m4 freebsd.domain.mc > freebsd.domain.cf
install -m 444 freebsd.domain.ru.cf /etc/mail/sendmail.cf
install -m 444 freebsd.domain.ru.submit.cf /etc/mail/submit.cf
[sergey@freebsd /etc/mail]$ sudo make restart
Restarting: sendmail sendmail-clientmqueue.
echo testing... | mailx -s test sergey -f user@blablabladomain.com
[sergey@freebsd /etc/mail]$ tail -100 /var/log/maillog
Feb 18 14:15:05 freebsd sm-mta[32935]: restarting /usr/sbin/sendmail due to signal
Feb 18 14:15:05 freebsd sm-mta[32993]: starting daemon (8.14.3): SMTP+queueing@00:30:00
Feb 18 14:15:05 freebsd sm-msp-queue[32939]: restarting /usr/sbin/sendmail due to signal
Feb 18 14:15:05 freebsd sm-msp-queue[32997]: starting daemon (8.14.3): queueing@00:30:00
Feb 18 14:16:48 freebsd sendmail[33008]: n1IBGmC7033008: Authentication-Warning: freebsd.domain.ru: sergey set sender to user@blablabladomain.com using -f
Feb 18 14:16:48 freebsd sendmail[33008]: n1IBGmC7033008: from=user@blablabladomain.com, size=37, class=0, nrcpts=1, msgid=<200902181116.n1IBGmC7033008@freebsd.domain.ru>, relay=sergey@localhost
Feb 18 14:16:48 freebsd sm-mta[33009]: n1IBGm0p033009: ruleset=check_mail, arg1=
Feb 18 14:16:48 freebsd sendmail[33008]: n1IBGmC7033008: to=sergey, ctladdr=user@blablabladomain.com (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30037, relay=[127.0.0.1] [127.0.0.1], dsn=5.6.0, stat=Data format error
Feb 18 14:16:48 freebsd sendmail[33008]: n1IBGmC7033008: n1IBGmC8033008: DSN: Data format error
Feb 18 14:16:48 freebsd sm-mta[33009]: n1IBGm0p033009: from=
Feb 18 14:16:48 freebsd sm-mta[33009]: n1IBGm0q033009: from=<>, size=2503, class=0, nrcpts=1, msgid=<200902181116.n1IBGmC8033008@freebsd.domain.ru>, proto=ESMTP, daemon=IPv4, relay=localhost [127.0.0.1]
Feb 18 14:16:48 freebsd sendmail[33008]: n1IBGmC8033008: to=user@blablabladomain.com, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31061, relay=[127.0.0.1], dsn=2.0.0, stat=Sent (n1IBGm0q033009 Message accepted for delivery)
Feb 18 14:16:48 freebsd sm-mta[33011]: n1IBGm0q033009: to=
Feb 18 14:16:48 freebsd sm-mta[33011]: n1IBGm0q033009: n1IBGm0p033011: postmaster notify: Host unknown (Name server: blablabladomain.com: no data known)
Feb 18 14:16:48 freebsd sm-mta[33011]: n1IBGm0p033011: to=sergey, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=33527, relay=local, dsn=2.0.0, stat=Sent
I highly doubt it that freebsd team made any patches to make that work.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP