View previous topic :: View next topic |
Author |
Message |
SerfurJ l33t
Joined: 10 Apr 2004 Posts: 824 Location: Texas
|
Posted: Sun May 09, 2004 8:56 pm Post subject: postfix to sstmp /etc/init.d configuration |
|
|
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 |
|
|
kezzla Apprentice
Joined: 21 Aug 2003 Posts: 253 Location: Austin, TX
|
Posted: Sun May 09, 2004 9:53 pm Post subject: |
|
|
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 |
|
|
Chris W l33t
Joined: 25 Jun 2002 Posts: 972 Location: Brisbane, Australia
|
Posted: Sun May 09, 2004 9:59 pm Post subject: |
|
|
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 |
|
|
SerfurJ l33t
Joined: 10 Apr 2004 Posts: 824 Location: Texas
|
Posted: Mon May 17, 2004 9:08 pm Post subject: |
|
|
but where is the new ssmtp init script? |
|
Back to top |
|
|
kashani Advocate
Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Mon May 17, 2004 9:44 pm Post subject: |
|
|
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 |
|
|
Chris W l33t
Joined: 25 Jun 2002 Posts: 972 Location: Brisbane, Australia
|
Posted: Mon May 17, 2004 10:30 pm Post subject: |
|
|
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 |
|
|
|