Stick with postfix, its far easier them m4's and the like...

you might find postfix easier if you use webmin..

generially yes, postfix should have a domain name..

you may be able to get it sort of functioning without it.. but its a good
idea...

do you have a static IP address??? if so, try doing a lookup on it, my ISP
gives all its Ip's numeric subdomains.. and they are find for a mail
server...

when you send mail, (or try to) what is showing up in
/var/log/mail/warnings? or info, or errors

that info will help us determine whats wrong..

Also, postfix in mdk9 sometimes installs wrong.. so if you don't have a head
of symlinks and lib files in
/var/spool/postfix/lib then uninstall and reinstall postfix..

I had that problem twice and both times manually reinstalling postfix fixed
it.
(and strangely enough, postfix gave no real outward sign that there was a
problem, it just wouldn't work properly.)

rgds

Frank

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jordan Elver
Sent: Wednesday, 27 November 2002 3:24 AM
To: [EMAIL PROTECTED]
Subject: Re: [newbie] Postfix Config


On Tuesday 26 Nov 2002 7:03 pm, Franki wrote:
> configure /etc/postfix/main.cf
>
> pay attention to the following:
>
> $mydomain
> $mydestination
> $myhostname
>
> go to dyndns and get yourself a domain name you can use.. its free, or
> donation based.

Please excuse my ignorance, but is it nessaccery to have a domain name?

> make sure /var/spool/postfix/etc/resolv.conf and hosts match those in /etc
> so your mail server can resolve address's.

They do match. All of the files in each.

> reload postfix: service postfix reload
>
> see how that goes.

Thanks for the help. The thing is, when I had sendmail installed ages ago,
that worked fine. But, sendmail is not working either and the configuration
files look very scary :-/

Cheers,
Jord

> rgds
>
> Frank
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jordan Elver
> Sent: Wednesday, 27 November 2002 2:37 AM
> To: Mandrake Newbie List
> Subject: [newbie] Postfix Config
>
>
> Hi,
> I'm setting up Apache (with PHP), MySQL etc and want to be able to send
> mail from PHP. I've installed postfix and it's running. When I send mail
> from PHP,
> it sends and is added to the /var/spool/mail/postfix file. Inside the file
> are messages which say something along the lines of:
>
>       450 Sender address rejected: Domain not found
>
> This box is not a production machine (thank goodness ;-)) but for local
> development. I do, however need to send external email. I know this is a
> postfix config error. The machine does not have a domain hosted here, just
> a fqdn I made up for my LAN.
>
> How can I fix it?
>
> TIA,
> Jord

--
Jordan Elver
http://www.jordanelver.co.uk
"My software never has bugs. It just develops random features."





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to