Topic: How can I change "mail_from" value ?

Hi,

when punBB 1.3 sends emails, the "mail_from" is not what I expected.

How can I change that to a specific email adress ?

I tried to change cache/cache_config.php with

  'o_mailing_list' => 'foo@bar.tld',
  'o_admin_email' => 'foo@bar.tld',
  'o_webmaster_email' => 'foo@bar.tld',

but there's no changes.

++, sputnick.

2

Re: How can I change "mail_from" value ?

Hi, you can change it in

Administration > Settings > E-mail

wink

Eraversum - scifi browser-based online webgame

Re: How can I change "mail_from" value ?

Hi Grez,

I have the good settings in Administration > Settings > E-mail, so I don't understand.

Re: How can I change "mail_from" value ?

What emails are you talking about? What is your current value of the "From" field in the letter and what did you expect to see?

5

Re: How can I change "mail_from" value ?

Delete all files in ./cache folder and then go to Administration > Settings > E-mail and set the right value wink

//BTW info for future - don't change cache, there are only temporary files for faster loading - you can set all values in Administration wink

Eraversum - scifi browser-based online webgame

Re: How can I change "mail_from" value ?

Done, but still having problems. I have a postfix log sample :

first with a real error to yahoo : :

Oct 30 00:06:24 digi00340 postfix/pickup[27903]: 7CB161A07A: uid=33 from=<www-data>
Oct 30 00:06:24 digi00340 postfix/cleanup[29523]: 7CB161A07A: message-id=<20101029220624.7CB161A07A@foo.tld>
Oct 30 00:06:24 digi00340 postfix/qmgr[12820]: 7CB161A07A: from=<www-data@bar.tld>, size=947, nrcpt=1 (queue active)
Oct 30 00:06:24 digi00340 postfix/smtp[29525]: 7CB161A07A: host mx2.mail.eu.yahoo.com[77.238.184.241] refused to talk to me: 421 4.7.0 [GL01] Message from (95.130.11.145) temporarily deferred - 4.16.50. Please refer to http://postmaster.yahoo.com/errors/postmaster-21.html
Oct 30 00:06:25 digi00340 postfix/smtp[29525]: 7CB161A07A: to=<me@yahoo.fr>, relay=mx1.mail.eu.yahoo.com[77.238.177.9]:25, delay=1.3, delays=0.11/0.02/0.56/0.56, dsn=2.0.0, status=sent (250 ok dirdel)

The second one to gmail, no errors but no mails receveid.

Oct 30 00:06:25 digi00340 postfix/qmgr[12820]: 7CB161A07A: removed
Oct 30 00:09:45 digi00340 postfix/pickup[27903]: 069821A07A: uid=33 from=<www-data>
Oct 30 00:09:45 digi00340 postfix/cleanup[29581]: 069821A07A: message-id=<20101029220945.069821A07A@foo.tld>
Oct 30 00:09:45 digi00340 postfix/qmgr[12820]: 069821A07A: from=<www-data@bar.tld>, size=1141, nrcpt=1 (queue active)
Oct 30 00:09:46 digi00340 postfix/smtp[29583]: 069821A07A: to=<me@gmail.com>, relay=gmail-smtp-in.l.google.com[209.85.227.27]:25, delay=1.1, delays=0.1/0.02/0.35/0.61, dsn=2.0.0, status=sent (250 2.0.0 OK 1288390186 m64si4944333weq.4)
Oct 30 00:09:46 digi00340 postfix/qmgr[12820]: 069821A07A: removed

Any idea ? I have many vhosts on my server, the mailname is setted in a config file.

Re: How can I change "mail_from" value ?

Thanks, I find a workaround -> using smtp.googlemail.com:<SMTP PORT>