@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8



Comments:

<0> and in flock() system call
<1> well, 405 running perl processes isn't a good sign
<0> it's not affecting load, there is some sort of lock contention
<1> they do affect memory and other resource utilisation
<0> right
<0> I guess I have to restart postfix to get rid of them , but it worries me
<1> what are they trying to lock? what are they doing? how they're called?
<1> strace and lsof are your friends
<1> and.. do you have >= 405 smtpd processes too?
<0> strace tells me they are blocked on flock()
<0> no I do not
<0> it gets spawned from master.cf
<1> flock of what?
<0> um, well since I can't run it interactively, flock of file handle 3
<0> restarting postfix reaped them
<0> greypolicy unix - n n - - spawn



<0> user=nobody argv=/usr/bin/perl /usr/libexec/postfix/greylist.pl
<1> lsof to see what's fd#3
<0> well i will do that if it happens again
<1> if you have more perl processes than smtpds, you DO have a problem
<0> aha I know what it is
<0> I looked at the .pl itslef, each time it uses flock() it is opening its little database
<0> well the first of the month I have a cron job that empties the db
<0> I obviously need to stop postfix, empty the db, then start postfix
<1> it's not productive
<1> there must be a better way
<1> btw, for such stuff it's better to use single perl process (multiplexing)
<0> this is the recommended documentation for using this script
<0> it comes with postfix, and the docs do too, so I followed them
<2> lunaphyte: my probelm was a typo in master.cf
<2> lunaphyte: I reinstalled postfix from scratch and reconfigured it exactly the same way
<2> lunaphyte: and it works now which probably meant I accidentally insert a typo elsewhere
<0> mjt: the db only has to be deleted once a month, it is not a big performance hit to restart postfix at 1am on the first of every month
<1> it's not recommended, but an example.. but.. too late.
<3> hello
<3> when i recive a mail from my postfix domain it comes in from user@hostmask.domain.com
<3> how do i remove the hostmask
<1> myorigin
<3> hrm tried seting that in main.cf
<3> still get daniel@devserver.bini.com.au
<3> ah nm
<1> also look at your MUA settings
<1> (MUA = your mail program)
<3> yeah np
<3> i found it was set in /etc/mailhostname
<3> or osmthing
<1> /etc/mailname on debian
<3> whats a good web mail client
<3> somthign snappy and easy to setup
<1> webmail *client*? Your browser?
<3> server rather
<3> my bad
<1> no idea about server -- never needed webmail...
<4> dman: squirrelmail?
<3> yeah just looking at that now
<3> could be ok
<3> NOQUEUE: reject: RCPT from xproxy.gmail.com[66.249.82.202]: 554 <daniel@mateos.ath.cx>: Relay access denied; from=<dmateos@gmail.com> to=<daniel@mateos.ath.cx> proto=ESMTP helo=<xproxy.gmail.com>
<3> what would cause that
<1> should it be permitted?
<3> how do you mean
<1> it's caused by reject_unauth_destination in your smtpd_recipient_restrictions - exact answer to your question.
<3> becuase im sending to an alias ?
<1> whenever that mail should be accepted or not is a different question
<1> it has nothing to do with aliases so far.
<3> ok
<3> so how do i fix it
<1> it depends on the answer to the previous question
<3> ..
<3> what steps should i take
<5> dman: first, answer mjt's question... would you like your server to accept mail addressed to mateos.ath.cx ?
<3> temporarly yes
<3> while i test if everything is working ok
<1> ugh.
<3> i dont have access to the real domain
<1> is it your domain? Should your server accept mail for it?



<3> mateos.ath.cx is my domain
<1> if yes, where it should deliver that mail to?
<3> well thats the job of the alias
<3> isnt it
<3> to map the email to an exsisting user
<4> you're confusing virtual and alias
<1> he's confusing domain and email address
<4> tha too
<3> ok then what do i do in postfix to _change_ the domain
<3> from $current to mateos.ath.cx
<1> dman: describe what you WANT to do.
<3> i want to change from the currently configured domain to one i specifcy
<3> thats it
<1> i ask again (the last time): where the mail destined for that domain (mateos.ath.cx) should be delivered? should your machine deliver it locally?
<4> can't you search for what's configured?
<6> Does this mean 127.0.0.1 or the IP range where the server is in mynetworks = ... List the IP ranges here that are allowed to send email through your mail server. This is most likely your local network.
<6> I'm following this tutorial http://workaround.org/articles/ispmail-sarge/#create_mappings
<3> locally to the users home dirs
<3> i ***ume
<4> Enquest: hosts that should be allow to relay through your box
<3> into a mbox folder
<1> you ***ume? How's that?
<6> supa_user, how do I know wich hosts that are?
<1> lol
<6> Its a basic one mailserver?
<4> mjt: how about that drink?
<5> Enquest: what's your ip address?
<6> 195.47.215.139
<6> What should I fill in then?
<5> so you *probably* don't want to allow your local network to relay, in that case.
<5> what do you want to do with postfix?
<6> lunaphyte, I want to set up postfixadmin and have some domain email adresses
<5> who should be able to use your server to send mail?
<6> Well some 40 users via webmail...
<5> is webmail on the same machine as postfix?
<6> yes
<6> everyting is on the same machine
<5> so you just need 127.0.0.1/8 in mynetworks
<6> ok...
<6> Got one more question
<6> Should this be comma sepperated? virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_forwardings.cf mysql:/etc/postfix/mysql-virtual_email2email.cf
<7> hi
<7> i have two domains, with all the same users; i want one domain to be ali***ed to the other without specifying all mail accounts, is this possible ?
<5> Enquest: i believe whitespace is acceptable? commas make it a bit more human readable sometimes though.
<7> so a mail send to user1@domain1.tld should go to user2@domain2.tld
<7> so a mail send to user1@domain1.tld should go to user@domain2.tld
<7> woeps :)
<6> lunaphyte, I must say that its a realy good tutorial...
<3> can postfix do Maildir?
<5> dman: yes
<6> lunaphyte, is it wise to give webmail to your users... Isn't that dang. to get spammers that hack the webmail account?
<5> Enquest: anything's possible, i guess. it depends on how things are set up.
<4> Enquest: just enforce a strong p***word policy and enfoce https/tls connections to everything that uses a p***word
<4> don't offer standard pop3, just pop3s for example
<4> and https for webmail
<5> spammers don't sniff traffic
<5> things like self registration are important to consider though
<4> someone steals p***words though
<4> or credit cards to signup new accounts
<4> if it's free, you'll need some way to prevent that from happening
<5> i'd use imaps, not pop3s, for webmail,
<7> what do i need to accomplish this: mail send to user1@domain1.tld should go to user1@domain2.tld
<6> lunaphyte, supa_user thxs for the help
<4> lunaphyte: webmail is on the same box, don't really need ssl if you're connecting to localhost
<5> supa_user: true
<6> how do you terminate a telnet connection?
<5> crtl + ]
<5> then maybe type quit, depending on how it terminates
<3> postfix isnt openrelay by default is it?
<8> nope
<3> what auth does it use?
<3> PAM?
<9> dman, see SASL_README.html
<3> wheres that


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #postfix
or
Go to some related logs:

can not run sudo
undefined symbol: _ZN3KIO9NetAccess12mostLocalURLERK4KURLP7QWidget
ubuntu nxfree client
emarge command not found
Cubic Desktop+Linux
#fluxbox
function magic_gpc
where do you ceck mobo?
debian standard system software selection
database module for python



Home  |  disclaimer  |  contact  |  submit quotes