Avatar of tegryan
tegryan
 asked on

configuring postfix to send mail

Hi,

I'm simply trying to configure postfix on a Ubuntu 9.04 server to send mail.  I don't need pop or imap support, just so PHP scripts can send mail from apache served pages.  New to postfix, so step by step instructions would be great.
Linux DistributionsEmail Servers

Avatar of undefined
Last Comment
tegryan

8/22/2022 - Mon
cganeshkumar

hi tegryan,

Check this link
https://help.ubuntu.com/9.04/serverguide/C/postfix.html

Thanks
Ganesh
Kalpan

tegryan

ASKER
Thank you cganeshkumar,

I think I'm a little confused conceptually.  I have a mail server running on a domain, and this is on a subdomain of that.  For example, the domain is www.domain.com, and this server uses the domain dev.domain.com.  I just want it to send mail, and I've followed the instructions in the link and it still does not seem to be working.  Here's the error log message:

Feb 18 07:59:08 xxx postfix/error[28245]: 508C311888C: to=<txxxx@xxxxx.com>, relay=none, delay=0.22, delays=0.2/0.01/0/0.01, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
tegryan

ASKER
kalmax,

thank you for those links.  I already have ISPConfig installed, and I hear webmin interferes with that.  I will have a look through those links tho just to be sure.
tegryan

ASKER
OK, I fixed that first error message by turning off amavisd, because I don't need it anyway.  Now I'm getting an error:

Feb 18 09:34:33 xxxx postfix/smtp[450]: C1508118898: to=<xxx@xxxxx.com>, relay=none, delay=0.05, delays=0.05/0/0/0, dsn=4.3.5, status=deferred (unable to look up host localdomain: Name or service not known)
ASKER CERTIFIED SOLUTION
tegryan

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.