RE: Mail not sending

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Smarthost in sendmail.cf deals with the daemon doing the mail delivery
setting the smarthost in submit.cf will have the desired effect :-)

still not optimal but will do what he was after.. cheers for that Geoff

-- 
Steve.

On Tue, 3 Feb 2004, Geoff Rainey (DSLAK) wrote:

> I do not know if this issue has been answered yet, but is this not
> a sendmail.cf configuration parameter to send mail directly to a 
> relay and not the localhost?
> 
> The parameter I am reffering to is
> 
> Smart relay host, here is an example from the sendmail.cf file -
> 
> ----------------------------------
> # "Smart" relay host (may be null)
> DSakmscet55.nzpost.co.nz
> ----------------------------------
> 
> Where akmscet55.nzpost.co.nz is the mail server.
> 
> regards,
> Geoff.
> 
> > -----Original Message-----
> > From: redhat-list-admin@xxxxxxxxxx
> > [mailto:redhat-list-admin@xxxxxxxxxx]On Behalf Of Steve
> > Sent: Tuesday, 3 February 2004 8:59 a.m.
> > To: 'redhat-list@xxxxxxxxxx'
> > Subject: RE: Mail not sending
> > 
> > 
> > The way redhat 8 onwards were setup - sendmail was set to listen on 
> > localhost only by default (to minimise security problems) and 
> > the "mail" 
> > (/bin/mail) client was set to relay mail via localhost and let the 
> > delivery daemon deal with it. This has advantages (more seemless 
> > intergration with different MTA's etc) but will produce the 
> > error you are 
> > seeing is the sendmail daemon is not running for any reason.
> > 
> > You can change the sendmail.cf and associated files such that this 
> > behaviour no longer happens tho I havent bothered to look 
> > into how to do 
> > this and it may be more effort than it's worth.
> > 
> > The hint here was the message "connection refused" which 
> > tends to indicate 
> > that you have turned off the sendmail daemon and hence no 
> > connection to 
> > localhost on port 25 can be established (this can also be the 
> > result of 
> > firewall rules)
> > 
> > I'd suggest you turn your sendmail daemon back on..
> > 
> > -- 
> > Steve.
> > 
> > On Mon, 2 Feb 2004, Christian Campbell wrote:
> > 
> > > > > I'm trying to send mail from my RH8.0 box.The server I am 
> > > > sending to is on
> > > > > my LAN.  I've run tcpdump on the box that is sending the 
> > > > mail, and I can't
> > > > > see that's it's making any attempt to send any mail.  I can 
> > > > telnet to the
> > > > > mail server on port 25 with no problem (and can see that 
> > > > through tcpdump). 
> > > > > 
> > > > > Any thoughts?
> > > > 
> > > > Look in your maillog?
> > > > 
> > > 
> > > Here's what I'm getting in my maillog:
> > > 
> > > Feb  2 13:30:46 www2 sendmail[6659]: i12IUku6006659: 
> > from=root, size=48,
> > > class=0, nrcpts=1, 
> > msgid=<200402021830.i12IUku6006659@xxxxxxxxxxxxxxxxxx>,
> > > relay=root@localhost
> > > Feb  2 13:30:46 www2 sendmail[6659]: i12IUku6006659:
> > > to=ccampbell@xxxxxxxxxxxxx, ctladdr=root (0/0), delay=00:00:00,
> > > xdelay=00:00:00, mailer=relay, pri=30043, relay=[127.0.0.1] 
> > [127.0.0.1],
> > > dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
> > > 
> > > It seems like it's trying to send mail to itself?  It 
> > should be trying to
> > > send mail to the mail exchanger for brueggers.com which is
> > > mail.brueggers.com.
> > > 
> > > Why is it trying to send to 127.0.0.1?  
> > > 
> > > Christian
> > > 
> > > 
> > > 
> > 
> > 
> > -- 
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> > 
> 
> 
> 


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux