sendmail rejected local connection
Thanks for all the explanations.
On Wed, 29 Sep 2010 18:02:05 +0200, Sven Joachim wrote: > In case you want that back, (setq mail-user-agent 'sendmail-user-agent) > does the trick. Can you send mail if you do that? No... OK, so the problem is acutally sendmail. My bad. It seems to me that sendmail is not accepting local smtp connections: Sep 29 14:00:06 coral sm-msp-queue[11799]: o8THO6vW011692: to=test@email.com, ctladdr=me (myid/mygrp), delay=00:36:00, xdelay=00:00:00, mailer=relay, pri=210140, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] Sep 29 14:00:06 coral sm-msp-queue[11799]: o8TEe1OX009848: to=root, delay=03:20:05, xdelay=00:00:00, mailer=relay, pri=931826, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] Sep 29 14:00:06 coral sm-msp-queue[11799]: o8TAT6ga009319: to=root, ctladdr=root (0/0), delay=07:31:00, xdelay=00:00:00, mailer=relay, pri=2100639, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] On googling for the cure, I found some posts that suggest to tweak daemon options. Here is my current setting: root@coral:/etc/mail# grep smtp *.mc sendmail.mc:dnl DAEMON_OPTIONS(`Family=inet6, Name=MTA-v6, Port=smtp, Addr=::1')dnl sendmail.mc:DAEMON_OPTIONS(`Family=inet, Name=MTA-v4, Port=smtp, Addr=127.0.0.1')dnl sendmail.mc:MAILER(`smtp')dnl $ grep DaemonPortOptions *.cf sendmail.cf:O DaemonPortOptions=Family=inet, Name=MTA-v4, Port=smtp, Addr=127.0.0.1 sendmail.cf:O DaemonPortOptions=Family=inet, Name=MSP-v4, Port=submission, M=Ea, Addr=127.0.0.1 submit.cf:O DaemonPortOptions=Name=NoMTA, Addr=127.0.0.1, M=E Anything wrong with it? How can I enable sendmail to accept local smtp connections for apps like emacs? (sendmail from the command line works fine) Thanks. -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org Archive: i7vvun$pje$1@dough.gmane.org">http://lists.debian.org/i7vvun$pje$1@dough.gmane.org |
sendmail rejected local connection
On Wed, 29 Sep 2010 18:19:03 +0000, T o n g wrote:
> It seems to me that sendmail is not accepting local smtp connections: because of the sendmail service is not started (this is a new install). update-rc.d sendmail defaults invoke-rc.d sendmail start problem solved. -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org Archive: i826nr$iva$1@dough.gmane.org">http://lists.debian.org/i826nr$iva$1@dough.gmane.org |
| All times are GMT. The time now is 01:35 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.