Help with Sendmail issue? (2.11.0.43)

greetings all…

having an issue with sendmail not sending my emails out (voicemail files being sent as email). This has come about after a jump to a new ISP which has been blocking emails (was working perfectly prior-to)…

So I just set up with DNSexit.com to do DNS relay, and i’ve made all the requisite changes per their instructions (http://www.dnsexit.com/support/mailrelay/sendmail.html )

however, i’m still not getting the vmails sent… that being said, i’m a bit of a rube in Linux stuff…

when I cat: cat /var/spool/mail/root

this is the tail of I see:

Stopping fail2ban: WARNING ‘pidfile’ not defined in ‘Definition’. Using default one: ‘/var/run/fail2ban/fail2ban.pid’
[ OK ]
Ensuring logfiles are presentStarting fail2ban: WARNING ‘pidfile’ not defined in ‘Definition’. Using default one: '/var/run/fail2ban/fail2ban.pid’
WARNING ‘usedns’ not defined in ‘ssh-iptables’. Using default one: 'warn’
WARNING ‘usedns’ not defined in ‘proftpd-iptables’. Using default one: 'warn’
WARNING ‘usedns’ not defined in ‘sasl-iptables’. Using default one: 'warn’
WARNING ‘usedns’ not defined in ‘ssh-tcpwrapper’. Using default one: 'warn’
WARNING ‘usedns’ not defined in ‘apache-tcpwrapper’. Using default one: 'warn’
WARNING ‘usedns’ not defined in ‘postfix-tcpwrapper’. Using default one: 'warn’
WARNING ‘usedns’ not defined in ‘vsftpd-notification’. Using default one: 'warn’
WARNING ‘usedns’ not defined in ‘vsftpd-iptables’. Using default one: 'warn’
WARNING ‘usedns’ not defined in ‘apache-badbots’. Using default one: 'warn’
WARNING ‘usedns’ not defined in ‘apache-shorewall’. Using default one: 'warn’
WARNING ‘usedns’ not defined in ‘ssh-ipfw’. Using default one: 'warn’
WARNING ‘usedns’ not defined in ‘named-refused-udp’. Using default one: 'warn’
WARNING ‘usedns’ not defined in ‘named-refused-tcp’. Using default one: 'warn’
WARNING ‘usedns’ not defined in ‘asterisk-iptables’. Using default one: 'warn’
WARNING ‘usedns’ not defined in ‘pbx-gui’. Using default one: 'warn’
WARNING ‘usedns’ not defined in ‘recidive’. Using default one: ‘warn’
[ OK ]

any ideas or recommendations as to what I’m doing, and how I could fix this?

thx!!

Followup info:

from DNSExits instructions on changing Sendmail:

For any version of Sendmail

  1. Set your authorization informations by adding following line to /etc/mail/access file:
    AuthInfo:relay.dnsexit.com “U:USERNAME” “P:PASSWORD” "M:PLAIN"
    Note: Replace USERNAME and PASSWORD with the DNSEXIT mail relay username and PASSWORD.
    **I did this, fully edited…
  2. Add following lines to /etc/mail/sendmail.mc (check if apropriate settings doesn’t already exists):

define(SMART_HOST',relay.dnsexit.com’)
FEATURE(`access_db’)

**I did this, fully edited…

  1. Update sendmail.cf and access.db files:

cd /etc/mail

m4 sendmail.mc >sendmail.cf

makemap hash access <access

**I did this, fully edited…

  1. Reload or restart sendmail:

/etc/init.d/sendmail restart

**I did this, BUT, i get the following error:

Shutting down sm-client: [ OK ]
Shutting down sendmail: [FAILED]
Starting sendmail: 554 5.0.0 /etc/mail/sendmail.cf: line 39: unknown configuration line “

[FAILED]
Starting sm-client: [ OK ]

is this my point of failure?

is this a freepbx distro? by default i think it uses postfix, not sendmail

that’s part of the problem… it’s PBXinaflash (yeah, my mistake - i didn’t realize that at the time, and am victim of that vacuum of sanity as a result).

it’s set with sendmail… the only real issue is that relay isn’t very happy, and although DNSExit.com provides instructions for pushing relay to them both with postfix and sendmail, i’ve not been successful at either… i’ve done a yum remove sendmail, yum install postfix, but have not successfully gotten EITHER to actually send…

this is complicated by my lack of linux skills, and as such, getting the average instructions means i still don’t know what to do…

from the console do postfix status - does it show that it is running?
if not do postfix start - use the default config and only tweak it if something is not working.

what error do you get when sending email now? i don;t use pbxinaflash but check the config for postfix and see where it is writing its log files /var/log/maillog would be a good guess. this will show what is happening with your email.

We were able to get the ISP to unblock relays, so the issue has been resolved.

thanks all!!