public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Howto for Sendmail configuration?
@ 2007-04-27 19:25 Dan Cowsill
  2007-04-28 15:38 ` [gentoo-user] " Alexander Skwar
  2007-04-28 17:45 ` [gentoo-user] " Randy Barlow
  0 siblings, 2 replies; 11+ messages in thread
From: Dan Cowsill @ 2007-04-27 19:25 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,
I started hosting a wordpress blog on my system and it came to my
attention that wordpress uses the PHP mail() function to do confirmation
emails.  The mail() function uses UNIX sendmail, and I figured I could
go ahead and configure that puppy up to send off my blog's email without
issue...

I was wrong.  One look at the sendmail configuration file actually
angered me because of all the crap I would no doubt have to go through
to get it working.

So what I am looking for is a simplified howto describing how I could
set up sendmail to deliver mail for me...

I also wonder if it's possible to use sendmail to relay mail to my gmail
account and send it from there?

Thank you very much,
Dan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGMk4n5vsIjOKjGzwRAlJlAJ0SHMZnjlkNaTHnyuhgPkR/5Q8IUACdHroz
HzwVvVEuzYJ9y8pkiJ5PwQY=
=rsBN
-----END PGP SIGNATURE-----
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user]  Re: Howto for Sendmail configuration?
  2007-04-27 19:25 [gentoo-user] Howto for Sendmail configuration? Dan Cowsill
@ 2007-04-28 15:38 ` Alexander Skwar
       [not found]   ` <4ef07b8c0704290914n63aceecgb7f9287e41282923@mail.gmail.com>
  2007-04-28 17:45 ` [gentoo-user] " Randy Barlow
  1 sibling, 1 reply; 11+ messages in thread
From: Alexander Skwar @ 2007-04-28 15:38 UTC (permalink / raw
  To: gentoo-user

· Dan Cowsill <danthehat@gmail.com>:

> I was wrong.  One look at the sendmail configuration file actually
> angered me because of all the crap I would no doubt have to go through
> to get it working.

Yep. That's why I never had a closer look at sendmail. If possible,
I replace it everywhere.

> So what I am looking for is a simplified howto describing how I could
> set up sendmail to deliver mail for me...

Uhm, if you don't know sendmail, then why start with sendmail
in the first place? There are quite some easier MTAs out there.
I personally like Postfix best, but Exim seems to be popular
as well. And for simple setups something like ssmtp might even
be sufficient.

So, the real question is: Why do you want to use sendmail?
Is there any real reason?

> I also wonder if it's possible to use sendmail to relay mail to my gmail
> account and send it from there?

?
What do you want to accomplish? What benefit do you see by
doing that?

Alexander Skwar
-- 
BOFH Excuse #346:

Your/our computer(s) had suffered a memory leak, and we are waiting for them to be topped up.


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Howto for Sendmail configuration?
  2007-04-27 19:25 [gentoo-user] Howto for Sendmail configuration? Dan Cowsill
  2007-04-28 15:38 ` [gentoo-user] " Alexander Skwar
@ 2007-04-28 17:45 ` Randy Barlow
  2007-04-29 10:12   ` Mick
  1 sibling, 1 reply; 11+ messages in thread
From: Randy Barlow @ 2007-04-28 17:45 UTC (permalink / raw
  To: gentoo-user

On Fri, April 27, 2007 3:25 pm, Dan Cowsill wrote:
> So what I am looking for is a simplified howto describing how I could
> set up sendmail to deliver mail for me...

I really wouldn't recommend using Sendmail, especially not for just
sending mail and not receiving mail.  So my recommendation is that you
unmerge sendmail, and then merge ssmtp.  This is a very simple MTA and is
great if you just want to send mail.  It still offers the standard UNIX
sendmail script, except that it is a wrapper.  So:

1) Umerge sendmail.
2) Emerge ssmtp
3) Edit /etc/ssmtp/ssmtp.conf and set the mailhub variable to your ISP's
SMTP server.  For example, I have the line:

mailhub=smtp-server.carolina.rr.com

for one of my machines.  Hope this helps!

