Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
postfix to sstmp /etc/init.d configuration
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
SerfurJ
l33t
l33t


Joined: 10 Apr 2004
Posts: 824
Location: Texas

PostPosted: Sun May 09, 2004 8:56 pm    Post subject: postfix to sstmp /etc/init.d configuration Reply with quote

i'm fed up with trying to get postfix working, so i'm going back to ssmtp. the problem is, when i unmerge postfix and emerge ssmtp, the postfix file is still in /etc/init.d and there's no sendmail or ssmtp init file. also, rc-update still shows postfix.

so why didn't all of my config files change to ssmtp?

thanks
Back to top
View user's profile Send private message
kezzla
Apprentice
Apprentice


Joined: 21 Aug 2003
Posts: 253
Location: Austin, TX

PostPosted: Sun May 09, 2004 9:53 pm    Post subject: Reply with quote

They won't automagically change...
If it is ssmtp you want to use:
# /etc/init.d/postfix stop
# rc-update del postfix default
# emerge unmerge postfix
# rm /etc/init.d/postfix

Then emerge and configure ssmtp.
Back to top
View user's profile Send private message
Chris W
l33t
l33t


Joined: 25 Jun 2002
Posts: 972
Location: Brisbane, Australia

PostPosted: Sun May 09, 2004 9:59 pm    Post subject: Reply with quote

Unmerging will leave any files in config protected directories (see "emerge info" for a list of these places). Like the previous poster noted, you just need to stop trying to run the postfix script on boot and do whatever it is that ssmtp requires (which isn't much from memory). You can delete the remnants of postfix if you want, but they won't do any harm if left there.
_________________
Cheers,
Chris W
"Common sense: The collection of prejudices acquired by age 18." -- Einstein
Back to top
View user's profile Send private message
SerfurJ
l33t
l33t


Joined: 10 Apr 2004
Posts: 824
Location: Texas

PostPosted: Mon May 17, 2004 9:08 pm    Post subject: Reply with quote

but where is the new ssmtp init script?
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


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

PostPosted: Mon May 17, 2004 9:44 pm    Post subject: Reply with quote

ssmtp doesn't actively run. It only runs when a script or program uses the sendmail wrapper binary to send mail off the system.

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
Chris W
l33t
l33t


Joined: 25 Jun 2002
Posts: 972
Location: Brisbane, Australia

PostPosted: Mon May 17, 2004 10:30 pm    Post subject: Reply with quote

There isn't one. SSMTP is a delivery only agent. When the 'sendmail' program is launched by mutt, mail et al. the mail is sent to the configured remote mail (SMTP) server. The configuration file is ssmtp.conf in /etc/ssmtp.
_________________
Cheers,
Chris W
"Common sense: The collection of prejudices acquired by age 18." -- Einstein
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