ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

проблема с mail();


  • To: nginx-ru@xxxxxxxxx
  • Subject: проблема с mail();
  • From: Ириша <zayka@xxxxxxxxxxxx>
  • Date: Thu, 3 Dec 2009 18:19:39 +0600
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=AJsq25KvIgEqjym2dsnezdR9t1KQAgmUNGT+Y+CY1l0=; b=w/nHJ24d1XOoLvM5bEFNT5BhF3NRRGhkrLC99roqtmK0HIC+Qh4/4k9VZE39W4QwN5 NVMQ8oy8yYvBpTHNkGVjZdjGOSSvMTBTtWO5/DwycObwWKcVGZThSs29tdt4ZZUXu1m4 rrTq+d/OqZFr8HH/f1lxatz74X86DLtAIgbrM=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; b=LqYwx8S9bOtzPRApduy0n2g7RlyftT5OV5ntfV4wg1/ZaYCc3a2PFOCMtULRyDS5+f N3sfNNM2BIu/oFmGf6LXF8AVNFb80UO9R2ugHnWpWw4hRjE/cy2ZjJCCZZXwptmYU8Xe NQEZv0WnM+mK0Q/859T5usXGuI6pk1rWw9Lqg=

скрипт отправляет письмо через mail();

# ls -l /usr/bin | grep sendmail
lrwxrwxrwx 1 root root      15 Дек  2 16:54 sendmail -> /usr/sbin/ssmtp

# cat /etc/ssmtp/ssmtp.conf
root=test@xxxxxxxxxx
mailhub=smtp.gmail.com:587
rewriteDomain=
hostname=
UseSTARTTLS=YES
AuthUser=test@xxxxxxxxxx
AuthPass=pass
FromLineOverride=

# cat /etc/ssmtp/revaliases
root:test@xxxxxxxxxx:smtp.gmail.com:587
mainuser:test@xxxxxxxxxx:smtp.gmail.com:587

вот в чём проблема: поле From подменяется на такое:
From: added by portage for nginx <test@xxxxxxxxxx>

как сделать чтобы поле не подменялось?
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.