From: db (no email)
Date: Thu Jun 02 2005 - 20:11:54 EDT
On Wednesday 01 June 2005 19:49, you wrote:
> > And in master.cf:
> > scan unix - - n - 10 smtp
> > -o smtp_data_done_timeout=1200 #?
>
> since you're sending mail to amavis, use a larger timeout (default is
> 600 if my memory is good). this is because amavis will take sometime to
> scan the message.
Ah ok.
> > -o smtp_send_xforward_command=yes
> >
> > localhost:10025 inet n - n - 10 smtpd
>
> use 127.0.0.1 instead of localhost
Roger.
> > -o smtpd_client_restrictions= # Don't do those lookups again
>
> you can also add
> -o smtpd_helo_restrictions=
> the purpose of these is to avoid applying those restrictions (in case
> you have them in your main.cf).
I think smtpd_helo_restrictions= is empty by default and I haven't changed
that, so that's why I didn't add it.
> > Are local mail scanned? I have seen some set
> > local_recipient_maps=
> > in localhost:10025, so wondered if local mail was not scanned? Which
> > would in fact be the desired behavior, since the mail will be scanned
> > again after the forward from /etc/alias.
>
> if your setup is all virtual, why care about /etc/aliases?
In case someone sends a mail to postmaster at My_IP
> > I of course want to disable checks on 10025 that has already been done on
> > 25, but in order to determine if the mail is "virtual" and thereby for
> > maildrop is has to lookup the mail address again or how does that work?
>
> relay_domains and virtual_[alias|mailbox]_domains tell whether an email
> is to be delivered through relay or virtual. depending on your setup,
> you may or may not need a lookup to determine where the mailbox is and
> which uid/gid to use.
> > Lines with #? at the end are added because they were there in the
> > tutorials, but I don't know why?
>
> is the above enough?
Indeed :-D You have been very helpful thanks!
Best regards
db
|
|
|