f



Sendmail, stat=Deferred: Connection Refused

Hi

I have sendmail running on my iBook just fine. I do not have it
running as a server, I just use it to send out mail from crons and
scripts .... where it just creates an instance of sendmail to send the
message and stops again.

I am trying to setup the same thing on my iMac and I have some success
but not complete.
When I do not have sendmail running as a server on the iMac and I try
to send a message I get the error .....

Oct 31 08:17:19 iMac sendmail[383]:... proto=ESMTP, daemon=MTA,
relay=localhost [127.0.0.1]
blah blah message IDs etc
relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection
refused by [127.0.0.1]

When I start up sendmail with /usr/sbin/sendmail -bd -q1h and send a
message I get

Oct 31 08:20:19 iMac sendmail[383]:... proto=ESMTP, daemon=MTA,
relay=localhost [127.0.0.1]
blah blah message IDs etc
relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (h9V3tp7Y000529
Message accepted for delivery)

The curious thing here is that sendmail is using the 127.0.0.1 IP
address. It's address is 192.168.100.5. The iBook and iMac are behind
a linksys router with 192.168.100.x addresses.

On my iBook the log shows:

proto=ESMTP, daemon=MTA, relay=ibook [192.168.100.3]

so here sendmail is using 'ibook" which is it's hostname and it's 192
address. No mention of 127.0.0.1 at all.

On my iMac the /etc/hosts file is the same as the ibook

127.0.0.1       localhost
255.255.255.255 broadcasthost
::1             localhost 
192.168.100.5     imac
192.168.100.3     ibook

So .. the use of this loopback address is somehow preventing sendmail
from delivering messages unless it is running in server mode
(/usr/sbin/sendmail -bd -q1h). Some resolution problem?

Anyone with ideas .. ?

thanx

Roger
0
spacemancw (45)
10/31/2003 1:39:36 PM
comp.mail.sendmail 13518 articles. 1 followers. jfretby (35) is leader. Post Follow

0 Replies
1494 Views

Similar Articles

[PageSpeed] 10

Reply:

Similar Artilces:

Sendmail, stat=Deferred: Connection Refused #2
well I got it working but not sure why the iMac came with a default /etc/mail/submit.cf file i don't know what that is for but actually I dont have that file on my ibook but I did see the other day on the web to link that file to sendmail.cf ln -s /etc/mail/sendmail.cf /etc/mail/submit.cf i renamed the old submit.cf to submit.cf.old and now I can deliver mail with or with sendmail running in -bd mode anyone know what submit.cf is for? spacemancw wrote: > the iMac came with a default /etc/mail/submit.cf file > i don't know what that is for > but actually I dont have that fil...

sendmail.sendmail?
I'm setting up a newly configured server from the hosting provider, and the sendmail file is in /usr/lib/sendmail.sendmail I'm not sure why sendmail.sendmail is repeating. Is there some configuration remaining or do I just need to rename the file to sendmail? Thanks Dan DeLion <noemail@northpole.nowhere> wrote: > I'm setting up a newly configured server from the hosting provider, and the > sendmail file is in > /usr/lib/sendmail.sendmail > I'm not sure why sendmail.sendmail is repeating. Is there some > configuration remaining or do I just need t...

sendmail sendmail[12024]: [ID 801593 mail.crit] k560CUvG012024: SYSERR(root): collect: read timeout on connection from ???????, ???????
Does anyone else get this error messages. What does this mean?? What can I do to fix this? sendmail sendmail[12024]: [ID 801593 mail.crit] k560CUvG012024: SYSERR(root): collect: read timeout on connection from ??????, ???? OS Solaris 10 Sendmail 8.13.6 Thanks Jeff spellman.jeff@gmail.com wrote: > Does anyone else get this error messages. What does this mean?? > What can I do to fix this? > sendmail sendmail[12024]: [ID 801593 mail.crit] k560CUvG012024: > SYSERR(root): collect: read timeout on connection from ??????, ???? > > OS Solaris 10 > Sendmail 8.13.6 &...

Mail::Sendmail cannot connect to localhost but the mail command can
Hello, I have a script that uses Mail::Sendmail, this script works just fine in 4 different boxes (RedHat and Solaris). Nevertheless, there is this Solaris machine where it doesn't work, and this is the error I get in the $Mail::Sendmail::error variable: connect to localhost failed (Connection refused) The thing that puzzles me, is that in the same machine, the mail command works just fine. <snipet> 39 sfx@et2:ver_2> mail andres@monroy.com testing .. </snipet> As far as I know, mail tries to send emails via the localhost SMTP just as Mail::Sendmail does. I also tried c...

