All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mehul N. Sanghvi" <mehul.sanghvi@gmail.com>
To: mlmmj@mlmmj.org
Subject: Re: virtual domain support
Date: Thu, 31 May 2007 04:15:41 +0000	[thread overview]
Message-ID: <465E4BED.9020700@gmail.com> (raw)
In-Reply-To: <464DAF4C.1030800@gmail.com>

Christian Laursen said the following on 5/18/2007 10:07 AM:
> "Mehul N. Sanghvi" <mehul.sanghvi@gmail.com> writes:
> 
>>      How does mlmmj work with virtual domains ?   Is there a document
>> that someone can point me to that has guidelines for it ?
> 
> It's actually quite simple. In your virtual file you make an entry for
> each list like this:
> 
> listname@virtualdomain.example.com      mlmmj-virtualdomain.example.com-listname
> 
> 
> And then, also for each list, make an entry in your aliases file like this:
> 
> mlmmj-virtualdomain.example.com-listname:     "/usr/local/bin/mlmmj-recieve -L /var/spool/mlmmj/virtualdomain.example.com/listname"
> 
> 
> Of course you can choose your directory layout and alias names any way
> you like, but this should give you the general idea.
> 

I have the following setup:

---- /etc/postfix/virtual ----

# mlmmj mailing lists
mlmmj-test@VHOST.TLD          mlmmj-test

---- /etc/postfix/virtual ----


---- /etc/aliases ----

mlmmj-test:  "|/usr/bin/mlmmj-recieve -L /var/spool/mlmmj/mlmmj-test/"

---- /etc/aliases ----


In trying to send a message to the list I get the following entries in the
/var/log/mail.log file:

May 30 23:54:51 REAL_HOST postfix/pickup[17476]: 1E1AD51BB7: uid\x1000 
from=<USER@VHOST.TLD>
May 30 23:54:51 REAL_HOST postfix/cleanup[17674]: 1E1AD51BB7: 
message-id=<20070531035451.GA17663@VHOST.TLD>
May 30 23:54:51 REAL_HOST postfix/qmgr[2870]: 1E1AD51BB7: 
from=<USER@VHOST.TLD>, sizeT6, nrcpt=1 (queue active)
May 30 23:54:51 REAL_HOST postfix/smtpd[17679]: connect from 
localhost.localdomain[127.0.0.1]
May 30 23:54:51 REAL_HOST postfix/smtpd[17679]: NOQUEUE: reject: RCPT from 
localhost.localdomain[127.0.0.1]: 504 5.5.2 <REAL_HOST>: Helo command rejected: 
need fully-qualified hostname; from=<mlmmj-test+bounces-help@VHOST.TLD> 
to=<USER@VHOST.TLD> proto=SMTP helo=<REAL_HOST>
May 30 23:54:51 REAL_HOST /usr/bin/mlmmj-send[17678]: mlmmj-send.c:241: Error 
in RCPT TO. Reply = [504 5.5.2 <REAL_HOST>: Helo command rejected: need 
fully-qualified hostname^M ]: Success
May 30 23:54:51 REAL_HOST postfix/smtpd[17679]: disconnect from 
localhost.localdomain[127.0.0.1]
May 30 23:54:51 REAL_HOST postfix/local[17676]: 1E1AD51BB7: 
to=<mlmmj-test@ISP-SIDE.DNS-NAME.DOMAIN.TLD>, orig_to=<mlmmj-test@VHOST.TLD>, 
relay=local, delay=0.34, delays=0.09/0.03/0/0.23, dsn=2.0.0, status=sent 
(delivered to command: /usr/bin/mlmmj-recieve -L /var/spool/mlmmj/mlmmj-test/)
May 30 23:54:51 REAL_HOST postfix/qmgr[2870]: 1E1AD51BB7: removed



Why is getting rejected ? I would like mlmmj to use the VHOST.TLD in the HELO 
rather then the REAL_HOST, is that possible ?  How so ?


cheers,

      mehul

-- 
Mehul N. Sanghvi
email: mehul.sanghvi@gmail.com

  parent reply	other threads:[~2007-05-31  4:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-18 13:51 virtual domain support Mehul N. Sanghvi
2007-05-18 14:07 ` Christian Laursen
2007-05-31  4:15 ` Mehul N. Sanghvi [this message]
2007-05-31 17:09 ` Morten K. Poulsen
2007-06-08 10:46 ` Mehul N. Sanghvi
2007-06-10 12:55 ` Morten K. Poulsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=465E4BED.9020700@gmail.com \
    --to=mehul.sanghvi@gmail.com \
    --cc=mlmmj@mlmmj.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.