auto reponses with multiple virtual users

Tryign to setup an autoreponse, but my situation is a bit tricky and I
am fairly new to sendmail as well.


I got 4 email addresses (on different domains) all going to the same
user

info [at] 1.com user1
sales [at] 2.com user1
input [at] 2.com user1
test [at] 3.net user1


How can I setup an auto responder with a different message for each
email address? We want just 1 mailbox so having multiple users seems
out of the question unless there's an option I don't know about.
sweeneym [ Mi, 02 Januar 2008 20:37 ] [ ID #1898513 ]

Re: auto reponses with multiple virtual users [use +detail and procmail]

Mike <sweeneym [at] gmail.com> writes:
> Tryign to setup an autoreponse, but my situation is a bit tricky and I
> am fairly new to sendmail as well.
>
> I got 4 email addresses (on different domains) all going to the same
> user
>
> info [at] 1.com user1
> sales [at] 2.com user1
> input [at] 2.com user1
> test [at] 3.net user1
>
> How can I setup an auto responder with a different message for each
> email address? We want just 1 mailbox so having multiple users seems
> out of the question unless there's an option I don't know about.

*IF* you use standard sendmail configuration on linuxes
(with procmail as local mailer)
*THEN*

1) use the following virtusertable entries to pass original recipient
address as +detail

info [at] 1.com user1+%0
sales [at] 2.com user1+%0
input [at] 2.com user1+%0
test [at] 3.net user1+%0

2) in ~user1/.procmailrc you will get original email address in $1
[ *do not* use ~user1/.forward file for procmail integration ]

P.S. Welcome to the "simple *after*" world :-)

--
[pl>en: Andrew] Andrzej Adam Filip : anfi [at] priv.onet.pl : anfi [at] xl.wp.pl
Open-Sendmail: http://open-sendmail.sourceforge.net/
Dishonor will not trouble me, once I am dead.
-- Euripides
----
http://groups.google.com/groups?selm=871w90ggc7 [at] donna.fsf.ho bby-site.com
Andrzej Filip [ Mi, 02 Januar 2008 20:47 ] [ ID #1898514 ]

Re: auto reponses with multiple virtual users [use +detail and

On Jan 2, 2:47=A0pm, Andrzej Adam Filip <a... [at] onet.eu> wrote:
> Mike <sween... [at] gmail.com> writes:
> > Tryign to setup an autoreponse, but my situation is a bit tricky and I
> > am fairly new to sendmail as well.
>
> > I got 4 email addresses (on different domains) all going to the same
> > user
>
> > i... [at] 1.com =A0 =A0 =A0user1
> > sa... [at] 2.com =A0 user1
> > in... [at] 2.com =A0 =A0user1
> > t... [at] 3.net =A0 =A0 =A0 =A0user1
>
> > How can I setup an auto responder with a different message for each
> > email address? We want just 1 mailbox so having multiple users seems
> > out of the question unless there's an option I don't know about.
>
> *IF* you use standard sendmail configuration on linuxes
> =A0 =A0 (with procmail =A0as local =A0mailer)
> *THEN*
>
> 1) use the following virtusertable entries to pass original recipient
> =A0 =A0address as +detail
>
> i... [at] 1.com =A0 =A0user1+%0
> sa... [at] 2.com =A0 user1+%0
> in... [at] 2.com =A0 user1+%0
> t... [at] 3.net =A0 =A0user1+%0
>
> 2) in ~user1/.procmailrc you will get original email address in $1
> [ *do not* use ~user1/.forward file for procmail integration ]
>
> P.S. Welcome to the "simple *after*" world :-)
>
> --
> [pl>en: Andrew] Andrzej Adam Filip : a... [at] priv.onet.pl : a... [at] xl.wp.pl
> Open-Sendmail:http://open-sendmail.sourceforge.net/
> Dishonor will not trouble me, once I am dead.
> =A0 -- Euripides
> ----
> http://groups.google.com/groups?selm=3D871w90g... [at] donna.fsf. hobby-site.com=


Don't think this is procmail version, using Fedora Core 6 and I don't
have any of those procmailrc directories in any of my home folders. My
bad for not mentioning my version. I see I might be able to do what I
need using VACATION, I'll currently checking that out.
sweeneym [ Mi, 02 Januar 2008 20:55 ] [ ID #1898515 ]

Re: auto reponses with multiple virtual users [use +detail and procmail]

Mike <sweeneym [at] gmail.com> writes:

> On Jan 2, 2:47 pm, Andrzej Adam Filip <a... [at] onet.eu> wrote:
>> Mike <sween... [at] gmail.com> writes:
>> > Tryign to setup an autoreponse, but my situation is a bit tricky and I
>> > am fairly new to sendmail as well.
>>
>> > I got 4 email addresses (on different domains) all going to the same
>> > user
>>
>> > i... [at] 1.com      user1
>> > sa... [at] 2.com   user1
>> > in... [at] 2.com    user1
>> > t... [at] 3.net        user1
>>
>> > How can I setup an auto responder with a different message for each
>> > email address? We want just 1 mailbox so having multiple users seems
>> > out of the question unless there's an option I don't know about.
>>
>> *IF* you use standard sendmail configuration on linuxes
>>     (with procmail  as local  mailer)
>> *THEN*
>>
>> 1) use the following virtusertable entries to pass original recipient
>>    address as +detail
>>
>> i... [at] 1.com    user1+%0
>> sa... [at] 2.com   user1+%0
>> in... [at] 2.com   user1+%0
>> t... [at] 3.net    user1+%0
>>
>> 2) in ~user1/.procmailrc you will get original email address in $1
>> [ *do not* use ~user1/.forward file for procmail integration ]
>>
>> P.S. Welcome to the "simple *after*" world :-)
>
> Don't think this is procmail version, using Fedora Core 6 and I don't
> have any of those procmailrc directories in any of my home folders.

grep ^Mlocal /etc/mail/sendmail.cf

I am 95% sure that if you use *sendmail* server on Fedora Core 6 then it
uses procmail as local mailer.
[ it is possible that you use exim/procmail as your MTA (/mail) server soft]

> My bad for not mentioning my version. I see I might be able to do what I
> need using VACATION, I'll currently checking that out.

--
[pl>en: Andrew] Andrzej Adam Filip : anfi [at] priv.onet.pl : anfi [at] xl.wp.pl
Open-Sendmail: http://open-sendmail.sourceforge.net/
Philosophy: A route of many roads leading from nowhere to nothing.
-- Ambrose Bierce
----
http://groups.google.com/groups?selm=87myrof14u [at] brigette.fsf .hobby-site.com
Andrzej Filip [ Mi, 02 Januar 2008 21:01 ] [ ID #1898516 ]

Re: auto reponses with multiple virtual users [use +detail and

On Jan 2, 2:47=A0pm, Andrzej Adam Filip <a... [at] onet.eu> wrote:
> Mike <sween... [at] gmail.com> writes:
> > Tryign to setup an autoreponse, but my situation is a bit tricky and I
> > am fairly new to sendmail as well.
>
> > I got 4 email addresses (on different domains) all going to the same
> > user
>
> > i... [at] 1.com =A0 =A0 =A0user1
> > sa... [at] 2.com =A0 user1
> > in... [at] 2.com =A0 =A0user1
> > t... [at] 3.net =A0 =A0 =A0 =A0user1
>
> > How can I setup an auto responder with a different message for each
> > email address? We want just 1 mailbox so having multiple users seems
> > out of the question unless there's an option I don't know about.
>
> *IF* you use standard sendmail configuration on linuxes
> =A0 =A0 (with procmail =A0as local =A0mailer)
> *THEN*
>
> 1) use the following virtusertable entries to pass original recipient
> =A0 =A0address as +detail
>
> i... [at] 1.com =A0 =A0user1+%0
> sa... [at] 2.com =A0 user1+%0
> in... [at] 2.com =A0 user1+%0
> t... [at] 3.net =A0 =A0user1+%0
>
> 2) in ~user1/.procmailrc you will get original email address in $1
> [ *do not* use ~user1/.forward file for procmail integration ]
>
> P.S. Welcome to the "simple *after*" world :-)
>
> --
> [pl>en: Andrew] Andrzej Adam Filip : a... [at] priv.onet.pl : a... [at] xl.wp.pl
> Open-Sendmail:http://open-sendmail.sourceforge.net/
> Dishonor will not trouble me, once I am dead.
> =A0 -- Euripides
> ----
> http://groups.google.com/groups?selm=3D871w90g... [at] donna.fsf. hobby-site.com=


Don't think this is procmail version, using Fedora Core 6 and I don't
have any of those procmailrc directories in any of my home folders. My
bad for not mentioning my version. I see I might be able to do what I
need using VACATION, I'll currently checking that out.
sweeneym [ Mi, 02 Januar 2008 21:11 ] [ ID #1898517 ]

Re: auto reponses with multiple virtual users [use +detail and

On Jan 2, 2:47=A0pm, Andrzej Adam Filip <a... [at] onet.eu> wrote:
> Mike <sween... [at] gmail.com> writes:
> > Tryign to setup an autoreponse, but my situation is a bit tricky and I
> > am fairly new to sendmail as well.
>
> > I got 4 email addresses (on different domains) all going to the same
> > user
>
> > i... [at] 1.com =A0 =A0 =A0user1
> > sa... [at] 2.com =A0 user1
> > in... [at] 2.com =A0 =A0user1
> > t... [at] 3.net =A0 =A0 =A0 =A0user1
>
> > How can I setup an auto responder with a different message for each
> > email address? We want just 1 mailbox so having multiple users seems
> > out of the question unless there's an option I don't know about.
>
> *IF* you use standard sendmail configuration on linuxes
> =A0 =A0 (with procmail =A0as local =A0mailer)
> *THEN*
>
> 1) use the following virtusertable entries to pass original recipient
> =A0 =A0address as +detail
>
> i... [at] 1.com =A0 =A0user1+%0
> sa... [at] 2.com =A0 user1+%0
> in... [at] 2.com =A0 user1+%0
> t... [at] 3.net =A0 =A0user1+%0
>
> 2) in ~user1/.procmailrc you will get original email address in $1
> [ *do not* use ~user1/.forward file for procmail integration ]
>
> P.S. Welcome to the "simple *after*" world :-)
>
> --
> [pl>en: Andrew] Andrzej Adam Filip : a... [at] priv.onet.pl : a... [at] xl.wp.pl
> Open-Sendmail:http://open-sendmail.sourceforge.net/
> Dishonor will not trouble me, once I am dead.
> =A0 -- Euripides
> ----
> http://groups.google.com/groups?selm=3D871w90g... [at] donna.fsf. hobby-site.com=


Don't think this is procmail version, using Fedora Core 6 and I don't
have any of those procmailrc directories in any of my home folders. My
bad for not mentioning my version. I see I might be able to do what I
need using VACATION, I'll currently checking that out.
sweeneym [ Mi, 02 Januar 2008 21:12 ] [ ID #1898518 ]
Miscellaneous » comp.mail.sendmail » auto reponses with multiple virtual users

Vorheriges Thema: Half-Relaying: According to the sender (+auth?)
Nächstes Thema: I suppose it is up to us to post some content and scroll down the