Sendmail connection refused
Linux distro: SuSE 8.0 Sendmail: version 8.12.2 I've been unsuccessful connecting to sendmail on any interface other than 127.0.0.1 If I try to send a mail to the sendmail process running on this host with sendmail(for testing purposes) with the following command: /usr/sbin/sendmail -Cclient.cf -v -d user1 (this is an exercise in a book I've beem following: "sendmail" by Costales/Allman) user1... Connecting to host1.domain via hub... makeconnection (host1.domain.net. [192.168.1.2].25 (2)) makeconnection:fd=6 Connect failed (Connection refused by host1.domain.) openmailer: makeconnection => stat=75, errno=111 However it works just fine if I send a mail this way: /usr/sbin/sendmail -v -d user1 user1... Connecting to localhost.domain. via relay... makeconnection (localhost.domain). [127.0.0.1].25 (2)) makeconnection: fd=6 smtpinit .... Furthermore, if I try to telnet: $> telnet 192.168.1.2 25 Trying 192.168.1.2... telnet: connect to address 192.168.1.2: Connection refused But $> telnet 127.0.0.1 25 Trying 127.0.0.1... Connected to 127.0.0.1.. 220 host1.domain ESMTP Sendmail 8.12.3/8.12.3/SuSE Linux 0.6; ... Works Also netstat -a gives : tcp 0 0 localhost:smtp *:* LISTEN as the only entry for smtp I tried everything I could imagine to get sendmail to listen to interface other than 127.0.0.1 In sendmail.cf I changed daemon port options to: O DaemonPortOptions=Name=MTA,Addr=192.168.1.2 This has no effect! I e...

sendmail refusing connections
Hello All I recently installed sendmail with wrappers support (thankyou for your help) on a host within our network, my reasoning was that Host A would only except mail from our users and our mail relay Host B. I see in Host B's log files that Host A is sometimes refusing connections from our members as well as from Host B with the message.. "Deferred: Connection timed out with ...." I have set the RefuseLA option as well as MaxDaemonChildren to very high numbers with no result, it is still refusing connections. I really don't want Host A to ever refuse a connection from it...

Sendmail Deferring mail.
Hi All, I have an issue with sendmail deferring mail when sending, mail is just getting dumped in the mail queue and going no-where.. I'm getting the following error: May 8 21:40:43 wamzl100 sendmail[5723]: p491ehbX005723: from=<root@wamzl100.xxx.com>, size=321, class=0, nrcpts=1, msgid=<201105090140.p491edDd005720@wamzl100.xxx.com>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1] May 8 21:40:43 wamzl100 sendmail[5720]: p491edDd005720: to=xxx@xxx.com.au, ctladdr=root (0/0), delay=00:00:04, xdelay=00:00:00, mailer=relay, pri=30010, relay=[127.0.0.1] [127.0.0.1], dsn=2...

Stopping sendmail from listenning (sendmail: accepting connections)
I know (but can't remember how) that there is a way to have sendmail configured only to send outgoing mail only and refusing external connections. Can someone have a clue? thanks, JP. Dale Talcott wrote: > Jean-Philippe Blais <jphblais@zinfo.ca> writes: > >>I know (but can't remember how) that there is a way to have sendmail >>configured only to send outgoing mail and refusing external >>connections. > > We use -d99.100 -q30m on the command line, along with a sendmail.cf with > masquerading and a smart host defined. > Hi, thank you for...

mail / sendmail refused by localhost
hello, i have a running redhat linux ... sendmail is running ... i can sent emails to local users i.E. mail -s "subject" root@localhost but if i want to send a email to a email adress like this... (michiegwolf@web.de) i get the message: Jul 28 09:42:16 gateway01 sendmail[28559]: h6S7gG3b028559: from=root, size=45, class=0, nrcpts=1, msgid=<200307280742.h6S7gG3b028559@gateway01.pari.de>, relay=root@localhost Jul 28 09:42:16 gateway01 sendmail[28559]: h6S7gG3b028559: to=michiegwolf@web.de, delay=00:00:00, mailer=esmtp, pri=30038, dsn=4.4.3, sta...

