From: Ralf Hildebrandt on
* Aravind Divakaran <aravind.divakaran(a)yukthi.com>:

> $SENDMAIL "$@" <in.$$

That must be

$SENDMAIL -i "$@" <in.$$

--
Ralf Hildebrandt
Geschäftsbereich IT | Abteilung Netzwerk
Charité - Universitätsmedizin Berlin
Campus Benjamin Franklin
Hindenburgdamm 30 | D-12203 Berlin
Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
ralf.hildebrandt(a)charite.de | http://www.charite.de


From: "Aravind Divakaran" on

> * Aravind Divakaran <aravind.divakaran(a)yukthi.com>:
>
>> $SENDMAIL "$@" <in.$$
>
> That must be
>
> $SENDMAIL -i "$@" <in.$$

Yes we have to provide -i option since we are reading the data from the file.

Rgds,

Aravind M D

From: LuKreme on
On 17-Jul-2010, at 00:55, Aravind Divakaran wrote:
>
> ####### Changed From Original Script to obtain From address #########
>
> from_address=`grep -m 1 "From:" in.$$ | cut -d "<" -f2 | cut -d ">" -f1 |
> cut -d ":" -f2 | cut -d "@" -f2`
>
> if [ $from_address == $domain1 ]; then


Wouldn't it make more sense, logically, to have simply set disclaimer.txt based on the domain (maybe even with a case/esac block) and then have a single call altermime? It would certainly make adding more domains more strightforward.

Minor point



--
'I thought we could do it without anyone getting hurt. By using our
brains.' 'Can't. History don't work like that. Blood first, then
brains.' 'Mountains of skulls,' said Truckle. 'There's got to be a
better way than fighting,' said Mr Saveloy. 'Yep. Lots of 'em. Only
none of 'em work.' --Interesting Times

From: "Adrian P. van Bloois" on
* El Fri, Jul 16, 2010 at 04:30:27PM +0200, escribiste:
> * Adrian P. van Bloois <adrian(a)accu.uu.nl>:
>
> > > > Can I automagically attach a different disclaimer for each domain?
> > > > if so, how? Are there different options?
> > >
> > > Which program is appending the single disclaimer now?
>
> > None at al. :-)
>
> Well, you can use altermime to add disclaimers, either directly (see
> my book) or from within amavisd-new
But I'm using MailScanner instead.
>
> --
> Ralf Hildebrandt
> Geschäftsbereich IT | Abteilung Netzwerk
> Charité - Universitätsmedizin Berlin
> Campus Benjamin Franklin
> Hindenburgdamm 30 | D-12203 Berlin
> Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
> ralf.hildebrandt(a)charite.de | http://www.charite.de
>

--
Adrian P. van Bloois
Postbus 2575 email: adrian(a)accu.uu.nl
3500 GN Utrecht voice: +31-(0)-30-68-94649
The Netherlands fax: +31-30-68-94649

The whole point of cooking is to get as much flavour out of the
ingredients as possible.
-- Delia Smith

From: Jerry on
On Mon, 19 Jul 2010 12:38:56 +0200
Adrian P. van Bloois <adrian(a)accu.uu.nl> articulated:

> But I'm using MailScanner instead.

My condolences.

--
Jerry ✌
postfix-user(a)seibercom.net

_____________________________________________________________________
TO REPORT A PROBLEM see http://www.postfix.org/DEBUG_README.html#mail
TO (UN)SUBSCRIBE see http://www.postfix.org/lists.html

Smoking Prohibited. Absolutely no ifs, ands, or butts.