@# Quotes DB     useful, funny, interesting





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



Comments:

<0> Hello!, I'm config postif+courier+mysql. In /var/log/mail.log -> "May 16 17:24:41 athena postfix/virtual[7272]: warning: mysql query failed: FUNCTION provider.CONCAT does not exist"
<1> s/\./,
<0> in /etc/courier/ authmysqlrc MYSQL_MAILDIR_FIELD CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/')
<0> I read -> http://workaround.org/articles/ispmail-sarge/
<0> What is the problem?
<0> Help my pliss.
<2> caravena: you likely have a typo in one of your *.cf files containing "CONCAT"
<2> caravena: actually it can only be the mysql-virtual_mailboxes.cf
<1> I would guess that table = provider
<1> heh
<2> Death by copy/paste. :)
<0> user = provider_admin
<0> p***word = provider_admin
<0> dbname = provider
<0> table = users
<0> select_field = CONCAT (SUBSTRING_INDEX(email, '@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/')



<0> where_field = email
<0> hosts = 127.0.0.1
<2> caravena: I don't know if it hurts but I would omit the space after 'CONCAT'
<0> ChrisH: Ok!.
<0> ChrisH: Now reboot service postfix?
<2> caravena: "postfix reload"
<0> I sorry
<0> ok
<0> Happy!
<1> hah
<1> MySQL brokenness
<0> Now dir in /home/vmail/
<0> Now "aparentemente"(Spanh/english) work
<3> hello all
<3> i have problem this mail.log , maybe you can help me
<3> my mail log is very big uper 4G
<3> i want do rotation after 5h ?
<3> how i can do this
<3> i know it can do logrotate, maybe somone can help me configure that?
<3> someone even
<4> is it possible to have transport send to two nexthops, basically copying the message?
<0> Many thanks. Bye, bye.
<5> Antixrict, in linux check out /etc/logrotate.conf /etc/logrotate.d/
<3> yes i know
<3> !pastebin
<6> Antixrict: 'pastebin' : a way to paste larger amounts of text so that other people can read it. Try http://www.rafb.net/paste/ or http://paste.debian.net/ - Do not forget to tell us the URL where you pasted it.
<3> lockdown can you help me http://www.rafb.net/paste/results/jKwu4z50.html , this is ok?
<3> in this config i mean that log rotate 7 per day, it's true?
<5> looks like you are restarting syslog instead of postfix?
<5> thats gonna rotate once a day
<5> the rotate 7 means it will keep 7 iterations, so you will have maillog.1, maillog.2, ... maillog.7 so that means a weeks worth of logs
<3> ou
<3> lockdown it's bad
<3> me need each 5 hours
<3> maybe you can help me
<3> ?
<4> just crontab it to run every 5 hours
<4> logrotate doesn't care how often you run it
<3> ou
<3> Merlin thank you
<4> np :)
<5> i think you are gonna have to specify a size
<5> or use -f
<5> "It will not modify a
<5> log multiple times in one day unless the criterium for that log is
<5> based on the logs size and logrotate is being run multiple times each
<5> day, or unless the -f or -force option is used."
<3> /tmp/logrotate.KTwV60: line 6: sharedscripts: command not found
<3> /tmp/logrotate.KTwV60: line 7: postrotate: command not found
<3> lockdown yes all ok but i see this errors
<5> you need to endscript your prerotate
<3> ou
<3> thx
<4> is there a way to use transport or something else to affectively duplicate a mail?
<4> i.e. send to two destinations
<5> there is a way to duplicate because i know you can save every message received by the server as well as send the user a copy, not sure what the options with that saved message are
<3> yes
<3> logrotate have options mail
<4> lockdown: i of course know how to do it with procmail or .forward, but i want to do it for an entire domain
<5> you can do that for the entire server, i just don't recall how as i haven't actually done it
<4> darn