-- 
Randy Barlow
http://www.electronsweatshop.com
"Oh me of little faith..."
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Howto for Sendmail configuration?
  2007-04-28 17:45 ` [gentoo-user] " Randy Barlow
@ 2007-04-29 10:12   ` Mick
  2007-04-29 10:31     ` Neil Bothwick
                       ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Mick @ 2007-04-29 10:12 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 644 bytes --]

On Saturday 28 April 2007 18:45, Randy Barlow wrote:
> On Fri, April 27, 2007 3:25 pm, Dan Cowsill wrote:
> > So what I am looking for is a simplified howto describing how I could
> > set up sendmail to deliver mail for me...
>
> I really wouldn't recommend using Sendmail, especially not for just
> sending mail and not receiving mail.  So my recommendation is that you
[snip]

Is smmtp all that is required?  I seem to be missing mail?
==========================================
echo test | mail -s "testing ssmtp" <my_mail_address>
-bash: mail: command not found
==========================================
-- 
Regards,
Mick

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Howto for Sendmail configuration?
  2007-04-29 10:12   ` Mick
@ 2007-04-29 10:31     ` Neil Bothwick
  2007-04-29 10:51       ` Mick
  2007-04-29 13:01     ` [gentoo-user] " Michael Sullivan
  2007-04-29 18:09     ` [gentoo-user] " Alexander Skwar
  2 siblings, 1 reply; 11+ messages in thread
From: Neil Bothwick @ 2007-04-29 10:31 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 394 bytes --]

On Sun, 29 Apr 2007 11:12:11 +0100, Mick wrote:

> Is smmtp all that is required?  I seem to be missing mail?
> ==========================================
> echo test | mail -s "testing ssmtp" <my_mail_address>
> -bash: mail: command not found
> ==========================================

emerge mail-client/mailx


-- 
Neil Bothwick

I must have slipped a disk; my pack hurts.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Howto for Sendmail configuration?
  2007-04-29 10:31     ` Neil Bothwick
@ 2007-04-29 10:51       ` Mick
  2007-04-29 11:34         ` Neil Bothwick
  0 siblings, 1 reply; 11+ messages in thread
From: Mick @ 2007-04-29 10:51 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 502 bytes --]

On Sunday 29 April 2007 11:31, Neil Bothwick wrote:
> On Sun, 29 Apr 2007 11:12:11 +0100, Mick wrote:
> > Is smmtp all that is required?  I seem to be missing mail?
> > ==========================================
> > echo test | mail -s "testing ssmtp" <my_mail_address>
> > -bash: mail: command not found
> > ==========================================
>
> emerge mail-client/mailx

Thanks Neil, should I use mailx, or nail?  Is one a direct replacement for the 
other?
-- 
Regards,
Mick

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Howto for Sendmail configuration?
  2007-04-29 10:51       ` Mick
@ 2007-04-29 11:34         ` Neil Bothwick
  2007-04-29 18:11           ` [gentoo-user] " Alexander Skwar
  0 siblings, 1 reply; 11+ messages in thread
From: Neil Bothwick @ 2007-04-29 11:34 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 349 bytes --]

Hello Mick,

> > emerge mail-client/mailx  
> 
> Thanks Neil, should I use mailx, or nail?  Is one a direct replacement
> for the other?

According to the nail web site

" As of March 2006, nail has been integrated into the Heirloom project as
mailx."

So use mailx.


-- 
Neil Bothwick

Top Oxymorons Number 33: American history

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Howto for Sendmail configuration?
  2007-04-29 10:12   ` Mick
  2007-04-29 10:31     ` Neil Bothwick
@ 2007-04-29 13:01     ` Michael Sullivan
  2007-04-29 18:09     ` [gentoo-user] " Alexander Skwar
  2 siblings, 0 replies; 11+ messages in thread
From: Michael Sullivan @ 2007-04-29 13:01 UTC (permalink / raw
  To: gentoo-user

On Sun, 2007-04-29 at 11:12 +0100, Mick wrote:
> On Saturday 28 April 2007 18:45, Randy Barlow wrote:
> > On Fri, April 27, 2007 3:25 pm, Dan Cowsill wrote:
> > > So what I am looking for is a simplified howto describing how I could
> > > set up sendmail to deliver mail for me...
> >
> > I really wouldn't recommend using Sendmail, especially not for just
> > sending mail and not receiving mail.  So my recommendation is that you
> [snip]
> 
> Is smmtp all that is required?  I seem to be missing mail?
> ==========================================
> echo test | mail -s "testing ssmtp" <my_mail_address>
> -bash: mail: command not found
> ==========================================

For that, you need mailx

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user]  Re: Howto for Sendmail configuration?
  2007-04-29 10:12   ` Mick
  2007-04-29 10:31     ` Neil Bothwick
  2007-04-29 13:01     ` [gentoo-user] " Michael Sullivan
@ 2007-04-29 18:09     ` Alexander Skwar
  2 siblings, 0 replies; 11+ messages in thread
