Editing
Problematic Programs
(section)
From Linix VServer
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Postfix === ==== Postfix 2.1.5 (Debian Sarge) ==== On a vserver with two interfaces (lo and eth0), and a postfix 2.1.5 listening on lo, postfix can't send emails : "Invalid argument"... Setting smtp_bind_address (http://www.postfix.org/postconf.5.html#smtp_bind_address) to the external address solves the issue. ==== Postfix on Debian Etch (for local only mail) ==== See [[Postfix local only problem]] ==== Postfix Policy Daemon ==== Running a Debian 3.1 Sarge with Backports I have several issues with the postfix-policyd because it wants to set the rlimits. Log returns: <pre> cannot set rlimit: Operation not permitted </pre> Strace tells us: <pre> setrlimit(RLIMIT_NOFILE, {rlim_cur=4097, rlim_max=4097}) = -1 EPERM (Operation not permitted) </pre> Output on the Host <pre> # ulimit -Ha ... -n: file descriptors 1024 ... </pre> Thats too little... Solution: The App has again a build in need to use CAP_SYS_RESOURCE (which is bad (tm)) so in the guest do: <pre> # ulimit -HS -n 8192 # ulimit -Ha .. shows us now the correct 8192 instead of 1024. # vserver $yourVserverName restart # vserver $yourVserverName enter $yourVserverName # ulimit -Ha ... -n: file descriptors 8192 ... </pre> Everything should be fine now !
Summary:
Please note that all contributions to Linix VServer may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Linix VServer:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Page
Discussion
Read
Edit
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
About
Overview
Paper
News
Developers
Donations
Search
Getting Started
Downloads
FAQs
Documentation
Support
Participate
How to participate
Report a Bug
Communicate
Teams/Projects
Hall of Fame
Resources
Archives
Recent Wiki Changes
Pastebin
Related Projects
VServer Hosting
Happy VServer Users
Tools
What links here
Related changes
Special pages
Page information