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

Re: postfix and hostname



On Sat, 09 Jun 2012 12:57:49 +0200, Tony van der Hoff wrote:

> On 09/06/12 11:45, Camaleón wrote:
>> This was from your log:
>> 
>> ***
>> Jun  8 16:54:15 shell postfix/trivial-rewrite[10957]: warning: do not
>> list domain vanderhoff.org in BOTH mydestination and
>> virtual_mailbox_domains
>> ***
>> 
>> It's almsot self-explicative :-)
>> 
> Self-explanatory. Almost... The problem is that I haven't a clue as to
> how to fix it. But, given that it's just a warning, I chose not to go
> chasing red herrings in pursuit of the real problem.

It's a warning and you have to correct it so Postfix works okay. If you 
leave it as is you can start seeing oddities in message routing in a near 
future :-)

The message is clear: don't use the same domain name in those two 
variables.

>> More info on to configure virtual setups, here:
>> 
>> http://www.postfix.org/VIRTUAL_README.html#in_virtual_other
>> 
> Yes, I read that, but didn't find the answer there. That is to say, I
> didn't understand what I was reading :( Unfortunately that document
> cross-links so many times that it becomes confusing.

If you don't understand how Postfix works, why not using a different MTA 
you feel more confortable with? :-?

Your problem is explained here:

***
Line 3: The virtual_mailbox_domains setting tells Postfix that 
example.com is delivered via the virtual_transport that was discussed in 
the previous paragraph. If you omit this virtual_mailbox_domains setting 
then Postfix will either reject mail (relay access denied) or will not be 
able to deliver it (mail for example.com loops back to myself).

NEVER list a virtual MAILBOX domain name as a mydestination domain!

NEVER list a virtual MAILBOX domain name as a virtual ALIAS domain!
***

So as you seem to be using a virtual domain layout you have to correct 
that.

>> And here it comes the fatal error:
>> 
>> ***
>> Jun  8 16:54:15 shell pipe[10964]: fatal: pipe_command: execvp
>> /usr/sbin/cyrdeliver: No such file or directory ***
>> 
>> This is Cyrus speaking, well not really, it's Postfix that can't
>> contact Cyrus. As I already mentioned, how your setup looks like in
>> regards to Cyrus and Dovecot? You can't use both unless you really know
>> what you're doing. Also, check the "master.cf" file and look for your
>> Cyrus pipe line and ensure you really have "/usr/sbin/cyrdeliver" in
>> your system.
> 
> Indeed, that's the real problem, I think. 

So it seems and "fatal" neither sounds good.

> You'll appreciate that I don't "really know what I'm doing" ;) Although
> Dovecot is installed, I'll accept that I'm not actually using it. Sorry
> for confusing the issue.

It's important (vital!) that you fully understand how your MTA flow 
works, what's steps need to be done to configure it, what kind of setup 
you want to use and what to read when a problem arises.

> /usr/sbin/cyrdeliver doesn't exist, and I have so far been unable to
> establish which package supplies it.

Err... it's Cyrus that installs it. I do have it. Maybe you should 
recheck your current installation and setup from scratch.
 
> However, whilst I'm prepared to pursue this avenue to fix the problem, I
> have to say that I don't see this error message with the .uk hostname.
> This does not seem logical to me.

It does not seem logical because you fail to see the source of the 
problem, I'm afraid... to me is crystal clear that you have not properly 
configured your mail server system and if it was working before it was by 
pure chance :-)

Greetings,

-- 
Camaleón


Reply to: