Discussion:
[rancid] changing the from for emails
Lai Chen Kang
2008-01-10 04:26:48 UTC
Permalink
Hi all

I am rather new to linux and not sure if this is the right place to post this. I want the email to be from
***@mydomain.com. However what I am getting is ***@hostname.mydomain.com. Any idea how I can configure this?

Lai
Justin Shore
2008-01-10 12:14:28 UTC
Permalink
Lai,

Is MAILDOMAIN defined in your etc/rancid.conf?

Justin
Post by Lai Chen Kang
Hi all
I am rather new to linux and not sure if this is the right place to post this. I want the email to be from
Lai Chen Kang
2008-01-10 12:26:52 UTC
Permalink
it is.
Post by Justin Shore
Lai,
Is MAILDOMAIN defined in your etc/rancid.conf?
Justin
Post by Lai Chen Kang
Hi all
I am rather new to linux and not sure if this is the right place to
configure this?
john heasley
2008-01-10 16:45:09 UTC
Permalink
That does not affect the From, an indeed some MTAs do not permit unprivleged
users to set From. This should be corrected in the MTA configuration. In
postfix that'd be the myorigin knob.
Post by Justin Shore
Lai,
Is MAILDOMAIN defined in your etc/rancid.conf?
Justin
Post by Lai Chen Kang
Hi all
I am rather new to linux and not sure if this is the right place to post this. I want the email to be from
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Lai Chen Kang
2008-01-11 10:01:20 UTC
Permalink
I am using sendmail. Any idea how I can configure this in sendmail?
Post by john heasley
That does not affect the From, an indeed some MTAs do not permit unprivleged
users to set From. This should be corrected in the MTA configuration. In
postfix that'd be the myorigin knob.
Post by Justin Shore
Lai,
Is MAILDOMAIN defined in your etc/rancid.conf?
Justin
Post by Lai Chen Kang
Hi all
I am rather new to linux and not sure if this is the right place to post this. I want the email to be from
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Sotiris Tsimbonis
2008-01-11 14:09:24 UTC
Permalink
Post by Lai Chen Kang
I am using sendmail. Any idea how I can configure this in sendmail?
You need to do masquerading in your .mc file and generate a new
sendmail.cf .. http://www.sendmail.org/m4/masquerading.html

Sot.
Post by Lai Chen Kang
Post by john heasley
That does not affect the From, an indeed some MTAs do not permit unprivleged
users to set From. This should be corrected in the MTA configuration. In
postfix that'd be the myorigin knob.
Post by Justin Shore
Lai,
Is MAILDOMAIN defined in your etc/rancid.conf?
Justin
Post by Lai Chen Kang
Hi all
I am rather new to linux and not sure if this is the right place to post this. I want the email to be from
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Loading...