Look at that, the little diff actually made it! ;)
I've tried that solution before, but then it didn't even recieve mail at all 
after..hehe

Thanks! :)

.Raven



> > I got a program running first when mail arrives, and returns 100 if m=
ail
> > should not be delivered and prossessing the .qmail-file stoppes.
> > This if fair enought, but I want the mail to bounce back to sender if=
it
> > was not delivered.
>=20
> Is this running from .qmail-default or another .qmail-*? If it's anothe=
r
> file this can be an explanation.
>=20
It's running from the file /home/vpopmail/domain/user/.qmail=20
(In the domain/.qmail-default it's okey, but it has to be user-spesific..=
)


> > Is there any way to say in the domain/user/.qmail-file that "If
> > something, then bouche, else deliver the mail to the Maildir"?
>=20
> Yep, return 100 (and some bounce text) for bounce - 0 for delivery.
>=20
And how exactly would I put the bounce-text?

> Are you using vpopmail < 5.3.10? There's a small bug in vdelivermail, I=
t
> fails to catch return code 100, instead treating it as 111 (temp error)=
I
> made a patch against 5.3.9, don't know how well it applies to other
> versions, but it's a oneliner, should be easy to fix by hand :)
> http://fmail.dk/stuff/vdeliver-command-return-100.diff
>=20
Actually I've just upgraded to 5.2.1 to make the user-qmail-thing work.
As I understood this is the latest stable version, and as a mailserver it=
has to be stable.


Hope this helps...

/Anders

Yes, thank you! :)

Reply via email to