Virtual domain problems...

Pete Phillips pete at smtl.co.uk
Sun May 22 05:40:08 EDT 2005


>>>>> "Edward" == Edward Rudd <eddie at omegaware.com> writes:


    Edward> With postfix you need to use the virtual_transport instead
    Edward> of the local_transport.

    Edward> so in my config I have

    Edward> virtual_transport = lmtp:/var/lib/imap/socket/lmtp

    Edward> as with local_ postfix only sends the username portion, but
    Edward> with virutal it sends the whole username at domain.

    Edward> and, unless you REALLY need to use deliver you should use
    Edward> lmtp as it is significantly faster.

Hmm - when I use 

/etc/main.cf
    virtual_transport = lmtp:/var/lib/imap/socket/lmtp

my mail log says:
   
-----------------/var/log/mail---------------------------------
May 22 10:31:25 mailhost postfix/smtp[10464]: 76316DA07: to=<jim at virtual.com>, relay=127.0.0.1[127.0.0.1], delay=3, status=sent (250 2.6.0 Ok, id=10270-01, from MTA: 250 Ok: queued as B5634E61A)
May 22 10:31:26 mailhost postfix/qmgr[10411]: 76316DA07: removed
May 22 10:31:26 mailhost postfix/lmtp[10474]: fatal: valid hostname or network address required in LMTP server description: /var/lib/imap/socket/lmtp
May 22 10:31:27 mailhost postfix/qmgr[10411]: warning: premature end-of-input on private/lmtp socket while reading input attribute name
May 22 10:31:27 mailhost postfix/qmgr[10411]: warning: private/lmtp socket: malformed response
May 22 10:31:27 mailhost postfix/qmgr[10411]: warning: transport lmtp failure -- see a previous warning/fatal/panic logfile record for the problem description
May 22 10:31:27 mailhost postfix/master[10409]: warning: process /usr/lib/postfix/lmtp pid 10474 exit status 1
May 22 10:31:27 mailhost postfix/master[10409]: warning: /usr/lib/postfix/lmtp: bad command startup -- throttling
-----------------------------------------------------------------

If I try this:
/etc/main.cf
    virtual_transport = lmtp

my mail log says:
   
-----------------/var/log/mail---------------------------------
May 22 10:33:20 mailhost postfix/smtp[10634]: 6C768E61A: to=<jim at virtual.com>, relay=127.0.0.1[127.0.0.1], delay=1, status=sent (250 2.6.0 Ok, id=10306-01, from MTA: 250 Ok: queued as BB468E7B9)
May 22 10:33:20 mailhost postfix/qmgr[10579]: 6C768E61A: removed
May 22 10:33:21 mailhost postfix/lmtp[10613]: BB468E7B9: to=<jim at virtual.com>, relay=none, delay=1, status=bounced (Host or domain name not found. Name service error for name=virtual.com type=A: Host found but no data record of requested type)
-----------------------------------------------------------------



This is my cyrus conf file:


/etc/cyrus.conf
	lmtpunix        cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=0


TIA,
Pete
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list