|
|
|
|
|
|
| Author |
Message |
Guest
|
Posted: Mon Feb 28, 2005 12:35 pm Post subject:
Re: question about virtual alias
|
|
|
On Mon, 28 Feb 2005 14:29:17 +0100
tp22a@softhome.net wrote:
| Quote: | With the above entries the mailflow is then:
unfiltered --> aaa.bbb.ccc.ddd --> cleanup --> qmgr --> lmtp --> amavis --> pre-cleanup --> ...
Or is it the following way (which would not be what I wanted):
unfiltered --> aaa.bbb.ccc.ddd --> cleanup --> qmgr --> lmtp --> pre-cleanup --> amavis --> ...
|
AHHA!!
The second one would be the one I would like and the first one is the one I would NOT like. |
|
| Back to top |
|
 |
Victor Duchovni *nix forums Guru
Joined: 28 Feb 2005
Posts: 2927
|
Posted: Mon Feb 28, 2005 12:36 pm Post subject:
Re: question about virtual alias
|
|
|
On Mon, Feb 28, 2005 at 02:29:17PM +0100, tp22a@softhome.net wrote:
| Quote: | In my master.cf I have the following entry for amavis:
# AV scan filter
smtp-amavis unix - - n - 2 lmtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
|
Why would lmtp( pay attention to smtp_<mumble> parameters???
| Quote: | Could I basicly hook up the pre-cleanup in this entry and leave all the other with no "-o cleanup_service_name" entry?
|
No, this is a delivery agent (mail going out of Postfix) not a submission
service (mail coming into Postfix). The cleanup service override is used
when needed with smtpd( , pickup( and qmqpd( .
The entire problem is addressed much better in 2.1 and later via
receive_override_options (and it that is not enough, use multiple
Postfix instances, search the archives, you don't need to ask here).
--
Viktor.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomo@postfix.org?body=unsubscribe%20postfix-users> |
|
| Back to top |
|
 |
Guest
|
Posted: Mon Feb 28, 2005 12:46 pm Post subject:
Re: question about virtual alias
|
|
|
On Mon, 28 Feb 2005 08:36:01 -0500
Victor Duchovni <Victor.Duchovni@MorganStanley.com> wrote:
| Quote: | On Mon, Feb 28, 2005 at 02:29:17PM +0100, tp22a@softhome.net wrote:
In my master.cf I have the following entry for amavis:
# AV scan filter
smtp-amavis unix - - n - 2 lmtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
Why would lmtp( pay attention to smtp_<mumble> parameters???
Ouch. This was left there from the time, when I used smtp instead of lmtp.  |
| Quote: | Could I basicly hook up the pre-cleanup in this entry and leave all the other with no "-o cleanup_service_name" entry?
No, this is a delivery agent (mail going out of Postfix) not a submission
service (mail coming into Postfix). The cleanup service override is used
when needed with smtpd( , pickup( and qmqpd( .
Okay. I understand that now. |
| Quote: | The entire problem is addressed much better in 2.1 and later via
receive_override_options (and it that is not enough, use multiple
Postfix instances, search the archives, you don't need to ask here).
Will do. Sometimes is hard to read stuff not written in my native language. When I ask, then I mostly get an answer and I can interactive get to my point. Just reading a document and having no one to ask is sometime not very easy. Anyway... Thanks for pointing me to the correct direction. |
| Quote: | Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
mailto:majordomo@postfix.org?body=unsubscribe%20postfix-users
|
|
|
| Back to top |
|
 |
mouss *nix forums Guru
Joined: 27 Feb 2005
Posts: 1947
|
Posted: Mon Feb 28, 2005 9:30 pm Post subject:
Re: question about virtual alias
|
|
|
Victor Duchovni wrote:
| Quote: | On Mon, Feb 28, 2005 at 12:50:49PM +0100, tp22a@softhome.net wrote:
you should use pre-cleanup in pickup. otherwise, address manipulations
will be applied twice for mail submitted by sendmail (once by pickup and
once by 127.0.0.1:10025), which may cause problems with virtual aliases
and other things.
If I do that, then I get exactly this "user unknow" error.
The advice is wrong unless you also set a content_filter for pickup.
If you don't need/want to scan locally submitted mail, you must not
direct pickup at "pre-cleanup".
ahem? so it's write to direct both pickup and 127.1:10025 to cleanup, |
which means running through virtual aliases twice? |
|
| Back to top |
|
 |
Magnus Bäck *nix forums Guru
Joined: 26 Feb 2005
Posts: 1366
|
Posted: Mon Feb 28, 2005 9:46 pm Post subject:
Re: question about virtual alias
|
|
|
On Monday, February 28, 2005 at 23:30 CET,
mouss <usebsd@free.fr> wrote:
| Quote: | Victor Duchovni wrote:
The advice is wrong unless you also set a content_filter for pickup.
If you don't need/want to scan locally submitted mail, you must not
direct pickup at "pre-cleanup".
ahem? so it's write to direct both pickup and 127.1:10025 to cleanup,
which means running through virtual aliases twice?
|
What's right depends on the context. In this case, virtual rewriting
should be disabled for the cleanup( used by the submission daemon
(smtpd( or pickup( ) if content filtering is enabled for the same
daemon. If filtering is disabled, virtual rewriting must be enabled.
--
Magnus Bäck
magnus@dsek.lth.se |
|
| Back to top |
|
 |
mouss *nix forums Guru
Joined: 27 Feb 2005
Posts: 1947
|
Posted: Mon Feb 28, 2005 9:52 pm Post subject:
Re: question about virtual alias
|
|
|
mouss wrote:
| Quote: |
The advice is wrong unless you also set a content_filter for pickup.
and conversely, the advice is right unless you wanna do something else. |
after all, it's all about default configs vs special configs...
| Quote: | If you don't need/want to scan locally submitted mail, you must not
direct pickup at "pre-cleanup".
and thus scanning the same message twice?
ahem? so it's write to direct both pickup and 127.1:10025 to cleanup,
which means running through virtual aliases twice?
|
I meant "it's right" and not "it's write". |
|
| Back to top |
|
 |
mouss *nix forums Guru
Joined: 27 Feb 2005
Posts: 1947
|
Posted: Mon Feb 28, 2005 9:57 pm Post subject:
Re: question about virtual alias
|
|
|
Magnus Bäck wrote:
| Quote: | What's right depends on the context. In this case, virtual rewriting
should be disabled for the cleanup( used by the submission daemon
(smtpd( or pickup( ) if content filtering is enabled for the same
daemon. If filtering is disabled, virtual rewriting must be enabled.
|
whatever is the theory, the situation here depends on nothing. if you
use virtual aliasing, canonical stuff, ... in both pickup and in the
post-filter postfix, you'll run into problems. If I'm mistaken, I'm
ready to get corrected, but I don't see why one should do virtual
aliasing/addr manips/... at both pickup and in the after filter smtpd. |
|
| Back to top |
|
 |
Magnus Bäck *nix forums Guru
Joined: 26 Feb 2005
Posts: 1366
|
Posted: Mon Feb 28, 2005 10:03 pm Post subject:
Re: question about virtual alias
|
|
|
On Monday, February 28, 2005 at 23:57 CET,
mouss <usebsd@free.fr> wrote:
| Quote: | Magnus Bäck wrote:
What's right depends on the context. In this case, virtual rewriting
should be disabled for the cleanup( used by the submission daemon
(smtpd( or pickup( ) if content filtering is enabled for the same
daemon. If filtering is disabled, virtual rewriting must be enabled.
whatever is the theory, the situation here depends on nothing. if you
use virtual aliasing, canonical stuff, ... in both pickup and in the
post-filter postfix, you'll run into problems.
|
Possibly, IF CONTENT FILTERING IS ENABLED for mail injected via
sendmail(1). This was not the case with the OP, hence his problem.
Pay attention.
| Quote: | If I'm mistaken, I'm ready to get corrected, but I don't see why one
should do virtual aliasing/addr manips/... at both pickup and in the
after filter smtpd.
|
There's hardly any reason to do so, but in many cases it doesn't hurt
either.
--
Magnus Bäck
magnus@dsek.lth.se |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Sat Jan 10, 2009 3:20 am | All times are GMT
|
|
Loans | Internet Advertising | Guitar Lessons | Myspace Backgrounds | Aishwarya Rai
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|