Further testing of this configuration has lead me to another question. By 
removing the line "verify_only" the bounce is no longer generated, and the 
message is not returned to the sender. This actually is the desired behaviour ( 
by Sr. Management ), however I am perplexed as to what  exactly happens to the 
message from the sender. 

Exim accepts the message and a Message ID is issued. I see this in the logs:

exigrep 1T7Pjr-00020Q-A4 /var/log/exim/mainlog
2012-08-31 07:50:32 1T7Pjr-00020Q-A4 <= [email protected] H=localhost () 
[127.0.0.1] P=smtp S=1083
2012-08-31 07:50:32 1T7Pjr-00020Q-A4 => yyyy <[email protected]> 
R=vacation_expired_director_no_message T=vacation_expired_autoreply_nomessage
2012-08-31 07:50:32 1T7Pjr-00020Q-A4 Completed

HERE is log of the return message notifying the user that the account is 
expired.

2012-08-31 07:50:32 1T7Pk8-00020V-A2 <= <> R=1T7Pjr-00020Q-A4 U=courier P=local 
S=515
2012-08-31 07:50:32 1T7Pk8-00020V-A2 => [email protected] R=dnslookup 
T=remote_smtp H=gmail-smtp-in.l.google.com [209.85.225.27] 
X=TLSv1:ECDHE-RSA-RC4-SHA:128
2012-08-31 07:50:32 1T7Pk8-00020V-A2 Completed

The incoming message can't be delivered because the account is no longer there, 
so I'm guessing that the message just gets dropped on the floor. True? 
Am I violating any RFC requirements by doing this? The sender will get a reply 
telling them that the account is expired and no longer functional, but it seems 
kinda misleading to NOT return the message to the sender as undelivered.
/sd

Steve Devine
Collaborative Systems & Support
Information Technology Services
Michigan State University


________________________________________
From: Devine, Steven (sd)
Sent: Thursday, August 23, 2012 9:57 PM
To: Todd Lyons
Cc: Exim ‎[[email protected]]‎
Subject: RE: [exim] Auto response and Bounces

Thanks Todd, that seems to do the trick.
I thought I had tried that - leave it to a MSU alum to set me straight. :)
/sd
________________________________________
From: Todd Lyons [[email protected]]
Sent: Thursday, August 23, 2012 4:27 PM
To: Devine, Steven (sd)
Cc: Exim ‎[[email protected]]‎
Subject: Re: [exim] Auto response and Bounces

On Thu, Aug 23, 2012 at 11:58 AM, Devine, Steven (sd) <[email protected]> wrote:
> We are in the process of expiring accounts and Sr. Management would like it 
> if we could return a autoreply (custom per user like a vacation message) to 
> the sender.
> I have been able to get this to work by using this:
>
> [in the routers section:]
> vacation_expired_director:
> driver = accept
> verify_only

Do you still get the bounce if you remove the verify_only?


> Michigan State University

I'm an MSU grad too.  Of course, that's McNeese State University, but
it's close, right?  ;-)    I kid, I kid, my MSU is 1/6 the size of
your MSU.

...Todd
--
The total budget at all receivers for solving senders' problems is $0.
 If you want them to accept your mail and manage it the way you want,
send it the way the spec says to. --John Levine

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to