From: Alexander Skwar @ 2007-04-29 18:09 UTC (permalink / raw
  To: gentoo-user

· Mick <michaelkintzios@gmail.com>:

> On Saturday 28 April 2007 18:45, Randy Barlow wrote:
>> On Fri, April 27, 2007 3:25 pm, Dan Cowsill wrote:
>> > So what I am looking for is a simplified howto describing how I could
>> > set up sendmail to deliver mail for me...
>>
>> I really wouldn't recommend using Sendmail, especially not for just
>> sending mail and not receiving mail.  So my recommendation is that you
> [snip]
> 
> Is smmtp all that is required?

"Required" - for what?

> I seem to be missing mail? 

Then you should install it... It doesn't have anything to do with
sendmail or ssmtp.

According to http://www.rommel.stw.uni-erlangen.de/~fejf/cgi-bin/pfs-web.pl,
it can be part of nail. Maybe mailx also provides /usr/bin/mail.

Alexander Skwar
-- 
Time to take stock.  Go home with some office supplies.


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-user]  Re: Howto for Sendmail configuration?
  2007-04-29 11:34         ` Neil Bothwick
@ 2007-04-29 18:11           ` Alexander Skwar
  0 siblings, 0 replies; 11+ messages in thread
From: Alexander Skwar @ 2007-04-29 18:11 UTC (permalink / raw
  To: gentoo-user

· Neil Bothwick <neil@digimed.co.uk>:

> Hello Mick,
> 
>> > emerge mail-client/mailx  
>> 
>> Thanks Neil, should I use mailx, or nail?  Is one a direct replacement
>> for the other?
> 
> According to the nail web site
> 
> " As of March 2006, nail has been integrated into the Heirloom project as
> mailx."
> 
> So use mailx.

Hm, I don't know what the version numbers on 
http://packages.gentoo.org/search/?sstring=mailx mean
exactly, but I'd interprete 8.1.2.20050715-r1 as something
from 2005.

So: I differ. Install nail. 

Also, is Gentoo using stuff from the Heirloom Project?

Alexander Skwar
-- 
<jgoerzen> doogie: you sound highly unstable :-)
<Knghtbrd> jgoerzen - he is.
* doogie bops Knghtbrd
<Knghtbrd> see?  Resorting to violence =D


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] Re: Howto for Sendmail configuration?
       [not found]   ` <4ef07b8c0704290914n63aceecgb7f9287e41282923@mail.gmail.com>
@ 2007-05-01 15:20     ` Bo Ørsted Andresen
  0 siblings, 0 replies; 11+ messages in thread
From: Bo Ørsted Andresen @ 2007-05-01 15:20 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 410 bytes --]

On Sunday 29 April 2007 18:14:53 Dan Cowsill wrote:
> As per the gmail question, perhaps some clarification is in order.
> I'd like to use gmail's smtp server to send mail instead of my ISP's
> server.  Is this possible with the TLS/SSL encryption that Gmail uses?

Sure.

From /etc/ssmtp/ssmtp.conf:

mailhub=smtp.gmail.com:465

AuthUser=USERNAME@gmail.com
AuthPass=PASSWORD

-- 
Bo Andresen

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-05-01 15:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-27 19:25 [gentoo-user] Howto for Sendmail configuration? Dan Cowsill
2007-04-28 15:38 ` [gentoo-user] " Alexander Skwar
     [not found]   ` <4ef07b8c0704290914n63aceecgb7f9287e41282923@mail.gmail.com>
2007-05-01 15:20     ` Bo Ørsted Andresen
2007-04-28 17:45 ` [gentoo-user] " Randy Barlow
2007-04-29 10:12   ` Mick
2007-04-29 10:31     ` Neil Bothwick
2007-04-29 10:51       ` Mick
2007-04-29 11:34         ` Neil Bothwick
2007-04-29 18:11           ` [gentoo-user] " Alexander Skwar
2007-04-29 13:01     ` [gentoo-user] " Michael Sullivan
2007-04-29 18:09     ` [gentoo-user] " Alexander Skwar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox