Have you tried following in sendmail.mc:
define(`confDOMAIN_NAME', `mail.mydomain.com')dnl
where mail.mydomain.com is your domain or MX record
Also try to set the hostname to mail.mydomain.com
Hope it helps..
Regds
Balvinder Rawat
On Wed, Dec 19, 2012 at 4:52 PM, Vivek Kapoor subs...@exain.com wrote:
On 12/19/2012 11:22 AM, Tux Techie wrote:
Hi,
I have a local mail server on MX for my domain. Sendmail configured as
MTA.
Users are able to send mails to each other. For relaying mails to outside
domains, I'm using SMARTHOST for my hosting. Now I'm trying to send the
mails directly to the outside domains, I've created the SPF records for my
domains with all the ip's sending mails for my server and the reverse DNS
entries for the IP also. But still i'm getting mail bounce error from many
domains stating
1. This message has been blocked because the HELO/EHLO domain is invalid.
2. host mta6.am0.yahoodns.net [98.138.112.38]: 554 Message not allowed -
[299]
When you connect with another server, you identify yourself. If you're
doing just a regular connection and not an authenticated one (such as via
SMTP AUTH), then it's a HELO.
For instance, do this
$ telnet gmail-smtp-in.l.google.com. 25
$ helo mydomain.com
$ quit
If you get a 2XX response (e.g. 250), then it means the server has
accepted your hostname with which you're identifying yourself. In your
case, the domain that you're identifying yourself with is not getting
accepted. It should be a fully qualified domain name (FQDN), and also
ideally should resolve to the same IP of your server. If you've not done
any custom configuration, then the HELO name would be the hostname of your
machine.
Creating a SMTP server is now quite complicated, especially if you wish to
get the emails in user's inbox. If you already have a host which can relay
mails for you, then do that.
Best regards
Vivek Kapoor
http://exain.com
__**_
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/**mailman/listinfo/ilugdhttp://frodo.hserus.net/mailman/listinfo/ilugd
___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd