Re: Mail Heading to dead.letter
At 10:08 PM 7/30/2008, Andy Christianson wrote: > > At 05:45 PM 7/30/2008, Andy Christianson wrote: > > > > > Check perms on /var/mail that it is set to 775 > > > > -Derek > > > > /var/mail is at 775, so that's not it... > > [EMAIL PROTECTED] ~]$ stat /var/mail > 89 47105 drwxrwxr-x 2 root mail 188185 512 "Jul 30 03:01:51 2008" "Jul 30 > 16:35:18 2008" "Jul 30 16:35:18 2008" "Feb 24 12:49:40 2008" 4096 4 0 > /var/mail > > > > I would kick up the logging on sendmail to see better what is going on and > where the failure really is. You can add: > -O LogLevel=80 > To your sendmail options in /etc/rc.conf > > Since root can send mail but regular users cannot, it sounds like a > permission problem somewhere. > > -Derek > It turns out that FreeBSD wasn't happy with its host name. I changed it to a host name that resolves properly, and sendmail began to work as expected. Thanks for looking at this. -Andy Andy, Sendmail is VERY dns dependent as you found out. Glad all is working fine. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mail Heading to dead.letter
> > At 05:45 PM 7/30/2008, Andy Christianson wrote: > > > > > Check perms on /var/mail that it is set to 775 > > > > -Derek > > > > /var/mail is at 775, so that's not it... > > [EMAIL PROTECTED] ~]$ stat /var/mail > 89 47105 drwxrwxr-x 2 root mail 188185 512 "Jul 30 03:01:51 2008" "Jul 30 > 16:35:18 2008" "Jul 30 16:35:18 2008" "Feb 24 12:49:40 2008" 4096 4 0 > /var/mail > > > > I would kick up the logging on sendmail to see better what is going on and > where the failure really is. You can add: > -O LogLevel=80 > To your sendmail options in /etc/rc.conf > > Since root can send mail but regular users cannot, it sounds like a > permission problem somewhere. > > -Derek > It turns out that FreeBSD wasn't happy with its host name. I changed it to a host name that resolves properly, and sendmail began to work as expected. Thanks for looking at this. -Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mail Heading to dead.letter
At 05:45 PM 7/30/2008, Andy Christianson wrote: > > Check perms on /var/mail that it is set to 775 > > -Derek > /var/mail is at 775, so that's not it... [EMAIL PROTECTED] ~]$ stat /var/mail 89 47105 drwxrwxr-x 2 root mail 188185 512 "Jul 30 03:01:51 2008" "Jul 30 16:35:18 2008" "Jul 30 16:35:18 2008" "Feb 24 12:49:40 2008" 4096 4 0 /var/mail I would kick up the logging on sendmail to see better what is going on and where the failure really is. You can add: -O LogLevel=80 To your sendmail options in /etc/rc.conf Since root can send mail but regular users cannot, it sounds like a permission problem somewhere. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mail Heading to dead.letter
> > Check perms on /var/mail that it is set to 775 > > -Derek > /var/mail is at 775, so that's not it... [EMAIL PROTECTED] ~]$ stat /var/mail 89 47105 drwxrwxr-x 2 root mail 188185 512 "Jul 30 03:01:51 2008" "Jul 30 16:35:18 2008" "Jul 30 16:35:18 2008" "Feb 24 12:49:40 2008" 4096 4 0 /var/mail ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mail Heading to dead.letter
At 07:52 AM 7/30/2008, Andy Christianson wrote: Sendmail is running & DNS is working. See the following output: [EMAIL PROTECTED] /home/andy]# /etc/rc.d/sendmail status sendmail_submit is running as pid 71703. sendmail_clientmqueue is running as pid 675. [EMAIL PROTECTED] /home/andy]# ping gmail.com PING gmail.com (64.233.161.83): 56 data bytes 64 bytes from 64.233.161.83: icmp_seq=0 ttl=239 time=19.943 ms 64 bytes from 64.233.161.83: icmp_seq=1 ttl=239 time=22.096 ms 64 bytes from 64.233.161.83: icmp_seq=2 ttl=239 time=22.568 ms 64 bytes from 64.233.161.83: icmp_seq=3 ttl=239 time=19.368 ms ^C --- gmail.com ping statistics --- 4 packets transmitted, 4 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 19.368/20.994/22.568/1.364 ms [EMAIL PROTECTED] /home/andy]# mail [EMAIL PROTECTED] Subject: Test This is a test!! EOT [EMAIL PROTECTED] /home/andy]# exit exit [EMAIL PROTECTED] ~]$ mail [EMAIL PROTECTED] Subject: Another test!! Test sent from a normal user EOT [EMAIL PROTECTED] ~]$ /home/andy/dead.letter... Saved message in /home/andy/dead.letter Check perms on /var/mail that it is set to 775 -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mail Heading to dead.letter
Sendmail is running & DNS is working. See the following output: [EMAIL PROTECTED] /home/andy]# /etc/rc.d/sendmail status sendmail_submit is running as pid 71703. sendmail_clientmqueue is running as pid 675. [EMAIL PROTECTED] /home/andy]# ping gmail.com PING gmail.com (64.233.161.83): 56 data bytes 64 bytes from 64.233.161.83: icmp_seq=0 ttl=239 time=19.943 ms 64 bytes from 64.233.161.83: icmp_seq=1 ttl=239 time=22.096 ms 64 bytes from 64.233.161.83: icmp_seq=2 ttl=239 time=22.568 ms 64 bytes from 64.233.161.83: icmp_seq=3 ttl=239 time=19.368 ms ^C --- gmail.com ping statistics --- 4 packets transmitted, 4 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 19.368/20.994/22.568/1.364 ms [EMAIL PROTECTED] /home/andy]# mail [EMAIL PROTECTED] Subject: Test This is a test!! EOT [EMAIL PROTECTED] /home/andy]# exit exit [EMAIL PROTECTED] ~]$ mail [EMAIL PROTECTED] Subject: Another test!! Test sent from a normal user EOT [EMAIL PROTECTED] ~]$ /home/andy/dead.letter... Saved message in /home/andy/dead.letter On Wed, Jul 30, 2008 at 3:32 AM, Ruben de Groot <[EMAIL PROTECTED]> wrote: > > Check if sendmail is running and your DNS is working. > > regards, > Ruben > > On Tue, Jul 29, 2008 at 09:26:50PM -0400, Andy Christianson typed: > > Whenever I send any email from my normal user account, it goes straight > to > > dead.letter, even if I attempt to mail a local user. When I try to send > mail > > as root, it simply does not send. I have a very basic, updated FreeBSD > 7.0 > > installation. Mail has not worked since I installed 7.0 about 42 days > ago. I > > am able to ping internet addresses as well as well as resolve domain > names. > > > > At the very least, can someone point me in the correct direction to start > > debugging this? I have read relevant sections in the FreeBSD handbook as > > well as sendmail manpages, etc. > > > > Thanks in advance for any help! > > > > -Andy > > ___ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > [EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"