Adam Weremczuk
2024-07-21 07:00:01 UTC
This is in a way a continuation of my recently "purely local DNS" thread.
To recap: my objective is to send emails to a single domain with both
DNS and any other email traffic being disabled.
A simple working solution that I've found for Postfix is:
/etc/hosts
1.2.3.4 example.com
/etc/postfix/main.cf
smtp_dns_support_level = disabled
smtp_host_lookup = native
Now I'm trying to achieve the same thing for Sendmail to no avail.
So far I've tried:
- the above /etc/hosts entry
- DEAMON_OPTIONS(`Port-smtp,Addr=127.0.0.1, Name=MTA')dnl in sendmail.mc
followed by m4 sendmail.mc > sendmail.cf
- /etc/mail/mailertable
example.com esmtp:[1.2.3.4]
1. Has anybody tried and got it working?
2. What's the best way to engage with Sendmail forums / mailing list?
Both comp.mail.sendmail and newscomp.mail.sendmail usenet groups appear
to be dead.
---
Adam
To recap: my objective is to send emails to a single domain with both
DNS and any other email traffic being disabled.
A simple working solution that I've found for Postfix is:
/etc/hosts
1.2.3.4 example.com
/etc/postfix/main.cf
smtp_dns_support_level = disabled
smtp_host_lookup = native
Now I'm trying to achieve the same thing for Sendmail to no avail.
So far I've tried:
- the above /etc/hosts entry
- DEAMON_OPTIONS(`Port-smtp,Addr=127.0.0.1, Name=MTA')dnl in sendmail.mc
followed by m4 sendmail.mc > sendmail.cf
- /etc/mail/mailertable
example.com esmtp:[1.2.3.4]
1. Has anybody tried and got it working?
2. What's the best way to engage with Sendmail forums / mailing list?
Both comp.mail.sendmail and newscomp.mail.sendmail usenet groups appear
to be dead.
---
Adam