PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > mailing.postfix.users > mail_spool_directory
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
mail_spool_directory

Réponse
 
LinkBack Outils de la discussion
Vieux 17/05/2006, 13h51   #1
alexpt@hotmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut mail_spool_directory

Dear all

i need to move spool dir of postfix to a new disk, i've put into
main.cf the paramater mail_spool_directory = /newdir but ... postfix
still park the mail into /var/spool/mail.

Checked with postconf the parameter that has been charged, checked
protection of the dir are the same of the old ...

someone could me about ?

Thanks in advance
alessandro

  Réponse avec citation
Vieux 17/05/2006, 15h41   #2
Greg Hackney
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: mail_spool_directory

alexpt@hotmail.com wrote:
> Dear all
>
> i need to move spool dir of postfix to a new disk, i've put into
> main.cf the paramater mail_spool_directory = /newdir but ... postfix
> still park the mail into /var/spool/mail.
>
> Checked with postconf the parameter that has been charged, checked
> protection of the dir are the same of the old ...
>
> someone could me about ?
>
> Thanks in advance
> alessandro


Could you post the output of "postconf -n" ? That might
in figuring out the problem.

--
Greg
  Réponse avec citation
Vieux 18/05/2006, 16h12   #3
alexpt@hotmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: mail_spool_directory

yes sure
Many thanks
Alessandro

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
always_bcc = internal@linuxto
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
delay_warning_time = 4h
inet_interfaces = all
mail_spool_directory = /home/mail #inserito da Piatti in data 16/5/06
dopo /var piena
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = linuxto, localhost.localdomain, localhost,
linuxto.iwata.to.it
myhostname = linuxto.iwata.to.it
mynetworks = 127.0.0.0/8 132.147.160.0/24 192.168.0.0/24 192.168.1.0/24
recipient_delimiter = +
relayhost = smtp.colt.net
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)


Greg Hackney wrote:
> alexpt@hotmail.com wrote:
> > Dear all
> >
> > i need to move spool dir of postfix to a new disk, i've put into
> > main.cf the paramater mail_spool_directory = /newdir but ... postfix
> > still park the mail into /var/spool/mail.
> >
> > Checked with postconf the parameter that has been charged, checked
> > protection of the dir are the same of the old ...
> >
> > someone could me about ?
> >
> > Thanks in advance
> > alessandro

>
> Could you post the output of "postconf -n" ? That might
> in figuring out the problem.
>
> --
> Greg


  Réponse avec citation
Vieux 20/05/2006, 03h14   #4
Greg Hackney
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: mail_spool_directory

Hello Alessandro,

Here is what I think may be wrong, this line here:

mail_spool_directory = /home/mail #inserito da Piatti in data 16/5/06

You can't put comments at the end of the string like you can in a shell script.
It would need to be done like this:

# inserito da Piatti in data 16/5/06
mail_spool_directory = /home/mail


--
Greg




  Réponse avec citation
Vieux 22/05/2006, 11h28   #5
alexpt@hotmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: mail_spool_directory

hi Greg
Sorry to disturb you, suggested modification as done but without
success, i'll include the new postconf ... hope you could me again
Thanks a lot
Alessandro

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
always_bcc = internal@linuxto
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
delay_warning_time = 4h
inet_interfaces = all
mail_spool_directory = /home/mail
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = linuxto, localhost.localdomain, localhost,
linuxto.iwata.to.it
myhostname = linuxto.iwata.to.it
mynetworks = 127.0.0.0/8 132.147.160.0/24 192.168.0.0/24 192.168.1.0/24
recipient_delimiter = +
relayhost = smtp.colt.net
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)

  Réponse avec citation
Vieux 22/05/2006, 14h55   #6
Greg Hackney
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: mail_spool_directory

alexpt@hotmail.com wrote:
> hi Greg
> Sorry to disturb you, suggested modification as done but without
> success, i'll include the new postconf ... hope you could me again
> Thanks a lot
> Alessandro
>
> alias_database = hash:/etc/aliases
> alias_maps = hash:/etc/aliases
> always_bcc = internal@linuxto
> append_dot_mydomain = no
> biff = no
> config_directory = /etc/postfix
> delay_warning_time = 4h
> inet_interfaces = all
> mail_spool_directory = /home/mail
> mailbox_command = procmail -a "$EXTENSION"
> mailbox_size_limit = 0
> mydestination = linuxto, localhost.localdomain, localhost,
> linuxto.iwata.to.it
> myhostname = linuxto.iwata.to.it
> mynetworks = 127.0.0.0/8 132.147.160.0/24 192.168.0.0/24 192.168.1.0/24
> recipient_delimiter = +
> relayhost = smtp.colt.net
> smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)



I'm sorry that I didn't notice this before, but it appears that "procmail"
is doing the final mailbox delivery, and not Postfix:

mailbox_command = procmail -a "$EXTENSION"

Take a look at the procmail configs.

--
Greg







  Réponse avec citation
Vieux 31/05/2006, 09h27   #7
alexpt@hotmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: mail_spool_directory

yes it is
procmail manage the delivery
i've build this procmailrc into /etc

SHELL=/bin/sh
MAILDIR=${HOME}/mail
LOGFILE=/var/log/procmail

and it seems to be running, into the log i'll find he procmail process
log, but the mail still be parked into /var/mail

the user dir /home/name/mail still exists with 777 mode protection, the
user it's the owner and users it's group

where am i in fall ?

Thansk again
alessandro


Greg Hackney wrote:
> alexpt@hotmail.com wrote:
> > hi Greg
> > Sorry to disturb you, suggested modification as done but without
> > success, i'll include the new postconf ... hope you could me again
> > Thanks a lot
> > Alessandro
> >
> > alias_database = hash:/etc/aliases
> > alias_maps = hash:/etc/aliases
> > always_bcc = internal@linuxto
> > append_dot_mydomain = no
> > biff = no
> > config_directory = /etc/postfix
> > delay_warning_time = 4h
> > inet_interfaces = all
> > mail_spool_directory = /home/mail
> > mailbox_command = procmail -a "$EXTENSION"
> > mailbox_size_limit = 0
> > mydestination = linuxto, localhost.localdomain, localhost,
> > linuxto.iwata.to.it
> > myhostname = linuxto.iwata.to.it
> > mynetworks = 127.0.0.0/8 132.147.160.0/24 192.168.0.0/24 192.168.1.0/24
> > recipient_delimiter = +
> > relayhost = smtp.colt.net
> > smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)

>
>
> I'm sorry that I didn't notice this before, but it appears that "procmail"
> is doing the final mailbox delivery, and not Postfix:
>
> mailbox_command = procmail -a "$EXTENSION"
>
> Take a look at the procmail configs.
>
> --
> Greg


  Réponse avec citation
Vieux 01/06/2006, 16h53   #8
Greg Hackney
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: mail_spool_directory

alexpt@hotmail.com wrote:
> procmail manage the delivery
> i've build this procmailrc into /etc
>
> SHELL=/bin/sh
> MAILDIR=${HOME}/mail
> LOGFILE=/var/log/procmail
>
> and it seems to be running, into the log i'll find he procmail process
> log, but the mail still be parked into /var/mail


I'm just taking guesses here... but is it possible that the
user's own .procmailrc file is taking precedence over the system's procmailrc file ?

I assume this might have something to do with the definition of "$(HOME)",
as to where procmail will look for the user's procmailrc files.

--
Greg
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 23h01.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,13011 seconds with 16 queries