Grokbase
Topics Posts Groups | in
x
[ help ]

mouss (m...@netoyen.net)

Profile | Posts (1)
1) mouss Re: [CentOS] DNS resolver over IPv6
| +1 vote
Kai Schaetzl a =E9crit : it's no more deprecated (should we say: it is "re-precated"? :). I don't...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Kai Schaetzl a =E9crit :
> Robert Moskowitz wrote on Mon, 29 Dec 2008 17:21:48 -0500:
> =

>> nslookup
> =

> is deprecated. =


it's no more deprecated (should we say: it is "re-precated"? :). I don't
have a pointer right now (but run it and you should no more get a
warning...).




> Did you try with host? May give you the same result, but, well =

> ..
> =

>> I setup /etc/resolv.conf as shown at: =

>> http://docsun.cites.uiuc.edu/sun_docs/C/solaris_9/SUNWaadm/SYSADV5/p13.h=
tml =

>> (the only hit I got on configuring resolv.conf for an IPv6 DNS server).
> =

> You used ::1 then?
> =

> Kai
> =


_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
2) mouss Re: [CentOS] IMAP rule problem
| +1 vote
Anne Wilson a écrit : that would require surgery. you could try "another brain's output" instead...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Anne Wilson a écrit :
> I have a problem with local mail on this netbook. I'm
> sure it's something obvious, but I could use another
> brain's input.

that would require surgery. you could try "another brain's output"
instead ;-p

>
> Fri, 2008-11-28 13:15:27 - TCP Packet -
> Source:192.168.0.7,58711 Destination:88.97.17.41,143
> - [IMAP rule match]
> Fri, 2008-11-28 13:15:27 - TCP Packet -
> Source:192.168.0.7,58711
> Destination:192.168.0.40,143 - [IMAP rule not match]
>
> The first one delivers mail through my Roaming profile,
> using googlemail's smtp. The second one sends to my
> own smtp server for local delivery, something that's
> happening all the time from other boxes.
>

port 143 is for IMAP, which has nothing to do with smtp.

> Since my brain is reluctant to get in gear over this,
> where should I be looking for the problem?

but what is the problem exactly?

_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
3) 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
4) 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
5) 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
6) 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
7) 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
8) mouss Re: [CentOS] Sendmail and pmtu discovery
| +1 vote
Kai Schaetzl a écrit : It's not per device. It's a method to improve performances....
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Kai Schaetzl a écrit :
> Ralph Angenendt wrote on Tue, 14 Oct 2008 17:24:08 +0200:
>
>> If you don't know the smallest MTU on the path to the mail server, you
>> might not be able to send packets over that path, especially if DF is
>> set.
>
> But if it's not set? Shouldn't most devices have it not set?
>

It's not per device. It's a method to improve performances.
http://www.znep.com/~marcs/mtu/


_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
9) mouss Re: [CentOS] Sendmail and pmtu discovery
| +1 vote
Sean Carolan a écrit : Consider setting a small MTU (or MSS, ....) for the borked networks instead...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Sean Carolan a écrit :
> We have an issue with some customers who refuse to accept ICMP traffic
> to their mail servers. It seems that they have put Mordac, preventer
> of information services in charge of their firewall policy
> (http://en.wikipedia.org/wiki/List_of_minor_characters_in_Dilbert#Mordac).
>
> My mail logs are showing that customers who specifically disallow ICMP
> traffic have many "Connection Reset" entries in our logs:
>
> Oct 14 08:00:50 mailsrv sendmail[2024]: m9ED0Yf5002021:
> to=<customername@customer.org>, delay=00:00:16, xdelay=00:00:16,
> mailer=esmtp, pri=42476, relay=mail.customer.org. [XX.XX.XX.XX],
> dsn=4.0.0, stat=Deferred: Connection reset by mail.customer.org.
>
> I have disabled pmtu discovery on our routers as well as on all our
> outbound mail servers. Is there anything else I can do on our side to
> help the situation?


Consider setting a small MTU (or MSS, ....) for the borked networks
instead of changing your setup globally. something like

ip route add 192.0.2.0/24 via 10.0.0.1 mtu 1000







_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
10) mouss Re: [CentOS] my postfix ignores myhostname parameter
| +1 vote
David Hlá�ik a écrit : I know you're testing. but once you get a "stable" config, restart is...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
David Hlá�ik a écrit :
> Hello guys,
>  
> I do not know how it is posible :
>  
> *vi /etc/postfix/main.cf <http://main.cf>*
>  
>  
> # INTERNET HOST AND DOMAIN NAMES
> #
> # The myhostname parameter specifies the internet hostname of this
> # mail system. The default is to use the fully-qualified domain name
> # from gethostname(). $myhostname is used as a default value for many
> # other configuration parameters.
> #
> #myhostname = host.domain.tld
> myhostname = mail.hlacik.eu
>  
> *service postfix restart*
>  