<4> well at least i'm not on a wild goose chase
<7> ahoy
<7> what is the difference in delivering mail with procmail vs maildrop?
<8> they're just two different programs. I'm not very familiar with them, but I know for a fact maildrop can grab userinfo from mysql or ldap backends while procmail cant
<8> and the syntax of their configfiles differ
<8> I'm sure a prof could point out many more differences in features, but this is all I know
<7> thanks
<7> anyone using amavis w/ spam******in?
<7> how can i tell amavis to deliver the spam mail instead of the user mailbox to postmaster?
<9> magyar: check amavis conf file, everything is explained there
<7> MrRagga: one thing that is confusing me is, how can i prevent the marked spam to users maibox?
<7> prevent delivery to users mailbox
<7> instead deliver to postmaster
<9> magyar: there is a part in the conf file, where you can define which email address receives spam
<7> i have it configured but all i get is "Unsolicited bulk email from:"" and "The message WILL BE delivered to: myuser@mydoamin.com"
<9> magyar: search for spam_quarantine_to
<9> gn8
<7> thanks
<8> hmm
<8> magyar, can you let me know when you figure that out?
<8> I'm also interested in sending quarantined spam mail to a certain email address
<7> np
<7> so far i get errors all over the place
<7> ask_av (ClamAV-clamd) FAILED - unexpected result:
<7> but if i do a "telnet localhost 10025" it all works
<7> bleh
<7> it drops syslog emails from my servers and lables them as spam. At the same time i cant figure it out where on erth they get delivered to
<8> clamd doesnt run on 10025
<8> amavisd runs on 10025
<8> if you've enabled clamd in amavisd.conf, make sure clamd is running
<8> on my freebsd box, by default my spam gets quarantined in /var/virusmails
<8> files are named spam-<gibberish>.gz
<7> choongii: when i telnet to 10024
<7> sorry
<8> erh sorry, I meant, amavisd runs on 10024
<7> in anycase i get the quarantine in /var/lib/amavis/virusmails/, but i dont get nothing in regards to it in my mailbox
<7> and i am the recipient of "root" and "postmaster"
<8> set $spam_admin to receive spam notifications
<7> also amavis and clamd wont play, i already did "adduser amavis clamd" and vise versa
<7> still amavis errors out with clamd
<7> :(
<7> shiat
<8> hmm you're using different users than I am..
<8> in my case, I have to chown vscan:vscan /var/run/clamav
<8> since it's owned by clamav:clamav by default, but my amavisd is running as user vscan
<8> which, iirc, breaks freshclam. eventually I just commented clamd under primary virus scanners in amavisd.conf, and used the clamav method under secondary scanners, which makes amavis invoke clamscan instead of talking to clamd
<8> so I didnt have to mess around with users anymore, though I think there could be a performance trade-off
<8> but since my server isnt that stressed I didnt bother checking out the details about that
<7> choongii: in my case amavis runs as amavis and clamv runs as clamv
<7> clamav
<8> hmm
<8> if you're gonna play with users/groups, I think you just have to make the clamd socket rw to the user running amavisd
<8> e.g. mine is
<8> hm nevermind
<8> I dont know, sorry
<7> choongii: i got clamav do work
<7> choongii: in my case (debian) "AllowSupplementaryGroups" must be set
<8> ooh
<8> okie, thanks for the info :)
<7> what is a "front-end MTA"?
<8> never heard of that
<10> i am trying to setup virtual user but my problem is that mail send to user1@example.com goes to user2@example.com as well anyone knows how to fix it
<8> thats really hard to tell with so little information
<8> can you pastebin some stuff? configurations, maillogs?
<10> ok
<10> this is from postconf -n http://pastebin.com/721790
<8> can you post the relevant maillog lines as well please?
<10> ok
<10> it is too big i dont know what to post and what not to post
<10> http://pastebin.com/721817
<8> hmm thats pretty verbose..
<8> could you please try setting debug_peer_level to 0, reload postfix, tail -f maillog, try and send a mail and paste that output?
<10> ok
<10> http://pastebin.com/721822


Name:

Comments:

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






Return to #postfix
or
Go to some related logs:

change from static to dhcp on fedora command line
xine commands
linux second loopback
#gentoo
fourier.sty install
#ldap
'movie-to-dvd' gentoo
frostwire iptables
#mysql
#sdl



Home  |  disclaimer  |  contact  |  submit quotes