Greetings,
I have installed mail/mailscanner and along with it came the mta start script. If I understand correctly I should use
instead of
Also this is version 9.1 i386.
Here is the terminal output:
When I try to start Sendmail using the mta script I get the following error in the maillog.
/etc/rc.conf
/etc/hosts
/etc/mail/mydomain.net.mc
Your assistance in this matter is appreciated.
Best regards,
Mike
I have installed mail/mailscanner and along with it came the mta start script. If I understand correctly I should use
Code:
mta_enable="YES"
Code:
sendmail_enable="YES"
Here is the terminal output:
Code:
root@theroussins:/etc/mail # /usr/local/etc/rc.d/mta start
Starting mta.
Recipient names must be specified
When I try to start Sendmail using the mta script I get the following error in the maillog.
Code:
Aug 8 15:53:22 theroussins sendmail[1598]: gethostbyaddr(192.168.0.13) failed: 1
/etc/rc.conf
Code:
hostname="mydomain.net"
ifconfig_re0="DHCP"
sshd_enable="YES"
ntpd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="NO"
apache24_enable="YES"
sendmail_enable="NONE"
mta_enable="YES"
dovecot_enable="YES"
clamav_freshclam_enable="YES"
mailscanner_enable="YES"
clamav_clamd_enable="YES"
spamd_enable="YES"
/etc/hosts
Code:
::1 localhost localhost.my.domain
127.0.0.1 192.168.0.13 mydomain.net
/etc/mail/mydomain.net.mc
Code:
divert(0)
VERSIONID(`$FreeBSD: release/9.1.0/etc/sendmail/freebsd.mc 223068 2011-06-14 04:
OSTYPE(freebsd6)
DOMAIN(generic)
FEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
dnl Uncomment to allow relaying based on your MX records.
dnl NOTE: This can allow sites to use your server as a backup MX without
dnl your permission.
dnl FEATURE(relay_based_on_MX)
dnl DNS based black hole lists
dnl --------------------------------
dnl DNS based black hole lists come and go on a regular basis
dnl so this file will not serve as a database of the available servers.
dnl For that, visit
dnl http://www.google.com/Top/Computers/Internet/E-mail/Spam/Blacklists/
dnl Uncomment to activate your chosen DNS based blacklist
dnl FEATURE(dnsbl, `dnsbl.example.com')
dnl Alternatively, you can provide your own server and rejection message:
dnl FEATURE(dnsbl, `dnsbl.example.com', ``"550 Mail from " $&{client_addr} " rej
dnl Dialup users should uncomment and define this appropriately
define(`SMART_HOST', `smtp-server.my.mail.com')
dnl DS[192.168.0.13]
dnl Uncomment the first line to change the location of the default
dnl /etc/mail/local-host-names and comment out the second line.
dnl define(`confCW_FILE', `-o /etc/mail/sendmail.cw')
define(`confCW_FILE', `-o /etc/mail/local-host-names')
dnl Enable for both IPv4 and IPv6 (optional)
DAEMON_OPTIONS(`Name=IPv4, Family=inet')
DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O')
define(`confBIND_OPTS', `WorkAroundBrokenAAAA')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
MAILER(local)
MAILER(smtp)
Your assistance in this matter is appreciated.
Best regards,
Mike