I know you're testing. but once you get a "stable" config, restart is
often unnecessary. in most cases a 'postfix reload' is enough (and even
that isn't necessary in general, as most postfix services are relatively
short lived and will reread the conf at some time). of course, if you
change an IP:port, ..., you need to restart.

> [[email protected: r...@sx1] postfix]# postconf -d myhostname
> *myhostname = sx1.labs.hlacik.eu*
>  

the 'd' in "-d" stands for "default". Use

# postconf myhostname
or
# postconf -n myhostname
or
# postconf -h myhostname

instead.

>  
> What is wrong??

nothing, except that you forgot to RTFM ;-p




_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
11) mouss Re: [CentOS] sudo
| +1 vote
centos@unixplanet.biz a écrit : $ man sudo When - is used, it must be specified as the last su...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
centos@unixplanet.biz a écrit :
> Hi
>
> Biz_User needs to switch to Sales_User, and I tried following in
> sudoers:
> Biz_User ALL=(Sales_User) ALL
>
> but I get following error when I run sudo su - Sales_User
>
> "Sorry, user Biz_User is not allowed to execute '/usr/bin/su -
> Sales_User'
> as root on Server_Name"


$ man sudo
...
           When - is used, it must be specified as the last su option.
The other forms (-l and --login) do not have this
restriction.


>
> I know that if I add root in allowed users list, I can switch
> to other user , but in that way user can switch to root as well.
>
> %Biz_Users ALL=(Sales_User,root) ALL
>
> any better idea ?

_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
12) mouss Re: [CentOS] NameVirtualHost and CGI Problems
| +1 vote
Michael Peterson a écrit : No, the ':80' is ok. Are you talking about IP based or name based...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Michael Peterson a écrit :
>> Michael Peterson wrote on Thu, 09 Oct 2008 16:09:54 -0500:
>>
>>     
>>> You need to remove the :80 in the VirtualHost declarations that contains
>>> Servername entries.
>>>       

No, the ':80' is ok.
>> No, that's perfectly ok and recommended. His problem was that he was using
>> a virtual host without a ServerName directive.
>>     
> I run a Virtual Host entry without a ServerName directive and have been
> through several releases of CentOS and Apache and all works fine for me.
>   


Are you talking about IP based or name based virtual hosts (single IP,
multiple vhosts)?

if using name based vhosts, Apache needs to know which config to server
for which vhost. In the case of multiple names for a single IP,
Servername is here for that.

_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
13) mouss Re: [CentOS] For newcomers to the mailing list.
| +1 vote
6. try reading RFC 1855 ("Netiquette Guidelines"): http://rfc.net/rfc1855.html > [snip]...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
MHR wrote:
> On Thu, Oct 2, 2008 at 5:28 AM, <vandaman2002-rt@yahoo.co.uk> wrote:
>> 1. Don't top post.
> Bottom post instead.
>
>> 2. Don't hijack another thread with new unrelated info.
> Create a new thread for a new topic.
>
>> 3. Trim your responses.
> Leave in the attribution lines of any included previous posts, but
> leave out anything that is not germane to your response, and it is
> safe to delete prior posters' signatures and that CentOS mailing list
> tag at the bottom (it will get appended anyway). Signatures and the
> CentOS list tag are called CLUTTER when left in from a prior post.
>
>> 4. Turn off html in your mail client.
> Amen to that, including signatures.
>
>> 5. Try and do some basic google searches on your problem.
> We realize that sometimes this is tricky - I have had hit and miss
> success on some things, direct bulls-eyes on others, but at least give
> it a shot (or four) BEFORE you post to the list.

6. try reading RFC 1855 ("Netiquette Guidelines"):

http://rfc.net/rfc1855.html



>
>> Quoted from:
>> http://www.centos.org/modules/tinycontent/index.php?id=16
> Annotations liberally added here by:
> [snip]
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
14) mouss Re: [CentOS] OT: Migration from Evolution to Thunderbird (Thunderbird mbox files)
| +1 vote
If it's on imap, then forget about TB mbox files. the messages are on the server (TB can cache...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded