Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
which smtp to install?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
b3ast13
n00b
n00b


Joined: 11 Jul 2002
Posts: 10
Location: Belgium

PostPosted: Sun Dec 01, 2002 3:15 pm    Post subject: which smtp to install? Reply with quote

Hey,

I'm building a Gentoo with totaly no X installed.

I added in make.conf:
USE="-X -gnome -gtk -kde -qt"

Everything seems to work, until I want to install a crontab. Something goes wrong.

I have the choise to install one of these 3:
- dcron
- fcron
- vcron

when I install one, it also installs net-mail/ssmtp as a dependency. This smtp sucks. It's always generating a dead.letter file. In that file it's always complaining about the fact it couldn't send any mail to root.

I don't want to install sendmail, because it's overhead. I only want to send mail to local users and not to outside users.

What's the best and light smtp solution?

Should I use qmail or postfix? Or are the better solutions?

Thnx,

Wouter

PS: Gentoo is the BEST distribution I have ever seen.
Back to top
View user's profile Send private message
really
Guru
Guru


Joined: 27 Aug 2002
Posts: 430
Location: nowhere

PostPosted: Sun Dec 01, 2002 7:56 pm    Post subject: Reply with quote

version of smtp??!

like smtp is a protocol, and you dont install a procotol, you install a program that uses that protocol.
simple mail transfer protocol....

i would go for qmail.

PS you dont need to kiss ass, we all know gentoo rules!
_________________
NoManNoProblem

Get lost before you get shot.
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Sun Dec 01, 2002 8:21 pm    Post subject: Reply with quote

ssmtp is the lightest solution I think, well you could also implement your own /usr/bin/sendmail using a simple batch scripts that writes the messages to log. I use postfix myself, but I use it to send mail directly to remote smtp servers and for distributing mail locally, never had a problem with it, but I never tried another, ;-) .

Cya lX.
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 16750

PostPosted: Mon Dec 02, 2002 8:08 pm    Post subject: Reply with quote

Moved from Installing Gentoo.

Forums front page wrote:
Installing Gentoo
If you've finished the install guide, look somewhere else. But if you're still working your way through it, or just need some info before you start your install, this is the place.

_________________
Ladies and gentlemen, allow me to present, Man Not Caring. -- Perry Cox
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Mon Dec 02, 2002 8:51 pm    Post subject: which smtp to install Reply with quote

My first thought was to merely configure ssmtp, but you need something to send mail off the system and handle local delivery too, right?

I'd recommend Postfix, just follow the instructions at
http://www.postfix.org/basic.html, but qmail certianly would work just as well.

kashani
_________________
Will personally fix your server in exchange for motorcycle related shop tools in good shape.
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Tue Dec 03, 2002 8:47 am    Post subject: Re: which smtp to install Reply with quote

kashani wrote:
My first thought was to merely configure ssmtp, but you need something to send mail off the system and handle local delivery too, right?

wrong, ;-)
b3ast13 wrote:
I don't want to install sendmail, because it's overhead. I only want to send mail to local users and not to outside users.


So you probably advice ssmtp, ;-).

Cya lX.
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
vibidoo
Guru
Guru


Joined: 27 Nov 2002
Posts: 409

PostPosted: Mon Dec 30, 2002 8:28 pm    Post subject: Reply with quote

could we create attachement with ssmtp and qmail ??
Back to top
View user's profile Send private message
Messiah
Tux's lil' helper
Tux's lil' helper


Joined: 30 Apr 2002
Posts: 139

PostPosted: Tue Dec 31, 2002 1:22 am    Post subject: Reply with quote

Can you hear how an apple and a pear smells? So the answer is no, and as a matter of fact, I don't know what you are asking.

PS I do not try to be rude, but can you formulate your question a little bit better?
Back to top
View user's profile Send private message
axxackall
l33t
l33t


Joined: 06 Nov 2002
Posts: 651
Location: Toronto, Ontario, 3rd Rock From Sun

PostPosted: Tue Dec 31, 2002 2:30 am    Post subject: Reply with quote

vibidoo wrote:
could we create attachement with ssmtp and qmail ??


We don't create an email attachment with MTA (ssmtp, qmail, postfix, sendmail and courier are all MTAs). We create an email attachment with email composing programs: Mozilla mail, Evolution, Balsa, Xemacs VM, Squirrel webmail etc. Once you compse email you can decide to attache the file to email. Once the file is attached and you are ready to send the message - you send it by passing to MTA (email composer will do it for you). For MTA there is no difference has the email message any attachement or not.

Unless it process email with some filters, like procmail, which are sort of email clinets - they "re-compose" email messages. You may mean "can we automatically attache the file to email messages in a batch mode with MTA?" The answer is yes, but... again, you don't do it with MTA, some batch/script/filter will do it on your behalf.

As for original question, I would recommend sendmail, if you don't know any MTA at all. It's classic. With all its "overbloatness", its default configuration is the simplest thing to manage, especially with such good tools as webmin. There are lots of scripts to generate sendmail's configs. I'd use m4-based one from sendmail distro. Sendmail is the most documented MTA, that includes books, HOWTOs, FAQs etc. Some of them overbloated, some of the are as simple as sendmail's module for webmin.

But if you know MTA well (that means you know what you are doing), then you may choose (yourself, after comparing the feature sets) qmail (if you need extra performance), courier (if you need simplicity of all-in-one), or even postfix (don't know why would you need it :) )

Besides MTA to send message, your local users may (or may not) need to read email. Some of MTA supports reading protocols, such as POP or IMAP.
...
On a final thought, why would you need smtp (network-based protocol for sending/relayin email messages)? You may need just file-based mail programs. For example maildirs. It will write your message right into destination mail folder, where maildir-compatible mail client will read it. You don't need SMTP for local mail messaging at all.
Back to top
View user's profile Send private message
vibidoo
Guru
Guru


Joined: 27 Nov 2002
Posts: 409

PostPosted: Tue Dec 31, 2002 9:47 am    Post subject: Reply with quote

I am working on snort .
And I expected to send my day log file's to my computer from the Firewall box.

That's why I need a lightest smtp mail on the firewall box ( EPIA mainboard) .

I am really new on Linux and gentoo , but since one month I success to install a complete working machine as my old window machine .This forum is very helpfull for me .
:P
Back to top
View user's profile Send private message
splooge
l33t
l33t


Joined: 30 Aug 2002
Posts: 636

PostPosted: Tue Dec 31, 2002 1:41 pm    Post subject: Reply with quote

Guys:

smtp is the mail transfer protocol.

ssmtp is the default mailer that gets installed with Gentoo.

Personally I use postfix. It's nice, small and easy to use and configure. It's about as simple as an 'emerge postfix'
Back to top
View user's profile Send private message
vibidoo
Guru
Guru


Joined: 27 Nov 2002
Posts: 409

PostPosted: Thu Jan 09, 2003 2:21 pm    Post subject: Reply with quote

I tried to emerge sendmail and postfix

and there are the same error

Code:

!!! Error : the virtual/mta package conflicts with this package and both can't be installed on the same system together.


:cry:
Back to top
View user's profile Send private message
vibidoo
Guru
Guru


Joined: 27 Nov 2002
Posts: 409

PostPosted: Thu Jan 09, 2003 4:06 pm    Post subject: Reply with quote

ok I just

emerge -C ssmtp

emerge postfix
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum