auto reponses with multiple virtual users

auto reponses with multiple virtual users

am 02.01.2008 20:37:14 von sweeneym

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@1.com user1
sales@2.com user1
input@2.com user1
test@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.

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

am 02.01.2008 20:47:20 von Andrzej Filip

Mike 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@1.com user1
> sales@2.com user1
> input@2.com user1
> test@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@1.com user1+%0
sales@2.com user1+%0
input@2.com user1+%0
test@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@priv.onet.pl : anfi@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@donna.fsf.ho bby-site.com

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

am 02.01.2008 20:55:37 von sweeneym

On Jan 2, 2:47=A0pm, Andrzej Adam Filip wrote:
> Mike 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...@1.com =A0 =A0 =A0user1
> > sa...@2.com =A0 user1
> > in...@2.com =A0 =A0user1
> > t...@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...@1.com =A0 =A0user1+%0
> sa...@2.com =A0 user1+%0
> in...@2.com =A0 user1+%0
> t...@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...@priv.onet.pl : a...@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...@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.

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

am 02.01.2008 21:01:05 von Andrzej Filip

Mike writes:

> On Jan 2, 2:47 pm, Andrzej Adam Filip wrote:
>> Mike 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...@1.com      user1
>> > sa...@2.com   user1
>> > in...@2.com    user1
>> > t...@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...@1.com    user1+%0
>> sa...@2.com   user1+%0
>> in...@2.com   user1+%0
>> t...@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@priv.onet.pl : anfi@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@brigette.fsf .hobby-site.com

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

am 02.01.2008 21:11:49 von sweeneym

On Jan 2, 2:47=A0pm, Andrzej Adam Filip wrote:
> Mike 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...@1.com =A0 =A0 =A0user1
> > sa...@2.com =A0 user1
> > in...@2.com =A0 =A0user1
> > t...@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...@1.com =A0 =A0user1+%0
> sa...@2.com =A0 user1+%0
> in...@2.com =A0 user1+%0
> t...@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...@priv.onet.pl : a...@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...@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.

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

am 02.01.2008 21:12:57 von sweeneym

On Jan 2, 2:47=A0pm, Andrzej Adam Filip wrote:
> Mike 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...@1.com =A0 =A0 =A0user1
> > sa...@2.com =A0 user1
> > in...@2.com =A0 =A0user1
> > t...@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...@1.com =A0 =A0user1+%0
> sa...@2.com =A0 user1+%0
> in...@2.com =A0 user1+%0
> t...@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...@priv.onet.pl : a...@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...@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.