Grokbase
Topics Posts Groups | in
x
[ help ]

mouss (m...@netoyen.net)

Profile | Posts (1)

User Information

Display Name:mouss
Partial Email Address:m...@netoyen.net
Posts:
1 total
1 in CentOS

5 Most Recent

1) mouss Re: THANKS - Re: [CentOS] [OT] List of all email users
| +1 vote
if the list is huge, you may run into problems. better use a mailing-list.
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Jussi Hirvi wrote:
> Thanks Mouss and others. I have now more than enough to get on with.
>
> mouss ([email protected: m...@netoyen.net]) kirjoitteli (2.11.2008 19:39):
>> why comma? isn't LF better (one user per line)?
>
> LF or comma, it doesn't matter much. I said comma, because I am going to
> utilize the list to build one huge alias "my_email_customers". :-)
>

if the list is huge, you may run into problems. better use a mailing-list.
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
2) mouss Re: [CentOS] Delete all mail users data (mail server)
| +1 vote
Roberto Pereyra a écrit : delete files from cur/ and new/ subdirs is enough. deleting index files...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Roberto Pereyra a écrit :
> Hi
>
> Please I would like to delete all users date mail (not accounts) in my
> mail server box.
>
> I using Centos 5 and Virtualmin with postifx (maildir) and dovecot and
> sasl auth.
>
> Once I erased simply the files in the maildir folders and broke the
> dovecot setup (dovecot cache or index).
>
> Which is the correct way of doing it?
>


delete files from cur/ and new/ subdirs is enough. deleting index files
is good but dovecot will regenerate them anyway.

_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
3) mouss Re: [CentOS] ls and rm: "argument list too long"
| +1 vote
Jussi Hirvi a écrit : I doubt this. "argument list too long" is a shell error, and in your command...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Jussi Hirvi a écrit :
> Since when is there a limit in how long directory listings CentOS can show
> (ls), or how large directories can be removed (rm). It is really annoying to
> say, for example
>
>     rm -rf /var/amavis/tmp
>
> and get only "argument list too long" as feedback.


I doubt this. "argument list too long" is a shell error, and in your
command the shell doesn't see many arguments.

I guess you want to remove amavisd-new temp files and you did
rm -rf /var/amavis/tmp/*

In this case, the shell would need to replace that with
rm -rf /var/amavis/tmp/foo1 /var/amavis/tmp/foo2 ....
in which case, it needs to store these arguments in memory. so it would
need to allocate enough memory for all these before passing them to the
rm command. so a limitation is necessary to avoid consuming all your
memory. This limitation exists on all unix systems that I have seen.


>
> Is there a way to go round this problem?
>

Since amavisd-new temp files have no spaces in them, you can do
for f in in /var/amavis/tmp/*; do rm -rf $f; done
(Here, the shell does the loop, so doesn't need to expand the list at
once).

alternatively, you could remove the whole directory (rm -rf
/var/amavis/tmp) and recreate it (don't forget to reset the owner and
permisions).




> I have CentOS 5.2.
>
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
4) mouss Re: [CentOS] Postfix problem
| +1 vote
Paolo Supino a écrit : If you find that it's sendmail, use alternatives to set the MTA to postfix...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Paolo Supino a écrit :
>
> Hi
> I didn't think of checking if Sendmail is the one sending the email or
> not. I will have to check this out.
> I will only have access to this server next Wednesday. So until then I
> can't check anything or post anything ...
>


If you find that it's sendmail, use alternatives to set the MTA to
postfix instead (and stop Sendmail as you don't need it anymore, and
having two different MTAs on a box generally results in surprises).

if that's not the problem, ask on the postfix-users list. There show the
output of 'postconf -n' and relevant logs. you can hide private domains
and IPs but do so coherently (use example.com, example.org, example.net
or whateveryouwant.example for domains, and use 192.0.2.* for "public"
IPs. but make your substitution a "one to one" mapping).
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
5) mouss Re: [CentOS] Postfix problem
| +1 vote
Paolo Supino a écrit : Prove that it is postfix that does so, and not Sendmail. show logs. ...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Paolo Supino a écrit :
> Hi
>
> I have a CentOS 4.2 server with postfix. The problem I'm having is
> that postfix insists on using $myhostname in the from field even if I

Prove that it is postfix that does so, and not Sendmail. show logs.


> instruct it to use $mydomain in /etc/postfix/main.cf or even if I hard
> code the domain name into $myorigin. What am I missing?
>
>
> BTW: postconf shows output shows that $myorigin is configured to use
> $mydomain,  or the domain name itself ...
>


_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos

spacer
Profile | Posts (1)
Home > People > mouss