Im sure that someone will correct me if im wrong, but when SMTP-AUTH
is used you always end up with the authenticated user in the headers
with something like [EMAIL PROTECTED]@xxx.xxx.xxx.xxx

cheers
Shane 

> -----Original Message-----
> From: Martin Petz [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, 2 January 2005 4:26 AM
> To: toaster@shupp.org
> Subject: [toaster] restricting outgoing mail address to account
> 
> To be honest, I am fairly new to qmail-toaster.
> However, I have some trouble finding a solution to restrict 
> relaying of emails.
> Is it possible to restrict relaying of emails to messages, 
> where the sender's address is the same as the account (used 
> for smtp-auth)??
> I just want to prevent 2 scenarios:
> 1. [EMAIL PROTECTED] sends a mail pretending to be 
> [EMAIL PROTECTED]
> 2. [EMAIL PROTECTED] pretends to be [EMAIL PROTECTED]
> Where both domains are virtual domains on my server.
> Or is there a possibility to always have the address used for 
> smtp-auth in the mail-header??
> 
> Thanks in advance,
> Martin Petz
> 
> 

Reply via email to