FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor


 
 
LinkBack Thread Tools
 
Old 09-03-2008, 02:53 PM
"Marti, Rob"
 
Default sendmail

She's set up as one, and the box is open to the internet (since it relayed mail to gmail). It may not accept connections from outside the server/local network, but it is still an open relay.

Rob Marti
Systems Administrator
Sam Houston State University
936-294-3804 // rjm002@shsu.edu


-----Original Message-----
From: redhat-list-bounces@redhat.com [mailto:redhat-list-bounces@redhat.com] On Behalf Of Barry Brimer
Sent: Wednesday, September 03, 2008 9:48 AM
To: General Red Hat Linux discussion list
Subject: RE: sendmail

He telnetted to 127.0.0.1 25 .. which does not make him an open relay.

Quoting "Marti, Rob" <RJM002@shsu.edu>:

> You're connecting from somewhere other than gmail.com and saying the mail is
> coming from gmail.com. You're trying to relay mail without authenticating,
> which I would bet google has disabled. Your MTA A is currently set up as an
> open relay (unless you're at gmail.com). Read
> http://en.wikipedia.org/wiki/Open_mail_relay to see why this is bad.
>
> Rob Marti
>
> -----Original Message-----
> From: redhat-list-bounces@redhat.com [mailto:redhat-list-bounces@redhat.com]
> On Behalf Of Joy Methew
> Sent: Wednesday, September 03, 2008 9:11 AM
> To: General Red Hat Linux discussion list
> Subject: sendmail
>
> here is two systems both are "mta" A and B with sendmail.
> A is mine and B is gmail mat.
> when i telnet my mta means A --->>telnet 127.0.0.1 25
> helo hi
> mail from:root@yahoo.com <from%3Aroot@yahoo.com>
> rcpt to:ml4joy@gmail.com <to%3Aml4joy@gmail.com>
> i recived mail very easly.
> it means my mta "A" telnet indirectaly to gmail mta.
> but when i try to telnet directly to gmail mta its give error like.
>
>
> 220 mx.google.com ESMTP t26si1434066ele.4
> helo gmail.com
> 250 mx.google.com at your service
> mail from:ml4joy@gmail.com <from%3Aml4joy@gmail.com>
> 555 5.5.2 Syntax error t26si1434066ele.4
>
> Any idea why the "Syntax error".?
>
> Thanks
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
> !DSPAM:48bea336323471050151401!
>
>



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


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 09-03-2008, 03:23 PM
Barry Brimer
 
Default sendmail

This server *may* be set up as an open relay, but that does not mean that it is.
An open relay allows anyone and everyone the ability to relay mail. So far,
all we know is that someone from a trusted IP address (such as localhost) is
able to deliver mail to a non-local domain, which itself indicates that it is
willing to relay mail for the IP address that connected to it, but does not
make it an open relay. In a default RHEL 5 sendmail configuration the server
only listens on localhost to begin with, and the contents of the default
/etc/mail/access explicitly allow relaying from localhost.

Quoting "Marti, Rob" <RJM002@shsu.edu>:

> She's set up as one, and the box is open to the internet (since it relayed
> mail to gmail). It may not accept connections from outside the server/local
> network, but it is still an open relay.
>
> Rob Marti
> Systems Administrator
> Sam Houston State University
> 936-294-3804 // rjm002@shsu.edu
>
>
> -----Original Message-----
> From: redhat-list-bounces@redhat.com [mailto:redhat-list-bounces@redhat.com]
> On Behalf Of Barry Brimer
> Sent: Wednesday, September 03, 2008 9:48 AM
> To: General Red Hat Linux discussion list
> Subject: RE: sendmail
>
> He telnetted to 127.0.0.1 25 .. which does not make him an open relay.
>
> Quoting "Marti, Rob" <RJM002@shsu.edu>:
>
> > You're connecting from somewhere other than gmail.com and saying the mail
> is
> > coming from gmail.com. You're trying to relay mail without authenticating,
> > which I would bet google has disabled. Your MTA A is currently set up as
> an
> > open relay (unless you're at gmail.com). Read
> > http://en.wikipedia.org/wiki/Open_mail_relay to see why this is bad.
> >
> > Rob Marti
> >
> > -----Original Message-----
> > From: redhat-list-bounces@redhat.com
> [mailto:redhat-list-bounces@redhat.com]
> > On Behalf Of Joy Methew
> > Sent: Wednesday, September 03, 2008 9:11 AM
> > To: General Red Hat Linux discussion list
> > Subject: sendmail
> >
> > here is two systems both are "mta" A and B with sendmail.
> > A is mine and B is gmail mat.
> > when i telnet my mta means A --->>telnet 127.0.0.1 25
> > helo hi
> > mail from:root@yahoo.com <from%3Aroot@yahoo.com>
> > rcpt to:ml4joy@gmail.com <to%3Aml4joy@gmail.com>
> > i recived mail very easly.
> > it means my mta "A" telnet indirectaly to gmail mta.
> > but when i try to telnet directly to gmail mta its give error like.
> >
> >
> > 220 mx.google.com ESMTP t26si1434066ele.4
> > helo gmail.com
> > 250 mx.google.com at your service
> > mail from:ml4joy@gmail.com <from%3Aml4joy@gmail.com>
> > 555 5.5.2 Syntax error t26si1434066ele.4
> >
> > Any idea why the "Syntax error".?
> >
> > Thanks
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
> >
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
> >
> >
> >
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
> !DSPAM:48bea520326487733612312!
>
>



--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 11-07-2008, 02:42 AM
"Amadeus W.M."
 
Default sendmail

I want to be able to send email from my home computer to the outside
world. I want to do that from a script, when certain events happen, so I
can't use graphical clients like evolution. I have to use mail with
sendmail or a replacement as postfix or qmail. Since sendmail comes by
default with fedora, I thought I'd start with that.

My provider is verizon fios, and I do not have a static IP (although it
only changes if I reboot the router), nor a fully qualified domain name. I
also have a dyndns account, only the free dns service though, nothing
else.

I imagine I have to configure my sendmail to forward the email to
verizon's mail server. I got some inspiration from Evolution and from this
guide:

http://fedoraproject.org/wiki/Docs/Drafts/AdministrationGuide/Servers/
MailServer/Sendmail


Besides the defaults, in sendmail.mc I have

define(`SMART_HOST', `outgoing.verizon.net')dnl

and

MASQUERADE_AS(`verizon.net')dnl
FEATURE(masquerade_envelope)dnl
FEATURE(allmasquerade)dnl


I did

echo "test" | /usr/sbin/sendmail amadeus84@verizon.net

It bounced back:



The original message was received at Thu, 6 Nov 2008 22:38:19 -0500
from phoenix [127.0.0.1]

----- The following addresses had permanent fatal errors -----
<amadeus84@verizon.net>
(reason: 550 5.7.1 Authentication Required)


which makes sense. How do I tell sendmail to send my verizon password
along with the email?

Thanks!




--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
 
Old 11-07-2008, 11:41 AM
Ian Hilt
 
Default sendmail

On Thu, 6 Nov 2008, Amadeus W.M. wrote:
> I want to be able to send email from my home computer to the outside
> world. I want to do that from a script, when certain events happen, so I
> can't use graphical clients like evolution. I have to use mail with
> sendmail or a replacement as postfix or qmail. Since sendmail comes by
> default with fedora, I thought I'd start with that.

msmtp is a better choice in my opinion. It's installable with yum.
Here's the website,

http://msmtp.sourceforge.net/

HTH,
Ian

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
 
Old 11-07-2008, 12:25 PM
"Patrick O'Callaghan"
 
Default sendmail

On Fri, 2008-11-07 at 03:42 +0000, Amadeus W.M. wrote:
> I want to be able to send email from my home computer to the outside
> world. I want to do that from a script, when certain events happen, so I
> can't use graphical clients like evolution. I have to use mail with
> sendmail or a replacement as postfix or qmail. Since sendmail comes by
> default with fedora, I thought I'd start with that.

Unless you really want to learn about sendmail or postfix, there's no
need to install a full-blown MTA just to send messages upstream. I've
found the foll wing useful in these circumstances:

http://caspian.dotconf.net/menu/Software/SendEmail/

It's a neat little Perl script that does exactly what you want.

poc

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
 
Old 11-07-2008, 01:29 PM
Seann Clark
 
Default sendmail

Patrick O'Callaghan wrote:

On Fri, 2008-11-07 at 03:42 +0000, Amadeus W.M. wrote:

I want to be able to send email from my home computer to the outside
world. I want to do that from a script, when certain events happen, so I
can't use graphical clients like evolution. I have to use mail with
sendmail or a replacement as postfix or qmail. Since sendmail comes by
default with fedora, I thought I'd start with that.



Unless you really want to learn about sendmail or postfix, there's no
need to install a full-blown MTA just to send messages upstream. I've
found the foll wing useful in these circumstances:

http://caspian.dotconf.net/menu/Software/SendEmail/

It's a neat little Perl script that does exactly what you want.

poc


If you want to avoid installing more stuff, just shut off sendmail, and
any other MTA stuff you have running, and edit the submit.mc or
submit.cf file to add in your smart host. Looking at the SMART_HOST line
you provided, just dump that in the submit file.



SMTP auth is rather straightforward, but since I haven't done it in a
while, here is a link for it: http://www.sendmail.org/m4/smtp_auth.html


As a side note, when sending through an ISP mail relay, you need to get
the Auth Details from the ISP, usually this is a webmail/account access
username/password.



~Seann
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
 
Old 02-04-2009, 08:45 AM
Adil Drissi
 
Default Sendmail

Hi,

I have successfully installed Mysql and PHP but I am unable to send email via php. Sendmail is already installed apparently. I want to know if there is a way to test email by sendmail command lines. Another thing is that how to configure sendmail because i'm just a regular customer of an internet provider. I know the provider's mail server parameters. Can sendmail be used with these parameters?

Thank you





--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
 
Old 02-04-2009, 10:11 AM
Tim
 
Default Sendmail

On Wed, 2009-02-04 at 01:45 -0800, Adil Drissi wrote:
> how to configure sendmail because i'm just a regular customer of an
> internet provider. I know the provider's mail server parameters. Can
> sendmail be used with these parameters?

Yes, look up how to configure "smarthost". If you need help
understanding the documentation, ask more questions about it.

--
[tim@localhost ~]$ uname -r
2.6.27.12-78.2.8.fc9.i686

Don't send private replies to my address, the mailbox is ignored. I
read messages from the public lists.



--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
 
Old 02-04-2009, 01:43 PM
"Mikkel L. Ellertson"
 
Default Sendmail

Adil Drissi wrote:
> Hi,
>
> I have successfully installed Mysql and PHP but I am unable to
> send email via php. Sendmail is already installed apparently.

Are you running SELinux? If so, you need to turn on the ability to
send email from the web server, if that is what you are trying to do.

> I want to know if there is a way to test email by sendmail command lines.

You will have to read the Sendmail documentation. Depending on
exactly what you mean by test email, there are commands to do it.
But I don't run Sendmail any more, and I don't remember the exact
commands.
> Another thing is that how to configure sendmail because i'm just a
> regular customer of an internet provider. I know the provider's mail
> server parameters. Can sendmail be used with these parameters?
>
You can set up Sendmail to use a relay host. So what you want to do
is set up your ISPs SMTP server as your relay host. I think the
default sendmail.mc file has a line for this, but it is commented out.

Mikkel
--

Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
 
Old 02-04-2009, 03:10 PM
Donald Reader
 
Default Sendmail

-----Original Message-----
From: Adil Drissi <adil.drissi@yahoo.com>
Reply-to: adil.drissi@yahoo.com, "Community assistance, encouragement,
and advice for using Fedora." <fedora-list@redhat.com>
To: fedora-list@redhat.com
Subject: Sendmail
Date: Wed, 4 Feb 2009 01:45:41 -0800 (PST)

Hi,

I have successfully installed Mysql and PHP but I am unable to send email via php. Sendmail is already installed apparently. I want to know if there is a way to test email by sendmail command lines. Another thing is that how to configure sendmail because i'm just a regular customer of an internet provider. I know the provider's mail server parameters. Can sendmail be used with these parameters?

Thank you





Another thing to check is if PHP is in safemode.
If it is then set that option to off or configure
the proper path in the config file. Hope that helps

Don

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
 

Thread Tools




All times are GMT. The time now is 07:37 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org