Sendmail Deferred: Connection timed out
Hi, I got the following "Connection timed out" errors from some of the email servers, like google: $ tail -1 /var/log/mail.log Jun 15 15:55:52 coral sm-mta[9924]: s5FAo29p007675: to=<me@gmail.com>, delay=09:05:50, xdelay=00:10:36, mailer=esmtp, pri=2550569, relay=alt4.gmail-smtp-in.l.google.com. [74.125.136.26], dsn=4.0.0, stat=Deferred: Connection timed out with alt4.gmail-smtp- in.l.google.com. Since not all my emails are blocked, I think that the problem is not at my local side, but the remote SMTP server. This is what I did to look into the problem...

Sendmail Newbie: Connection refused
I've recently upgraded from SunSendmail8.10.7 to Sendmail8.12.10. After doing this, when I attempt to send mail via command-line (/usr/lib/sendmail -v /dev/null bmfukud), I get the following error message. bmfukud...Connecting to [127.0.0.1] via relay... bmfukud...Deferred: Connection refused by [127.0.0.1] FYI: Output from /usr/lib/sendmail -bt -d0.1 < /dev/null Version 8.12.10 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NDBM NETINET NETINET6 NETUNIX NIS NISPLUS PIPELINING SCANF XDEBUG ============== SYSTEM IDENTIT...

Sendmail claiming connection refused
Hello there! I have the following setup: Server 1 is running sendmail and is setup as the standard mx using means of DNS. server 2 is also running sendmail and is configured as a backup mx for domains hosted on server 1 (mx records set properly). Basically, server 2 is supposed to accept mail for serveral domains during times when server 1 is not reachable for email. In order to achieve that, I have added those domains to /etc/relay-domains on server 2. In addition to that I have added those domains to /etc/mailertable as follows: domain.com smtp:server1.domain.com I assume this is the...

Sendmail Connection Refused: Resolved
Turns out there was a very simple solution. Sendmail wasn't listening to any other network interfaces due to how it was being launched, rather than a firewall or configuration problem. The solution evaded me because SuSE doesn't document their Sendmail implementation very well, but it's obvious from SuSE's init script for Sendmail. if test "$SMTPD_LISTEN_REMOTE" != "yes"; then SENDMAIL_ARGS="-O DaemonPortOptions=Addr=127.0.0.1 $SENDMAIL_ARGS" where $SENDMAIL_ARGS is set in a file /etc/sysconfig/mail Thanks for all the help! George...

Sendmail refuses to send mail
Hi, only recently have I started using sendmail (8.11) on a RedHat 7.1 linux machine. Up till now I've only been able to receive e-mail (both local and remote). Sending e-mail to a valid e-mail address stops with a dsn 4.0.0 and "no route to host", even though I can ping the domain in the e-mail address. Traceroute however is unable to come up with an answer. What do I do wrong? Any place I can find a clear description of what is happening? Thanks in advance! --------------= Posted using GrabIt =---------------- ------= Binary Usenet downloading made easy =--------- -= ...

sendmail patch overwrites /etc/mail/sendmail.cf
Beware: just installed patch 122857-02 (would be 122856 on SPARC) on my machine. Why does this patch overwrite my (custom) /etc/mail/sendmail.cf? This file is marked in the /var/sadm/install/contents database as "e" so should be left alone during patch installation. At least a notice in the patch README would have been nice, but this file just contains useless NOTEs most of the time. Better leave the sendmail.cf alone if it has been changed from the installed one (can be simply checked with the checksum in /var/sadm/install/contents) -- Daniel On Fri, 28 Apr 2006, Daniel Rock...

stat=Deferred: Connection refused by
Hi for the past two days I'm trying to get the sendmail working with out any success, sendmail keep getting the followings error: Jun 13 22:07:34 teapot sendmail[214622]: j5DIYKv6212015: to=scc-sysadm@hp.com, delay=01:33:14, xdelay=00:01:01, mailer=esmtp, pri=481788, relay=hp.com [192.6.234.8], dsn=4.0.0, stat=Deferred: Connection refused ANY_DOMAIN I can telnet to hp.com mail server on port 25 without problem: root@teapot# dig MX netman.dk ;; ANSWER SECTION: netman.dk. 86400 IN MX 5 barracuda.netman.dk. netman.dk. 86400 IN ...

