cotthemh
23rd May 2007, 22:03
Hello,
some of my mail gets rejected because it comes from apache@localhos.localdomain
this happens if i send mail from for instance PHP the mail log is below.
the problem is this mail gets send from within an application (mediawiki) so its a little hard to control, i would like to change the system wide default behaviour so the mail would be sent from apache@gargamel.domain.tld
which is also the hostname
if you type hostname you get gargamel.domain.tld.
probably something simple but i don't know where to change it,
many thanks in advance,
Herwig
May 23 20:52:27 gargamel sendmail[22473]: l4NIqRkR022473: to="Ivo.xxx" <Ivo.xxx@skynet.be>, ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30700, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 3BA5C8209A2)
May 23 20:52:27 gargamel postfix/smtp[22474]: 3BA5C8209A2: to=<Ivo.xxx@skynet.be>, relay=in.mx.skynet.be[195.238.5.129]:25, delay=0.14, delays=0.08/0.01/0.04/0.01, dsn=5.0.0, status=bounced (host in.mx.skynet.be[195.238.5.129] said: 553 #5.1.8 Domain of sender address <apache@localhost.localdomain> does not exist (in reply to MAIL FROM command))
some of my mail gets rejected because it comes from apache@localhos.localdomain
this happens if i send mail from for instance PHP the mail log is below.
the problem is this mail gets send from within an application (mediawiki) so its a little hard to control, i would like to change the system wide default behaviour so the mail would be sent from apache@gargamel.domain.tld
which is also the hostname
if you type hostname you get gargamel.domain.tld.
probably something simple but i don't know where to change it,
many thanks in advance,
Herwig
May 23 20:52:27 gargamel sendmail[22473]: l4NIqRkR022473: to="Ivo.xxx" <Ivo.xxx@skynet.be>, ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30700, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 3BA5C8209A2)
May 23 20:52:27 gargamel postfix/smtp[22474]: 3BA5C8209A2: to=<Ivo.xxx@skynet.be>, relay=in.mx.skynet.be[195.238.5.129]:25, delay=0.14, delays=0.08/0.01/0.04/0.01, dsn=5.0.0, status=bounced (host in.mx.skynet.be[195.238.5.129] said: 553 #5.1.8 Domain of sender address <apache@localhost.localdomain> does not exist (in reply to MAIL FROM command))