why do you reply off-list?

Am 08.05.2014 14:19, schrieb Gabor Szabo:
> On Thu, May 8, 2014 at 2:30 PM, [email protected] wrote:
>> well, than read your own post
>>
>> myhostname = dev.example.com
>> e-mail arrives from [email protected]
> 
> http://www.postfix.org/BASIC_CONFIGURATION_README.html#myorigin
> seems to indicate that what the configuration parameter that sets the
> outgoing domain
> is the "myorigin" variable. Have I misunderstood that part?
> 
> Nevertheless I commented out the setting of myhostname and even if I only have
> 
> myorigin = example.com
> mydomain = example.com

you need to understand defaults

"myhostname" is the hostname of the machine which is known at
anytime and that is why postfix don't demand you to type
it in each and every main.cf

postconf -d | grep myhostname

> I was using the "mail" command from mailutils. I am not aware of a way
> to configure it to send with a certain domain name. Though it is not
> important either, as I was only using it to test the configuration

you hardly can test a configuration with the mail-command
just because it uses pickup and so not a single smtpd_ setting is applied

use a *real* mail client

Reply via email to