Michaƫl Gaudette
2005-Nov-29 13:49 UTC
[Asterisk-Users] RE: Asterisk-Users Digest, Vol 16, Issue 232
I tried that, didn`t do anything. My guess is that the serveremail line changes the name in the from field, but not the MAIL FROM: call in SMTP. Mike> It seems that in both the 1.0 line and the 1.2 line, the [general] > section of voicemail.conf has an option: > > ; Who the e-mail notification should appear to come from > serveremail=user@somedomain.com > > Moj > > Michakl Gaudette wrote: > > Hi, > > > > I`m a beginning Asterisk and Sendmail user. I am trying to setup my > > voicemail to send emails to a certain email address. It > doesn't work, and I > > think I've figured out what it is. There is probably a > spam-feature at my > > provider (that I am using as smart host in sendmail) to not > accept emails > > coming from root@localhost.localdomain. > > > > If I start a telnet session on port 25 locally and go at it > manually, an > > email with MAIL FROM: root@localhost.localdomain never > makes it, while the > > exact same email with MAIL FROM: test@mydomain.com actually > gwets to my > > inbox. > > > > How do I make it so that asterisk emails as send using > user@somedomain.com > > instead of root@localhost.localdomain. Is it an asterisk thing or a > > Sendmail problem? Because my logs show that the email is send from > > root@localhost.localdomain.