Re: [vchkpw] Mail delivered to postmaster account
On Sep 14, 2004, at 9:44 PM, Jeremy Kitchen wrote: I apologize for my first statement, I wasn't aware that vpopmail was actually adding delivered-to headers now. It has for some time, it's only recently (within the past year) that it was updated to rewrite the header to simply show the email address (instead of [EMAIL PROTECTED]). -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
Re: [vchkpw] Mail delivered to postmaster account
> I just sent an email to [EMAIL PROTECTED] and saw that it had the > following DTLINE header: > Delivered-To: [EMAIL PROTECTED] > > vdelivermail had to have added that, because qmail-local doesn't write > the Delivered-To or Return-Path headers when passing to a program > delivery, it supplies them in the environment variables RPLINE and > DTLINE. > > Now, older aliases were just .qmail files with Maildir deliveries. > qmail-local DOES write the Delivered-To and Return-Path headers in > maildir, mbox, and forward deliveries. You are absolutely right. The postmaster account doesn't have any .qmail, so the delivery was done by vdelivermail and the Devlivered-To was added by vdelivermail WITHOUT the "domainname-" prefix. The regular account that I was doing testing on actually has a .qmail-* with Mildir delivery, so the delivery was done by qmail-local and the Delivered-To was added by qmail-local WITH the "domainname-" prefix. Thanks again for spending the time looking into this.
Re: [vchkpw] Mail delivered to postmaster account
On Tuesday 14 September 2004 11:45 pm, Martin Kong wrote: > > > Delivered-To: [EMAIL PROTECTED] > > > > that particular domain is in the 'locals' file. > > > > > Delivered-To: [EMAIL PROTECTED] > > > > that particular domain is in virtualdomains. > > Thanks for the quick response. I should have explained it a bit better. I > understand how qmail-send rewrites the envelope recipients for virtual > hosts and how vpopmail implements the vitural host (combination of > virtualhost and users). I expected mail to postmaster will also have the > "domainname.com-" prefix like ok, I think I know the cause of this. I just sent an email to [EMAIL PROTECTED] and saw that it had the following DTLINE header: Delivered-To: [EMAIL PROTECTED] vdelivermail had to have added that, because qmail-local doesn't write the Delivered-To or Return-Path headers when passing to a program delivery, it supplies them in the environment variables RPLINE and DTLINE. Now, older aliases were just .qmail files with Maildir deliveries. qmail-local DOES write the Delivered-To and Return-Path headers in maildir, mbox, and forward deliveries. Therefore, you probably have an alias that is a direct maildir delivery, rather than a forward delivery. Also, if you do have the forward delivery, you probably have two Delivered-To lines, one added by qmail-local when it did the forward delivery, and one added by vdelivermail when it finally delivered to the maildir. I just tested this by sending an email to [EMAIL PROTECTED] (which is a .qmail file with '&[EMAIL PROTECTED]' as its only delivery instruction) and sure enough, I see two delivered-to lines, as well as a Return-Path line: Return-Path: <[EMAIL PROTECTED]> Delivered-To: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] For reference, we're using vpopmail 5.5.1 on our server. So, hopefully that gives you something to look for :) I apologize for my first statement, I wasn't aware that vpopmail was actually adding delivered-to headers now. -Jeremy -- Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc. [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail pgpJZCQBfwkvQ.pgp Description: PGP signature
Re: [vchkpw] Mail delivered to postmaster account
> > Delivered-To: [EMAIL PROTECTED] > > that particular domain is in the 'locals' file. > > > Delivered-To: [EMAIL PROTECTED] > > that particular domain is in virtualdomains. Thanks for the quick response. I should have explained it a bit better. I understand how qmail-send rewrites the envelope recipients for virtual hosts and how vpopmail implements the vitural host (combination of virtualhost and users). I expected mail to postmaster will also have the "domainname.com-" prefix like Delivered-To: [EMAIL PROTECTED] I have tested this on a few postmaster accounts on my server (different virtual hosts) and they all just show Delivered-To: [EMAIL PROTECTED] So the "domainname.com-" prefix is missing. The /var/qmail/locals is empty. Here are the software I'm using: netqmail 1.05 (with LWQ installation) SMTP antivirus patch vpopmail 5.4 qmail scanner 1.23 (with SpamAssassin 2.64 and ClamAntivirus 0.75.1) Everthing is working fine, I'm just curious as to why postmaser is different in this aspect. Thanks and Regards,
Re: [vchkpw] Mail delivered to postmaster account
On Tuesday 14 September 2004 10:20 pm, Martin Kong wrote: > I'm using vpopmail for virtual hosting. I notice that mails delivered to > postmaster account has > > Delivered-To: [EMAIL PROTECTED] that particular domain is in the 'locals' file. > while other accounts has > > Delivered-To: [EMAIL PROTECTED] that particular domain is in virtualdomains. man qmail-send to understand how qmail-send rewrites envelope recipients for virtualdomains. -Jeremy -- Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc. [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail pgpRE4o91S2F8.pgp Description: PGP signature
[vchkpw] Mail delivered to postmaster account
I'm using vpopmail for virtual hosting. I notice that mails delivered to postmaster account has Delivered-To: [EMAIL PROTECTED] while other accounts has Delivered-To: [EMAIL PROTECTED] Just curious as to why... Thanks and Regards,