Re: smtpd : reject with a message

2016-04-17 Thread Gilles Chehade
On Wed, Apr 13, 2016 at 06:14:36PM +, Peter Fraser wrote:
> Is there any method of added extra information when rejecting an email with
> smtpd
> 
> I am looking for an equivalent effect to the .REDIRECT or error  message in
> sendmail's virtualusertable
> 
> for example I had the following in sendmail's virtualusertable.
> 
> @thinkage.on.ca   error:5.1.1:553 " Please use 
> thinkage.ca not
> thinkage.on.ca"
> 
> and
> 
> t...@thinkage.ca  supp...@thinkage.ca.REDIRECT
> 

from aliases(5):

 error:code message
 
A status code and message to return.  The code must be 3 digits,
starting 4XX (TempFail) or 5XX (PermFail).  The message must be
present and can be freely chosen.

note that only single-line messages are supported (for now ?)


-- 
Gilles Chehade

https://www.poolp.org  @poolpOrg



Re: smtpd : reject with a message

2016-04-13 Thread Edgar Pettijohn
Sent from my iPhone

> On Apr 13, 2016, at 1:14 PM, Peter Fraser  wrote:
>
> Is there any method of added extra information when rejecting an email with
> smtpd
>
> I am looking for an equivalent effect to the .REDIRECT or error  message in
> sendmail's virtualusertable
>
> for example I had the following in sendmail's virtualusertable.
>
> @thinkage.on.caerror:5.1.1:553 " Please use thinkage.ca not
> thinkage.on.ca"
>
> and
>
> t...@thinkage.casupp...@thinkage.ca.REDIRECT
>

I don't think there is. You are probably better off opening a ticket on git
hub for a feature request.



smtpd : reject with a message

2016-04-13 Thread Peter Fraser
Is there any method of added extra information when rejecting an email with
smtpd

I am looking for an equivalent effect to the .REDIRECT or error  message in
sendmail's virtualusertable

for example I had the following in sendmail's virtualusertable.

@thinkage.on.ca error:5.1.1:553 " Please use thinkage.ca not
thinkage.on.ca"

and

t...@thinkage.casupp...@thinkage.ca.REDIRECT