Fedora core 1 sendmail problems

Ron Herardian rherardi at gssnet.com
Mon Mar 29 01:09:23 UTC 2004


The DAEMON_OPTIONS line allows you to specify multiple options. The Addr restriction is just one. It makes no sense to remove the whole line just to disable Addr.

The solution is probably in the first line of my previous message: the sendmail.cf file may not have been changed.

Ron

PS Thank you for noting the syntax error.




Alexander Dalloz wrote:
> 
> Am Mo, den 29.03.2004 schrieb Ron Herardian um 02:31:
> > Homer,
> >
> > Double check that "Addr=127.0.0.1" is removed from the sendmail.cf file. The sendmail.cf file is only
> > rebuilt on restart (or if you run make in /etc/mail) of sendmail if and only if you have the sendmail-cf
> > package installed. This is the most common problem on Red Hat.
> >
> > FYI, here's one way to do a basic sendmail setup (there are others), assuming that the sendmail-cf
> > package is installed:
> >
> > 1. Go back and uncomment "# DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl"
> > 2. Modify the line to read "# DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl"
> >    Note: We are deleting "Addr=127.0.0.1"
> 
> Why should that change make any sense? It is totally unnecessary.
> Setting no DAEMON_OPTIONS for MTA (dnl in front of the default line)
> does exactly the same as using the DAEMON_OPTIONS with Addr=0.0.0.0. So
> again, this is nothing which brings anyone a step forward.
> 
> If you reread the OP first mail you will easily see that the limitation
> to localhost has successfully gone. Otherwise he could not connect to
> the Sendmail host using telnet from a different host inside his network.
> 
> The line above is even wrong. If DAEMON_OPTIONS is used, there has to be
> NO # in front of it! "#" is no valid comment letter in .cf files. Only
> use "dnl" for this purpose.
> 
> > 3. If this is a relay edit /etc/mail/relay-domains and add your domain (unless this is the server where all
> > mailboxes reside)
> >    Note: /etc/mail/access does not need to contain anything if you're using /etc/mail/relay-domains
> > because relay-domains says that no mail is relayed except mail destined for the domains listed
> > (regardless of who's sending it), i.e., you accept mail for your domain and not mail to be relayed to other
> > domains
> 
> This is not needed for basic operation. Do NOT set anything to be
> relayed - neiter in access nor in relay-domains - unless your really
> need it.
> 
> > 4. Restart sendmail.
> >
> > That's about all you need to do to get sendmail working for your domain and not as an open relay. Of
> > course this assumes your IP address, router, netmask, host name, and domain name servers are all
> > set up correctly.
> >
> > Ron
> 
> Alexander
> 
> --
> Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
> Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2174.nptl
> Sirendipity 02:47:55 up 9 days, 10:29, load average: 0.10, 0.11, 0.09
>                    [ Γνωθι σ'αÏ
τον - gnothi seauton ]
>              my life is a planetarium - and you are the stars
> 
>                                                   -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>                        Name: signature.asc
>    signature.asc       Type: application/pgp-signature
>                 Description: Dies ist ein digital signierter Nachrichtenteil
> 
>                                                   -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list

-- 

Global System Services Corporation (GSS)
650 Castro Street, Suite 120, Number 268, Mountain View, CA 94041, USA
+1 (650) 965-8669 phone, +1 (650) 965-8679 fax, +1 (650) 283-5241 mobile
rherardi at gssnet.com, http://www.gssnet.com

"The best way to predict your future is to create it." - Stephen Covey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rherardi.vcf
Type: text/x-vcard
Size: 1287 bytes
Desc: Card for Ron Herardian
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040328/6d16c389/attachment-0001.vcf>


More information about the fedora-list mailing list