1 message in net.sourceforge.lists.courier-maildrop[maildropl] Requesting access to post...
FromSent OnAttachments
Eric MayoNov 2, 2005 3:12 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Requesting access to post the following questionActions...
From:Eric Mayo (er@pozicom.net)
Date:Nov 2, 2005 3:12:36 pm
List:net.sourceforge.lists.courier-maildrop

I admit this is probably a sendmail configuration problem but I've had zero luck
in getting help from the sendmail folks.

I am using Maildrop as a local delivery agent. In my sendmail.mc file I have
the following configuration line:

FEATURE(`local_procmail', `/usr/local/bin/maildrop', `maildrop -d $u')dnl

This results in a sendmail.cf setting of: Mlocal, P=/usr/local/bin/maildrop, F=lsDFMAw5:/|@qSPfhn9, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix, A=maildrop -d $u

Maildrop is configured to use authdaemond with a PostgreSQL backend.

Anytime I send email to one of my local virtual mailboxes while monitoring the PostgreSQL logs, I see queries for the user name that do not include the domain name. For example, consider the following SMTP communication:

---------------------------------------------- telnet my.smtp.host 25 mail from: te@someplace.com rcpt to: me@mydomain.com data some test data .

----------------------------------------------

maildrop seems to query the PostgreSQL database correctly but with the wrong parameters passed in for $u which is a variable sendmail sets and passes to maildrop. My Postgresql logs show a look up for "me" instead of
me@mydomain.com. I require the domain name portion because I have many virtual domains with same user portion in front that I need to keep mail for.

It apperas as if $u being passed to maildrop is getting stripped along the way. I've spent months looking into various things with sendmail with no luck. My latest advise was to craft my own sendmail rewrite rules. I took an example and tried to implement it with no luck.

The following was tried in my sendmail.mc file:

----------------------------------------------------------------------- LOCAL_RULE_0 Rbb + $+ < @ $=w . > $#local $: + $1@$2

-----------------------------------------------------------------------

I just don't know enough about sendmail rewrite rules to get this right. I am hoping someone from this list can assist us.

Thanks much!

~Eric