[TriLUG] php & postfix

William Gomeringer neisture at pihlopase.mine.nu
Mon Nov 11 18:59:53 EST 2002


I'll be honest. Most of what you said went right over my head. This
seems to be a bit more complicated than I thought. I assumed that since
I had a mailserver setup running postfix and that I could send a recieve
mail from and to neisture at pihlopase.mine.nu, it would just work if a
sript called the mail program. So what you are saying is that just
because I can send and recieve mail using neisture at pihlopase.mine.nu,
that doesn't necessarily mean that I can call the mail program from a
script and expect it to work? How about a class on PHP scripts and
postfix :) hehe. Thanks for all your help thus far. If worse comes to
worse I'll just have to wait a month or so until I go with the static IP
address. I'm going to be running a few sites on this box that will
depend on these things working properly so this is sort of the testing
stage. Thanks again. William


On Mon, 2002-11-11 at 18:14, Jon Carnes wrote:
> So your local mail server is named "pihlopase.mine.nu" and its address is
> dynamically assigned by Bellsouth.net and the DNS is maintained by a Dynamic
> DNS service.  Your local mail server is set to relay all non-local mail on
> to the bellsouth mail server: mail.bellsouth.net.
> 
> Could be a couple of things stopping you here.  The mailserver
> mail.bellsouth.net could be doing a reverse lookup on your ip address, and
> discovering it different from your claimed domain name, it could be denying
> the relay. It could simply be that mail.bellsouth.net believes your From
> address and that domain is not allowed to drop mail for relay on the server.
> 
> This works when you send from Evolution... so what is the From address you
> use while in evolution?
> 
> Is there a different relay server you could use?  One that is less picky.
> 
> Jon
> ----- Original Message -----
> From: "William Gomeringer" <neisture at pihlopase.mine.nu>
> To: <trilug at trilug.org>
> Sent: Monday, November 11, 2002 2:22 PM
> Subject: Re: [TriLUG] php & postfix
> 
> 
> > On Mon, 2002-11-11 at 15:47, Jon Carnes wrote:
> > > Well the problem is pretty clear:
> > >
> > > > relay=mx05.mail.bellsouth.net[205.152.58.5], delay=1, status=bounced
> > > > (host mx05.mail.bellsouth.net[205.152.58.5] said: 550 .net 003: you
> are
> > > > not allowed to send e-mail to <pihlopase at netscape.net>)
> > >
> > > You are trying to use mail.bellsouth.net to relay the mail to
> netscape.net.
> > > That mailserver is denying your relay request.
> > >
> > > What mail server do you typically use when dropping off mail (what is
> your
> > > email client set to use as a mailserver)?  Does your machine run off the
> > > Bellsouth.net network?
> >
> > I use postfix. I have evolution set to pihlopase.mine.nu for smtp and
> > pop3. Works fine. I have Bellsouth DSL with a dynamic IP address and I
> > use dyndns to run apache, mail server, ftp server, telnet, etc.. Here is
> > my postfix config file.
> >
> >
> > # see /usr/share/postfix/main.cf.dist for a commented, fuller
> > # version of this file.
> >
> > # Do not change these directory settings - they are critical to Postfix
> > # operation.
> > command_directory = /usr/sbin
> >
> > daemon_directory = /usr/lib/postfix
> > program_directory = /usr/lib/postfix
> >
> > smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
> > setgid_group = postdrop
> > biff = no
> >
> > # appending .domain is the MUA's job.
> > mydomain = bellsouth.net
> > myorigin = $mydomain
> > append_dot_mydomain = no
> > myhostname = pihlopase.mine.nu
> > alias_maps = hash:/etc/aliases
> > alias_database = hash:/etc/aliases
> > #myorigin = /etc/mailname
> > mydestination = pihlopase.mine.nu, pihlopase, localhost
> > relayhost = mail.bellsouth.net
> > mynetworks = 192.168.1.0/20
> > mailbox_command = procmail -a "$EXTENSION"
> > mailbox_size_limit = 0
> > recipient_delimiter = +
> > default_privs = nobody
> >
> >
> > _______________________________________________
> > TriLUG mailing list
> >     http://www.trilug.org/mailman/listinfo/trilug
> > TriLUG Organizational FAQ:
> >     http://www.trilug.org/~lovelace/faq/TriLUG-faq.html
> 
> _______________________________________________
> TriLUG mailing list
>     http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ:
>     http://www.trilug.org/~lovelace/faq/TriLUG-faq.html
> 





More information about the TriLUG mailing list