Sending mail without sendmail or highly secure sendmail
Hello all, I am setting up a very secure Red Hat Enterprise Linux Advanced Server version 4 update 6 server. My sendmail version is 8.13.1. My mail server is a Windows 2003 Server with Exchange 2003 with its patches. They are both on the same subnet. DNS is on and it will resolve the mail server's name and IP. SSH, SCP, SFTP, and such tools are the only networkable protocols on. NFS if off, MOUNTD is off, PORTMAP is off, and such. Until just recently sendmail was off on the RHEL server as part of the hardening procedure. However part of the auditing requirements is for a mail messag...

Sendmail refusing connections #2
I am Very new to sendmail, so I don't even know what type of information would be helpful for me to post. I am using sendmail 8.13.6, that comes bundled with Sophos PureMessage for Unix. We have seen a couple of network outages recently, and my sendmail server has had some issues during this time. This box serves as both my mail gateway and my outgoing smtp server for all clients (Eudora, Thunderbird, and Sun's Webmail) on my network. When the network is down, it starts refusing local client connections, but not from Sun's Messenging server. I am always able to send outgoing me...

sendmail is deferred connection with other PC in the same net
Hi: I have a sendmail that connect to other MTA's without problems but with a POP3 server in the same net the first devolve deferred:connection refused. Can anyone help me? The PORT 25 is ok iptables are off pop3 service in second server is ok A greeting Elboalo ...

Sendmail simple relay
I've been running sendmail 8.12.5 on Redhat 8 for close to a year without any problems. This sendmail installation doesn't do anything besides take e-mails that are generated by PHP scripts and forward them to the appropriate address. The server resides in a DMZ with a real-world IP and is firewalled on port 25 to prevent any kind of open relaying or other mischief. About a week ago, sendmail suddenly stopped delivering messages. The problem seems to be that the e-mails are attempting to be sent using the real world IP instead of localhost. In fact, all of the old log entries were...

Sendmail Deferred and times out with mail server
I have a linux box that sits in our Cisco PIX DMZ and relays mail to our internal Exchange server. Problem I have is that sometimes it relays fine, other times we get a 'Connection timed out with mail.unix.com'. Here is a snippet from my logfile of a email I recently sent: Jan 6 11:36:42 myhost sendmail[4136]: j06GagkR004136: from=root, size=62, class=0, n rcpts=1, msgid=<200501061636.j06GagkR004136@myhost.unix.com>, relay=root@loca lhost Jan 6 11:36:43 myhost sendmail[4138]: j06GagU6004138: from=<root@myhost.unix.com>, size=386, class=0, nrcpts=1, msgid=<20050106163...

sendmail refuse mail to specific users
we have sendmail setup to accept all mail to unqualified recipiants which then drops into a default mailbox if no valid user is found. This is the main is fine and wanted for our setup, but we are getting mail aimed at some particular boxes, eg, fring, jkft etc, is there a way to have sendmail check a list and if a particular name is matched refuse the mail ? f825_633 wrote: > we have sendmail setup to accept all mail to unqualified recipiants > which then drops into a default mailbox if no valid user is found. > > This is the main is fine and wanted for our setup, but we ...

Sendmail Sandwich: Connection refused by localhost
Hi all, I have configured Trendmicro InterScan within a sendmail sandwich on SuSE 7.2: The front end sendmail (smpt1) listens on port 25, does relay checking end sends the message via a special local mailer (esmtpvw) and mailertable to InterScan listening on port 18000. After mail scanning InterScan sends the message to the backend sendmail (smpt2) on port 19000 which distributes the mail to the different mail servers. After changing the DNS servers in the network configuration and a reboot the front end sendmail complained for incoming messages with: Jul 2 08:34:04 ora-xlvw smtp1[973]: h6...

unable to forward mail from 1 sendmail server to another sendmail server
Hi, i have a setup like this: box A ---> box B ---> sends to the world. sendmail, solaris 9. what is happening is as follows: Application on box A generates mail (for the users, who can be from anywhere) forwards it to box B which sends it out. The box A is forwarding mail to box B, only for the users of the domain, ie if there is a user is having a gmail id the mail is NOT forwarded from box A ----> box B. If i do a nslookup on gmail on box A it resolves properly. XXXXXX Message 2: >From MAILER-DAEMON Wed Oct 26 12:14:26 2005 Date: Wed, 26 Oct 2005 12:14:26 +0530 (IST) Fro...

Web resources about - Sendmail, stat=Deferred: Connection Refused - comp.mail.sendmail

Resources last updated: 2/23/2016 10:31:31 AM