Hi
I have a CentOS 4.2 server with postfix. The problem I'm having is that postfix insists on using $myhostname in the from field even if I instruct it to use $mydomain in /etc/postfix/main.cf or even if I hard code the domain name into $myorigin. What am I missing?
BTW: postconf shows output shows that $myorigin is configured to use $mydomain, or the domain name itself ...
-- ttyl Paolo
On Wed, October 15, 2008 6:34 am, Paolo Supino wrote:
Hi
I have a CentOS 4.2 server with postfix. The problem I'm having is that postfix insists on using $myhostname in the from field even if I instruct it to use $mydomain in /etc/postfix/main.cf or even if I hard code the domain name into $myorigin. What am I missing?
BTW: postconf shows output shows that $myorigin is configured to use $mydomain, or the domain name itself ...
-- ttyl Paolo
Could you post output of # postconf -n
Brian
Try installing WebMin and configure Postfix using their interface and see if that works for you... It is menu driven and a quick and easy way to configure your server...
john
Paolo Supino wrote:
Hi
I have a CentOS 4.2 server with postfix. The problem I'm having is that postfix insists on using $myhostname in the from field even if I instruct it to use $mydomain in /etc/postfix/main.cf or even if I hard code the domain name into $myorigin. What am I missing?
BTW: postconf shows output shows that $myorigin is configured to use $mydomain, or the domain name itself ...
-- ttyl Paolo _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.173 / Virus Database: 270.8.0/1726 - Release Date: 10/15/2008 7:29 AM
John Plemons wrote:
Try installing WebMin and configure Postfix using their interface and see if that works for you... It is menu driven and a quick and easy way to configure your server...
john
Paolo Supino wrote:
Hi
I have a CentOS 4.2 server with postfix. The problem I'm having is that postfix insists on using $myhostname in the from field even if I instruct it to use $mydomain in /etc/postfix/main.cf or even if I hard code the domain name into $myorigin. What am I missing?
BTW: postconf shows output shows that $myorigin is configured to use $mydomain, or the domain name itself ...
-- ttyl Paolo _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.173 / Virus Database: 270.8.0/1726 - Release Date: 10/15/2008 7:29 AM
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi Webmin is installed and the changes were initially carried out through webmin, but after I noticed that there is no change in the from field I checked to see if webmin changes the right file (it did) and also tried to set main.cf manually (which didn't help).
-- TIA Paolo
Paolo Supino a écrit :
Hi
I have a CentOS 4.2 server with postfix. The problem I'm having is that postfix insists on using $myhostname in the from field even if I
Prove that it is postfix that does so, and not Sendmail. show logs.
instruct it to use $mydomain in /etc/postfix/main.cf or even if I hard code the domain name into $myorigin. What am I missing?
BTW: postconf shows output shows that $myorigin is configured to use $mydomain, or the domain name itself ...
mouss wrote:
Paolo Supino a écrit :
Hi
I have a CentOS 4.2 server with postfix. The problem I'm having is that postfix insists on using $myhostname in the from field even if I
Prove that it is postfix that does so, and not Sendmail. show logs.
instruct it to use $mydomain in /etc/postfix/main.cf or even if I hard code the domain name into $myorigin. What am I missing?
BTW: postconf shows output shows that $myorigin is configured to use $mydomain, or the domain name itself ...
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi I didn't think of checking if Sendmail is the one sending the email or not. I will have to check this out. I will only have access to this server next Wednesday. So until then I can't check anything or post anything ...
== TIA Paolo
Paolo Supino a écrit :
Hi I didn't think of checking if Sendmail is the one sending the email or not. I will have to check this out. I will only have access to this server next Wednesday. So until then I can't check anything or post anything ...
If you find that it's sendmail, use alternatives to set the MTA to postfix instead (and stop Sendmail as you don't need it anymore, and having two different MTAs on a box generally results in surprises).
if that's not the problem, ask on the postfix-users list. There show the output of 'postconf -n' and relevant logs. you can hide private domains and IPs but do so coherently (use example.com, example.org, example.net or whateveryouwant.example for domains, and use 192.0.2.* for "public" IPs. but make your substitution a "one to one" mapping).