From: houghi on
David Bolt wrote:
> I hope you're checking them closely to make sure they can't be
> exploited. The last thing you're going to want is to put up a script
> that is used to blast out 10,000 "make penis fast" spams.

Hey, that stuff realy works, but now my wife complains it is even faster
then it used to be.

houghi
--
________________________ Open your eyes, open your mind
| proud like a god don't pretend to be blind
| trapped in yourself, break out instead
http://openSUSE.org | beat the machine that works in your head
From: David Bolt on
On Tue, 8 May 2007, Brian Telford wrote:-

>
>"David Bolt" <blacklist-me(a)davjam.org> wrote in message
>news:8C69L2GNNFQGFwUU(a)dev.null.davjam.org...

>> I hope you're checking them closely to make sure they can't be
>> exploited. The last thing you're going to want is to put up a script
>> that is used to blast out 10,000 "make penis fast" spams.
>
>The script is only available to restricted users and then they have no
>access to any email settings.

That's good :-)

<snip>

>> Not a problem. You'll find that on openSUSE, the mail server defaults
>> are to _not_ accept remote connections.
>>
>>
>How do I tell sendmail the outgoing mail server address?

First question, are you really using sendmail, or are you using the
"sendmail" installed by Postfix? If it's the latter, I've no idea since
I don't use Postfix.

Second question, are you wanting these mails delivered locally or to
some other non-local addresses?

Third, are you wanting to use your ISPs mail server to do the delivery?

If the addresses are non-local, you're wanting to use the ISPs mail
server, and the mail server is Sendmail, by using

YaST -> System -> /etc/sysconfig Editor -> Network -> Mail -> Sendmail

you can set it up so all outgoing mail goes through the ISP mail server
by setting:

SENDMAIL_SMARTHOST = post.demon.co.uk

You may also want to set

SENDMAIL_LOCALHOST = rushford.demon.co.uk

so the mail server knows itself as your Demon hostname.

>I've tried setting
>the details in MTA via yast, but it doesn't work.

Well, I can't check that so easily as YaST wants to overwrite my custom
settings.

> I'm conversant with php
>and the script works fine on a different server(not mine)

Are these mails meant to be sent to local users or non-local users? If
they are non-local users, sendmail should deliver them directly. If
they're local users, I'd expect that they were delivered to the local
mailboxes.


Regards,
David Bolt

--
Member of Team Acorn checking nodes at 50 Mnodes/s: http://www.distributed.net/
RISCOS 3.11 | SUSE 10.0 32bit | SUSE 10.1 32bit | openSUSE 10.2 32bit
RISCOS 3.6 | SUSE 10.0 64bit | SUSE 10.1 64bit | openSUSE 10.2 64bit
TOS 4.02 | SUSE 9.3 32bit | | openSUSE 10.3a3 32bit
From: birre on
On 2007-05-08 14:44, David Bolt wrote:
> On Tue, 8 May 2007, Brian Telford wrote:-
>

>
> If the addresses are non-local, you're wanting to use the ISPs mail
> server, and the mail server is Sendmail, by using
>
> YaST -> System -> /etc/sysconfig Editor -> Network -> Mail -> Sendmail
>
> you can set it up so all outgoing mail goes through the ISP mail server
> by setting:
>
> SENDMAIL_SMARTHOST = post.demon.co.uk
>
> You may also want to set
>
> SENDMAIL_LOCALHOST = rushford.demon.co.uk
>
> so the mail server knows itself as your Demon hostname.
>
>> I've tried setting
>> the details in MTA via yast, but it doesn't work.
>
> Well, I can't check that so easily as YaST wants to overwrite my custom
> settings.
>

I don't think yast will overwrite your config if you did it your way,
at least not with postfix. YaST will notice that the md5sum don't match,
and create a main.cf.SuSEconfig instead, so if you ever edit main.cf by
hand, YaST will no longer work unless you do
cp /etc/postfix/main.cf{.SuSEconfig,}

In postfix I guess you set relayhost=post.demon.co.uk in main.cf ,
which seems wrong for a sendmail admin, but I think this is the postfix tag.
(I have my own mailserver, so I don't use this)

To edit main.cf, one should use postconf :
postconf -e relayhost=post.demon.co.uk
this will check syntax, edit main.cf and reload postix.

/birre
From: David Bolt on
On Wed, 9 May 2007, birre wrote:-

>On 2007-05-08 14:44, David Bolt wrote:

<Snip>

>> Well, I can't check that so easily as YaST wants to overwrite my
>>custom
>> settings.
>>
>
>I don't think yast will overwrite your config if you did it your way,
>at least not with postfix. YaST will notice that the md5sum don't match,
>and create a main.cf.SuSEconfig instead, so if you ever edit main.cf by
>hand, YaST will no longer work unless you do
>cp /etc/postfix/main.cf{.SuSEconfig,}

It's possibly the same when using Sendmail. It's probably more a case of
I've told YaST not to create a config and, if I use the Network Services
-> Mail Transfer Agent option, it wants to reset that choice. I could go
through and then set everything back to how it is, but I'd prefer not to
miss something and then have things fsck up.

>In postfix I guess you set relayhost=post.demon.co.uk in main.cf ,

Not sure, but it does seem as though that could be the correct tag. It
sounds similar to the Sendmail smarthost setting.

>which seems wrong for a sendmail admin, but I think this is the postfix tag.
>(I have my own mailserver, so I don't use this)

Same here, although I do use Sendmail.


Regards,
David Bolt

--
Member of Team Acorn checking nodes at 50 Mnodes/s: http://www.distributed.net/
RISCOS 3.11 | SUSE 10.0 32bit | SUSE 10.1 32bit | openSUSE 10.2 32bit
RISCOS 3.6 | SUSE 10.0 64bit | SUSE 10.1 64bit | openSUSE 10.2 64bit
TOS 4.02 | SUSE 9.3 32bit | | openSUSE 10.3a3 32bit
First  |  Prev  | 
Pages: 1 2
Prev: What sets up network interfaces?
Next: LFS errors