Periodic mails not working

I've got a problem with /etc/periodic.conf, I can't get periodic mails working.

I have checked that I have
Code:
set skip lo0
on /etc/pf.conf, also I have double checked that I have right
Code:
username
in /etc/periodic.conf. After that I have used command [CMD=]newaliases[/CMD].

This is the error what I have in /var/log/mail:

Code:
Sep  7 07:28:07 myhostname sm-msp-queue[33310]: p874S56E033310: to=postmaster, delay=00:00:00,
 xdelay=00:00:00, mailer=relay, pri=34786, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred:  Connection refused by
 [127.0.0.1]

Sep  7 07:28:07 myhostname sm-msp-queue[33310]: p824205S067501: to=root, ctladdr=root (0/0), delay=5+00:26:07,
 xdelay=00:00:00, mailer=relay, pri=21720335, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by
 [127.0.0.1]

Sep  7 07:28:07 myhostname sm-msp-queue[33310]: p824205S067501: p874S56F033310: sender notify: Cannot send
 message for 5 days

All the help would be nice

-folivora
 
Is sendmail actually running?

# pgrep -lf sendmail
# sockstat | grep sendmail
 
It is running if I am right:

Code:
pgrep -lf sendmail
1145 sendmail: Queue runner@00:30:00 for /var/spool/clientmqueue
Code:
sockstat |grep sendmail
smmsp    sendmail   1145  3  dgram  (not connected)
 
It's only half running, there's nothing listening on port 25.

What entries regarding sendmail do you have in /etc/rc.conf?
 
Remove this one:
Code:
sendmail_submit_enable="YES"
 
Back
Top