List Info

Thread: sendmail and local delivery,




sendmail and local delivery,
country flaguser name
United States
2007-07-27 10:16:27
Howdy all,
    I'm using dbmail and sendmail to setup a multi domain
hosting 
enviroment, and it's all straight forward and good except
that I'm 
trying to do some funny routing. The short of it is that the
trick of 
using mailertable (per wiki) won't work for me and I'm
trying to get 
dbmail-lmtp working as the local mailer.  I know you folks
aren't 
sendmail guy's per say but asking don't really hurt.


dbmail-lmtp seems to want the address in <>'s but is
not recieving them. 
my sendmail.cf mailer definition lloks like this:

Mdbmail-local, P=[IPC], F=DFMAhmXz5/:|,
S=EnvFromSMTP/HdrFromSMTP,
R=EnvToSMTP,T=DNS/RFC822/X-Unix, , A=TCP localhost 24

sendmail -bt shows:

 > /parse a... 
<http://groups.google.com/groups/unlock?msg=e7573c4d155dd7e
e&hl=en&_done=/group/comp.mail.sendmail/browse_threa
d/thread/86a851e69abc7155/e7573c4d155dd7ee%3Fhl%3Den>
gctest01.lab 


Cracked address = $g
Parsing envelope recipient address
canonify           input: a1  gctest01 . lab
Canonify2          input: a1 <  gctest01 . lab >
Canonify2        returns: a1 <  gctest01 . lab . >
canonify         returns: a1 <  gctest01 . lab . >
parse              input: a1 <  gctest01 . lab . >
Parse0             input: a1 <  gctest01 . lab . >
Parse0           returns: a1 <  gctest01 . lab . >
ParseLocal         input: a1 <  gctest01 . lab . >
ParseLocal       returns: a1 <  gctest01 . lab . >
Parse1             input: a1 <  gctest01 . lab . >
MailerToTriple     input: < dbmail-local : > a1 <

gctest01 . lab . >
MailerToTriple   returns: $# dbmail-local $ > a1
<  gctest01 . lab .
$:
Parse1           returns: $# dbmail-local $ > a1
<  gctest01 . lab .
$:
parse            returns: $# dbmail-local $ > a1
<  gctest01 . lab .
$:
2                  input:
2                returns:
EnvToSMTP          input:
EnvToSMTP        returns:
final              input:
final            returns:
mailer dbmail-local, host >a1<gctest01.lab., user

I have stickyhost set and localCONF_MAILER is set to
dbmail-local.

Thanks,
Michael Luich


This email and any files transmitted with it are
confidential and intended solely for the individual(s) or
entity to whom they are addressed.

If you have received this email in error please notify the
originator of the message.

Any views expressed in this message are those of the
individual sender.

This message has been scanned for Content, viruses and spam
by GlobalCerts  RiskFilter - E-mail.
www.GlobalCerts.net



This email and any files transmitted with it are
confidential and intended solely for the individual(s) or
entity to whom they are addressed.

If you have received this email in error please notify the
originator of the message.

Any views expressed in this message are those of the
individual sender.

This message has been scanned for Content, viruses and spam
by GlobalCerts  RiskFilter - E-mail.
www.GlobalCerts.net

_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

Re: sendmail and local delivery,
country flaguser name
United States
2007-07-27 14:21:33
I figured it out:

in sendmail.mc add the lines:
-----------------------------
FEATURE(`stickyhost')dnl

MAILER(dbmail-local)dnl
define(`confLOCAL_MAILER', `dbmail-local')
define(`MAIL_HUB',`dbmail-local:localhost')dnl
-----------------------------



under /usr/share/sendmail/cf/mailer/ create dbmail-local.m4
-----------------------------
PUSHDIVERT(-1)
ifdef(`DBMAIL_MAILER_PATH',,
        `ifdef(`DBMAIL_PATH',
        `define(`DBMAIL_MAILER_PATH', DBMAIL_PATH)',
        `define(`DBMAIL_MAILER_PATH', [IPC])')')
_DEFIFNOT(`DBMAIL_MAILER_FLAGS', `hmXz/:|')
ifdef(`DBMAIL_MAILER_ARGS',,
`define(`DBMAIL_MAILER_ARGS', `TCP $h 24')')

POPDIVERT

Mdbmail-local, P=DBMAIL_MAILER_PATH, F=_MODMF_(CONCAT(`DFM',

DBMAIL_MAILER_FLAGS), `DBMAIL'),S=EnvFromSMTP/HdrFromSMTP, 
R=EnvToSMTP,T=DNS/RFC822/SMTP, A=DBMAIL_MAILER_ARGS

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

add your local domains to local-host-names

and your good to go.

Michael Luich

Michael Luich wrote:
> Howdy all,
>    I'm using dbmail and sendmail to setup a multi
domain hosting 
> enviroment, and it's all straight forward and good
except that I'm 
> trying to do some funny routing. The short of it is
that the trick of 
> using mailertable (per wiki) won't work for me and I'm
trying to get 
> dbmail-lmtp working as the local mailer.  I know you
folks aren't 
> sendmail guy's per say but asking don't really hurt.
>
>
> dbmail-lmtp seems to want the address in <>'s but
is not recieving 
> them. my sendmail.cf mailer definition lloks like
this:
>
> Mdbmail-local, P=[IPC], F=DFMAhmXz5/:|,
S=EnvFromSMTP/HdrFromSMTP,
> R=EnvToSMTP,T=DNS/RFC822/X-Unix, , A=TCP localhost 24
>
> sendmail -bt shows:
>
> > /parse a... 
> <http://groups.google.com/groups/unlock?msg=e7573c4d155dd7e
e&hl=en&_done=/group/comp.mail.sendmail/browse_threa
d/thread/86a851e69abc7155/e7573c4d155dd7ee%3Fhl%3Den>
gctest01.lab 
>
>
> Cracked address = $g
> Parsing envelope recipient address
> canonify           input: a1  gctest01 . lab
> Canonify2          input: a1 <  gctest01
. lab >
> Canonify2        returns: a1 <  gctest01
. lab . >
> canonify         returns: a1 <  gctest01
. lab . >
> parse              input: a1 <  gctest01
. lab . >
> Parse0             input: a1 <  gctest01
. lab . >
> Parse0           returns: a1 <  gctest01
. lab . >
> ParseLocal         input: a1 <  gctest01
. lab . >
> ParseLocal       returns: a1 <  gctest01
. lab . >
> Parse1             input: a1 <  gctest01
. lab . >
> MailerToTriple     input: < dbmail-local : > a1
<  gctest01 . lab . >
> MailerToTriple   returns: $# dbmail-local $ > a1
<  gctest01 . lab .
> $:
> Parse1           returns: $# dbmail-local $ > a1
<  gctest01 . lab .
> $:
> parse            returns: $# dbmail-local $ > a1
<  gctest01 . lab .
> $:
> 2                  input:
> 2                returns:
> EnvToSMTP          input:
> EnvToSMTP        returns:
> final              input:
> final            returns:
> mailer dbmail-local, host >a1<gctest01.lab., user
>
> I have stickyhost set and localCONF_MAILER is set to
dbmail-local.
>
> Thanks,
> Michael Luich
>
>
> This email and any files transmitted with it are
confidential and 
> intended solely for the individual(s) or entity to whom
they are 
> addressed.
>
> If you have received this email in error please notify
the originator 
> of the message.
>
> Any views expressed in this message are those of the
individual sender.
>
> This message has been scanned for Content, viruses and
spam by 
> GlobalCerts  RiskFilter - E-mail.
> www.GlobalCerts.net
>
>
>
> This email and any files transmitted with it are
confidential and 
> intended solely for the individual(s) or entity to whom
they are 
> addressed.
>
> If you have received this email in error please notify
the originator 
> of the message.
>
> Any views expressed in this message are those of the
individual sender.
>
> This message has been scanned for Content, viruses and
spam by 
> GlobalCerts  RiskFilter - E-mail.
> www.GlobalCerts.net
>
> _______________________________________________
> DBmail mailing list
> DBmaildbmail.org
> htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
>
>
> This email and any files transmitted with it are
confidential and 
> intended solely for the individual(s) or entity to whom
they are 
> addressed.
>
> If you have received this email in error please notify
the originator 
> of the message.
>
> Any views expressed in this message are those of the
individual sender.
>
> This message has been scanned for Content, viruses and
spam by 
> GlobalCerts  RiskFilter - E-mail.
> www.GlobalCerts.net
>



This email and any files transmitted with it are
confidential and intended solely for the individual(s) or
entity to whom they are addressed.

If you have received this email in error please notify the
originator of the message.

Any views expressed in this message are those of the
individual sender.

This message has been scanned for Content, viruses and spam
by GlobalCerts  RiskFilter - E-mail.
www.GlobalCerts.net



This email and any files transmitted with it are
confidential and intended solely for the individual(s) or
entity to whom they are addressed.

If you have received this email in error please notify the
originator of the message.

Any views expressed in this message are those of the
individual sender.

This message has been scanned for Content, viruses and spam
by GlobalCerts  RiskFilter - E-mail.
www.GlobalCerts.net

_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

Re: sendmail and local delivery,
country flaguser name
United States
2007-07-27 14:37:59
Way cool. I personally know squat about Sendmail. Would you
consider
adding a wiki page describing your setup?

Aaron

On Fri, Jul 27, 2007, Michael Luich <mluichglobalcerts.net> said:

> I figured it out:
> 
> in sendmail.mc add the lines:
> -----------------------------
> FEATURE(`stickyhost')dnl
> 
> MAILER(dbmail-local)dnl
> define(`confLOCAL_MAILER', `dbmail-local')
> define(`MAIL_HUB',`dbmail-local:localhost')dnl
> -----------------------------
> 
> 
> 
> under /usr/share/sendmail/cf/mailer/ create
dbmail-local.m4
> -----------------------------
> PUSHDIVERT(-1)
> ifdef(`DBMAIL_MAILER_PATH',,
>         `ifdef(`DBMAIL_PATH',
>         `define(`DBMAIL_MAILER_PATH', DBMAIL_PATH)',
>         `define(`DBMAIL_MAILER_PATH', [IPC])')')
> _DEFIFNOT(`DBMAIL_MAILER_FLAGS', `hmXz/:|')
> ifdef(`DBMAIL_MAILER_ARGS',,
> `define(`DBMAIL_MAILER_ARGS', `TCP $h 24')')
> 
> POPDIVERT
> 
> Mdbmail-local, P=DBMAIL_MAILER_PATH,
F=_MODMF_(CONCAT(`DFM', 
> DBMAIL_MAILER_FLAGS),
`DBMAIL'),S=EnvFromSMTP/HdrFromSMTP, 
> R=EnvToSMTP,T=DNS/RFC822/SMTP, A=DBMAIL_MAILER_ARGS
> 
> -----------------------------
> 
> add your local domains to local-host-names
> 
> and your good to go.
> 
> Michael Luich
> 
> Michael Luich wrote:
>> Howdy all,
>>    I'm using dbmail and sendmail to setup a multi
domain hosting 
>> enviroment, and it's all straight forward and good
except that I'm 
>> trying to do some funny routing. The short of it is
that the trick of 
>> using mailertable (per wiki) won't work for me and
I'm trying to get 
>> dbmail-lmtp working as the local mailer.  I know
you folks aren't 
>> sendmail guy's per say but asking don't really
hurt.
>>
>>
>> dbmail-lmtp seems to want the address in <>'s
but is not recieving 
>> them. my sendmail.cf mailer definition lloks like
this:
>>
>> Mdbmail-local, P=[IPC], F=DFMAhmXz5/:|,
S=EnvFromSMTP/HdrFromSMTP,
>> R=EnvToSMTP,T=DNS/RFC822/X-Unix, , A=TCP localhost
24
>>
>> sendmail -bt shows:
>>
>> > /parse a... 
>> <http://groups.google.com/groups/unlock?msg=e7573c4d155dd7e
e&hl=en&_done=/group/comp.mail.sendmail/browse_threa
d/thread/86a851e69abc7155/e7573c4d155dd7ee%3Fhl%3Den>
gctest01.lab 
>>
>>
>> Cracked address = $g
>> Parsing envelope recipient address
>> canonify           input: a1  gctest01 . lab
>> Canonify2          input: a1 <  gctest01
. lab >
>> Canonify2        returns: a1 <  gctest01
. lab . >
>> canonify         returns: a1 <  gctest01
. lab . >
>> parse              input: a1 <  gctest01
. lab . >
>> Parse0             input: a1 <  gctest01
. lab . >
>> Parse0           returns: a1 <  gctest01
. lab . >
>> ParseLocal         input: a1 <  gctest01
. lab . >
>> ParseLocal       returns: a1 <  gctest01
. lab . >
>> Parse1             input: a1 <  gctest01
. lab . >
>> MailerToTriple     input: < dbmail-local : >
a1 <  gctest01 . lab . >
>> MailerToTriple   returns: $# dbmail-local $ > a1
<  gctest01 . lab .
>> $:
>> Parse1           returns: $# dbmail-local $ > a1
<  gctest01 . lab .
>> $:
>> parse            returns: $# dbmail-local $ > a1
<  gctest01 . lab .
>> $:
>> 2                  input:
>> 2                returns:
>> EnvToSMTP          input:
>> EnvToSMTP        returns:
>> final              input:
>> final            returns:
>> mailer dbmail-local, host >a1<gctest01.lab., user
>>
>> I have stickyhost set and localCONF_MAILER is set
to dbmail-local.
>>
>> Thanks,
>> Michael Luich
>>
>>
>> This email and any files transmitted with it are
confidential and 
>> intended solely for the individual(s) or entity to
whom they are 
>> addressed.
>>
>> If you have received this email in error please
notify the originator 
>> of the message.
>>
>> Any views expressed in this message are those of
the individual sender.
>>
>> This message has been scanned for Content, viruses
and spam by 
>> GlobalCerts  RiskFilter - E-mail.
>> www.GlobalCerts.net
>>
>>
>>
>> This email and any files transmitted with it are
confidential and 
>> intended solely for the individual(s) or entity to
whom they are 
>> addressed.
>>
>> If you have received this email in error please
notify the originator 
>> of the message.
>>
>> Any views expressed in this message are those of
the individual sender.
>>
>> This message has been scanned for Content, viruses
and spam by 
>> GlobalCerts  RiskFilter - E-mail.
>> www.GlobalCerts.net
>>
>> _______________________________________________
>> DBmail mailing list
>> DBmaildbmail.org
>> htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
>>
>>
>> This email and any files transmitted with it are
confidential and 
>> intended solely for the individual(s) or entity to
whom they are 
>> addressed.
>>
>> If you have received this email in error please
notify the originator 
>> of the message.
>>
>> Any views expressed in this message are those of
the individual sender.
>>
>> This message has been scanned for Content, viruses
and spam by 
>> GlobalCerts  RiskFilter - E-mail.
>> www.GlobalCerts.net
>>
> 
> 
> 
> This email and any files transmitted with it are
confidential and intended solely for the individual(s) or
entity to whom they are addressed.
> 
> If you have received this email in error please notify
the originator of the message.
> 
> Any views expressed in this message are those of the
individual sender.
> 
> This message has been scanned for Content, viruses and
spam by GlobalCerts  RiskFilter - E-mail.
> www.GlobalCerts.net
> 
> 
> 
> This email and any files transmitted with it are
confidential and intended solely for the individual(s) or
entity to whom they are addressed.
> 
> If you have received this email in error please notify
the originator of the message.
> 
> Any views expressed in this message are those of the
individual sender.
> 
> This message has been scanned for Content, viruses and
spam by GlobalCerts  RiskFilter - E-mail.
> www.GlobalCerts.net
> 
> _______________________________________________
> DBmail mailing list
> DBmaildbmail.org
> htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
> 

-- 



_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

Re: sendmail and local delivery,
country flaguser name
United States
2007-07-27 15:01:03
I was already working on it, I just don't do pretty well.
(that and 
those darn customers!)

Mike
Aaron Stone wrote:
> Way cool. I personally know squat about Sendmail. Would
you consider
> adding a wiki page describing your setup?
>
> Aaron
>
> On Fri, Jul 27, 2007, Michael Luich <mluichglobalcerts.net> said:
>
>   
>> I figured it out:
>>
>> in sendmail.mc add the lines:
>> -----------------------------
>> FEATURE(`stickyhost')dnl
>>
>> MAILER(dbmail-local)dnl
>> define(`confLOCAL_MAILER', `dbmail-local')
>> define(`MAIL_HUB',`dbmail-local:localhost')dnl
>> -----------------------------
>>
>>
>>
>> under /usr/share/sendmail/cf/mailer/ create
dbmail-local.m4
>> -----------------------------
>> PUSHDIVERT(-1)
>> ifdef(`DBMAIL_MAILER_PATH',,
>>         `ifdef(`DBMAIL_PATH',
>>         `define(`DBMAIL_MAILER_PATH',
DBMAIL_PATH)',
>>         `define(`DBMAIL_MAILER_PATH', [IPC])')')
>> _DEFIFNOT(`DBMAIL_MAILER_FLAGS', `hmXz/:|')
>> ifdef(`DBMAIL_MAILER_ARGS',,
>> `define(`DBMAIL_MAILER_ARGS', `TCP $h 24')')
>>
>> POPDIVERT
>>
>> Mdbmail-local, P=DBMAIL_MAILER_PATH,
F=_MODMF_(CONCAT(`DFM', 
>> DBMAIL_MAILER_FLAGS),
`DBMAIL'),S=EnvFromSMTP/HdrFromSMTP, 
>> R=EnvToSMTP,T=DNS/RFC822/SMTP,
A=DBMAIL_MAILER_ARGS
>>
>> -----------------------------
>>
>> add your local domains to local-host-names
>>
>> and your good to go.
>>
>> Michael Luich
>>
>> Michael Luich wrote:
>>     
>>> Howdy all,
>>>    I'm using dbmail and sendmail to setup a
multi domain hosting 
>>> enviroment, and it's all straight forward and
good except that I'm 
>>> trying to do some funny routing. The short of
it is that the trick of 
>>> using mailertable (per wiki) won't work for me
and I'm trying to get 
>>> dbmail-lmtp working as the local mailer.  I
know you folks aren't 
>>> sendmail guy's per say but asking don't really
hurt.
>>>
>>>
>>> dbmail-lmtp seems to want the address in
<>'s but is not recieving 
>>> them. my sendmail.cf mailer definition lloks
like this:
>>>
>>> Mdbmail-local, P=[IPC], F=DFMAhmXz5/:|,
S=EnvFromSMTP/HdrFromSMTP,
>>> R=EnvToSMTP,T=DNS/RFC822/X-Unix, , A=TCP
localhost 24
>>>
>>> sendmail -bt shows:
>>>
>>>       
>>>> /parse a... 
>>>>         
>>> <http://groups.google.com/groups/unlock?msg=e7573c4d155dd7e
e&hl=en&_done=/group/comp.mail.sendmail/browse_threa
d/thread/86a851e69abc7155/e7573c4d155dd7ee%3Fhl%3Den>
gctest01.lab 
>>>
>>>
>>> Cracked address = $g
>>> Parsing envelope recipient address
>>> canonify           input: a1  gctest01
. lab
>>> Canonify2          input: a1 <  gctest01
. lab >
>>> Canonify2        returns: a1 <  gctest01
. lab . >
>>> canonify         returns: a1 <  gctest01
. lab . >
>>> parse              input: a1 <  gctest01
. lab . >
>>> Parse0             input: a1 <  gctest01
. lab . >
>>> Parse0           returns: a1 <  gctest01
. lab . >
>>> ParseLocal         input: a1 <  gctest01
. lab . >
>>> ParseLocal       returns: a1 <  gctest01
. lab . >
>>> Parse1             input: a1 <  gctest01
. lab . >
>>> MailerToTriple     input: < dbmail-local :
> a1 <  gctest01 . lab . >
>>> MailerToTriple   returns: $# dbmail-local $ > a1
<  gctest01 . lab .
>>> $:
>>> Parse1           returns: $# dbmail-local $ > a1
<  gctest01 . lab .
>>> $:
>>> parse            returns: $# dbmail-local $ > a1
<  gctest01 . lab .
>>> $:
>>> 2                  input:
>>> 2                returns:
>>> EnvToSMTP          input:
>>> EnvToSMTP        returns:
>>> final              input:
>>> final            returns:
>>> mailer dbmail-local, host >a1<gctest01.lab., user
>>>
>>> I have stickyhost set and localCONF_MAILER is
set to dbmail-local.
>>>
>>> Thanks,
>>> Michael Luich
>>>
>>>
>>> This email and any files transmitted with it
are confidential and 
>>> intended solely for the individual(s) or entity
to whom they are 
>>> addressed.
>>>
>>> If you have received this email in error please
notify the originator 
>>> of the message.
>>>
>>> Any views expressed in this message are those
of the individual sender.
>>>
>>> This message has been scanned for Content,
viruses and spam by 
>>> GlobalCerts  RiskFilter - E-mail.
>>> www.GlobalCerts.net
>>>
>>>
>>>
>>> This email and any files transmitted with it
are confidential and 
>>> intended solely for the individual(s) or entity
to whom they are 
>>> addressed.
>>>
>>> If you have received this email in error please
notify the originator 
>>> of the message.
>>>
>>> Any views expressed in this message are those
of the individual sender.
>>>
>>> This message has been scanned for Content,
viruses and spam by 
>>> GlobalCerts  RiskFilter - E-mail.
>>> www.GlobalCerts.net
>>>
>>>
_______________________________________________
>>> DBmail mailing list
>>> DBmaildbmail.org
>>> htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
>>>
>>>
>>> This email and any files transmitted with it
are confidential and 
>>> intended solely for the individual(s) or entity
to whom they are 
>>> addressed.
>>>
>>> If you have received this email in error please
notify the originator 
>>> of the message.
>>>
>>> Any views expressed in this message are those
of the individual sender.
>>>
>>> This message has been scanned for Content,
viruses and spam by 
>>> GlobalCerts  RiskFilter - E-mail.
>>> www.GlobalCerts.net
>>>
>>>       
>>
>> This email and any files transmitted with it are
confidential and intended solely for the individual(s) or
entity to whom they are addressed.
>>
>> If you have received this email in error please
notify the originator of the message.
>>
>> Any views expressed in this message are those of
the individual sender.
>>
>> This message has been scanned for Content, viruses
and spam by GlobalCerts  RiskFilter - E-mail.
>> www.GlobalCerts.net
>>
>>
>>
>> This email and any files transmitted with it are
confidential and intended solely for the individual(s) or
entity to whom they are addressed.
>>
>> If you have received this email in error please
notify the originator of the message.
>>
>> Any views expressed in this message are those of
the individual sender.
>>
>> This message has been scanned for Content, viruses
and spam by GlobalCerts  RiskFilter - E-mail.
>> www.GlobalCerts.net
>>
>> _______________________________________________
>> DBmail mailing list
>> DBmaildbmail.org
>> htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
>>
>>     
>
>   



This email and any files transmitted with it are
confidential and intended solely for the individual(s) or
entity to whom they are addressed.

If you have received this email in error please notify the
originator of the message.

Any views expressed in this message are those of the
individual sender.

This message has been scanned for Content, viruses and spam
by GlobalCerts  RiskFilter - E-mail.
www.GlobalCerts.net



This email and any files transmitted with it are
confidential and intended solely for the individual(s) or
entity to whom they are addressed.

If you have received this email in error please notify the
originator of the message.

Any views expressed in this message are those of the
individual sender.

This message has been scanned for Content, viruses and spam
by GlobalCerts  RiskFilter - E-mail.
www.GlobalCerts.net

_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )