Re: [gentoo-user] Simple SMTP to cmd-line MTA relay?
On 19.01.18 19:03, Grant Edwards wrote: > I need to setup an SMTP relay server. > > It needs to accept messages as an SMTP server (using SSL and AUTH on a > non-standard port) from a single user and single source and then relay > them by passing them to a command-line MTA (e.g. /usr/bin/sendmail > replacement provided by msmtp). Based on your description you seem to have things backward. Sendmail is used to inject mail into an MTA on the local machine, and the MTA can then use SMTP to transfer said mail to another server. If the final recipient (i.e. mailbox) is on the same server the mail is generated on, the MTA can use a local transport mechanism to store mail instead of passing it on via SMTP. I suggest you clarify your goal, and ask on the Postfix mailing list (or Exim, etc.) for more information. -Ralph
Re: [gentoo-user] problems with procmail newer than procmail-3.22-r10
On Thu, 28 Mar 2019 05:17:44 +0100, tu...@posteo.de wrote: > every procmail newer than procmail-3.22-r10 does not work for me. > It get stuck, after displaying how many new mails has arrived. > > Last upated of my system was this morning which includes > mail-filter/procmail-3.22-r13, which also does not work. > > I didn't find any message/log, which indicates the reason for > the problem. Did you see this in the elog? LOG: postinst Starting with mail-filter/procmail-3.22-r9 you'll need to ensure that you configure a mail storage location using DEFAULT in /etc/procmailrc, for example: DEFAULT=$HOME/.maildir/ WARN: postinst FEATURES=sfperms removes the read-bit for others from /usr/bin/procmail /usr/bin/lockfile If you use procmail from an MTA like Exim, you need to re-add the read-bit or avoid the MTA checking the binary exists. -- Neil Bothwick Men who have playful kittens shouldn't sleep in the nude. pgpXpHQB2Hrnn.pgp Description: OpenPGP digital signature
Re: [gentoo-user] Exim, Outlook 2007, and Thunderbird
On Mon, 2008-09-08 at 18:24 -0700, kashani wrote: > Michael Sullivan wrote: > > My public IP address is 70.234.122.254 > > > > [EMAIL PROTECTED] ~ $ telnet 127.0.0.1 143 > > Trying 127.0.0.1... > > Connected to 127.0.0.1. > > Escape character is '^]'. > > * OK Dovecot ready. > > ^] > > > > telnet> quit > > Connection closed. > > [EMAIL PROTECTED] ~ $ telnet 70.254.122.254 143 > > Trying 70.254.122.254... > > telnet: connect to address 70.254.122.254: Connection refused > > Are you port forwarding port 143 through your NAT if you're using NAT? > Are you allowing imap in your firewall rules? > > I'd also try the suggesting of changing to listen = * suggested here. > http://gentoo-wiki.com/Dovecot#Configure > > kashani > >From nmap: camille dovecot # nmap -T Aggressive -A -v 70.234.122.254 Starting Nmap 4.68 ( http://nmap.org ) at 2008-09-08 20:33 CDT Initiating Ping Scan at 20:33 Scanning 70.234.122.254 [2 ports] Completed Ping Scan at 20:33, 0.03s elapsed (1 total hosts) Initiating Parallel DNS resolution of 1 host. at 20:33 Completed Parallel DNS resolution of 1 host. at 20:33, 0.25s elapsed Initiating SYN Stealth Scan at 20:33 Scanning adsl-70-234-122-254.dsl.tul2ok.sbcglobal.net (70.234.122.254) [1715 ports] Discovered open port 22/tcp on 70.234.122.254 Discovered open port 25/tcp on 70.234.122.254 Discovered open port 80/tcp on 70.234.122.254 Completed SYN Stealth Scan at 20:33, 3.02s elapsed (1715 total ports) Initiating Service scan at 20:33 Scanning 3 services on adsl-70-234-122-254.dsl.tul2ok.sbcglobal.net (70.234.122.254) Completed Service scan at 20:33, 6.17s elapsed (3 services on 1 host) Initiating OS detection (try #1) against adsl-70-234-122-254.dsl.tul2ok.sbcglobal.net (70.234.122.254) Retrying OS detection (try #2) against adsl-70-234-122-254.dsl.tul2ok.sbcglobal.net (70.234.122.254) Initiating Traceroute at 20:33 70.234.122.254: guessing hop distance at 1 Completed Traceroute at 20:33, 0.01s elapsed Host adsl-70-234-122-254.dsl.tul2ok.sbcglobal.net (70.234.122.254) appears to be up ... good. Interesting ports on adsl-70-234-122-254.dsl.tul2ok.sbcglobal.net (70.234.122.254): Not shown: 1708 closed ports PORTSTATESERVICE VERSION 20/tcp filtered ftp-data 21/tcp filtered ftp 22/tcp open ssh OpenSSH 4.7 (protocol 2.0) 25/tcp open smtp Exim smtpd 4.69 80/tcp open http Apache httpd 143/tcp filtered imap 443/tcp filtered https No OS matches for host TCP Sequence Prediction: Difficulty=199 (Good luck!) IP ID Sequence Generation: All zeros Service Info: Host: camille.espersunited.com TRACEROUTE (using port 22/tcp) HOP RTT ADDRESS 1 2.47 adsl-70-234-122-254.dsl.tul2ok.sbcglobal.net (70.234.122.254) Read data files from: /usr/share/nmap OS and Service detection performed. Please report any incorrect results at http://nmap.org/submit/ . Nmap done: 1 IP address (1 host up) scanned in 14.126 seconds Raw packets sent: 1794 (82.336KB) | Rcvd: 1767 (81.820KB) Also, my dovecot.conf has changed somewhat over the course of the evening. Here's the current version: camille dovecot # cat dovecot.conf | sed /#/d protocols = imap imaps listen = [::] disable_plaintext_auth = no ssl_disable = yes mail_location = maildir:~/.maildir protocol imap { listen = * } protocol pop3 { } protocol lda { postmaster_address = [EMAIL PROTECTED] } auth default { mechanisms = plain passdb pam { args = "*" } userdb passwd { } user = root } dict { } plugin { }
Re: [gentoo-user] Re: Setting time in middle of session
On 16 February 2006 23:20, James wrote: > Uwe Thiem iway.na> writes: > > With a dial-up connection, you haven't much chance other than connecting > > to a time server when your connection is up. I do it automatically > > in /etc/ppp/ip-up. > > Hey, this is cool, do you have an example 'ip-up' config file? I > have used ppp quite a lot to talk to industrial equipment, so any > other examples of things you can fire up once a ppp link is > established, is of keen interest to me > > Does this work with any ppp/ppp_dialer or just a specific one? > wvdial is what I have used, but, I'm open to kppp or any > other robust ppp tools, as I usually manually fire up software > manually once the link is established. Hopefully, this and other > config files can exist simultaneously, as I need to routinely > connect with ppp to different closed( non internet) networks > When I use PPP, it may be the primary link or used as a backup, > remote connection. It works with any dialer that uses pppd as back-end. As soon as the IP layer is up, the script /etc/ppp/ip-up gets called. You can put any command into it for which it makes sense to be executed when the connection is established. My customised part of ip-up looks like this: /sbin/shorewall start > /var/log/fw.start 2>%1 /etc/ppp/ntp /usr/bin/fetchmail -f /etc/fetchmailrc /usr/sbin/exim -qff The first line starts my firewall. The second one calls another script that handles time synchronisation. The third one fetches my emails and the last one forces exim to send whatever is lying in its queue. The script "ntp": #! /bin/sh /usr/sbin/ntpdate ntp.ipb.na > /dev/null 2>&1 RETURNCODE=$? if [ "$RETURNCODE" = "0" ]; then /sbin/hwclock -u -w fi It synchronises with an ntp server nearby. On success, it writes the result to my hardware clock. > > I also, I routinely establish ppp links, over RS232 serial ports, to > a variety of embedded system, so any other ppp ideas, config files > and code snippets are of keen interest likewise. Sometimes I just talk > to the embedded web server in a device over the ppp-serial link. Doesn't matter whether it uses a modem, just a serial line or any other media, /etc/ppp/ip-up is executed as soon as the two ppp processes have established an IP connection. When I wrote a book, I got paranoid about backups. So ip-up sent the current state of my manuscript to a server at a different physical location every time I went on-line. Uwe -- Why do consumers keep buying products they will live to curse? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Email to Hotmail not working
On 03 May 2007, Dave Oxley wrote: > I am unable to send email to hotmail. I thought I had a misconfiguration > in sendmail, but I have just tried a telnet (See below). Although I can > send emails to hotmail without an error or undeliverable report, none > show up in my hotmail account unless I reply to an email I sent from my > hotmail. Does anyone have any ideas? Look, Dave, almost all people on this list and virtually anywhere in planet Internet have dumped sendmail years ago and moved to some modern MTA like exim or postfix or some such. It is highly unlikely you get a spot-on answer here. Maybe, there are still sendmail mailing lists around. You better try there. That said, it could be that hotmail doesn't like your Envelop-To: header. Sendmail can, without a doubt, re-write this header, but I have forgotten how to do it about ten years ago. ;-) Uwe -- The Informal Linux Group Namibia: http://www.linux.org.na SysEx (Pty) Ltd.: http://www.SysEx.com.na -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] I want to configure an email server
Dan Cowsill wrote: > However, I would very much like to have my very own email > server under my own domain name. You should really have a static public IP address for that. > So what I'm asking you guys for is documentation, software packages, > recommended setups, anything you can add. I am not looking for an all > in one HOWTO (and don't really expect to find one with such a > complicated process) and I am willing to RTFM when necessary. Personally, I'm a qmail person, and he "Life with qmail" documentation is pretty good: http://www.lifewithqmail.org/lwq.html The package name for qmail has changed recently under Gentoo, so you would emerge netqmail instead of qmail. There are many different mta softwares out there. I would suggest trying a few of them, and see which one seems to fit your thought process the best. For me it's qmail, but you might be more of an exim or postfix or (god forbid) sendmail person. Good luck! -Sean signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] FW: mail-mta/exim (is blocking mail-mta/ssmtp-2.61-r2) (more info added)
On Wednesday 30 May 2007 07:20:45 Bo Ørsted Andresen wrote: > On Wednesday 30 May 2007 05:39:01 Boyd Stephen Smith Jr. wrote: > > However, paludis does have some missing features that may be critical for > > your environment: > > a revdep-rebuild equivalent (although this can be hacked around) > > With the ruby use flag there's check_linkage.rb. I didn't know about that. I've been using revdep-rebuild, but having it pass "cat-egory/package" as an additional argument to emerge, which cause the emerge to fail. I then run paludis using packages from one of revdep-rebuild's temporary files. Finally I remove revdep-rebuild's temporary files. It's a nasty hack, but it has worked so far. I found check_linkage.rb, but it's not installed (or linked) to any of the standard $PATH directories. Instead, it's in a "demo" directory. Is it fully functional? -- Boyd Stephen Smith Jr. ,= ,-_-. =. [EMAIL PROTECTED] ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.org/ \_/ pgpNAZg34RJwf.pgp Description: PGP signature
[gentoo-user] Simple SMTP to cmd-line MTA relay?
I need to setup an SMTP relay server. It needs to accept messages as an SMTP server (using SSL and AUTH on a non-standard port) from a single user and single source and then relay them by passing them to a command-line MTA (e.g. /usr/bin/sendmail replacement provided by msmtp). It only needs to handle a few messages per week, and doesn't need to handle more than one connection at a time. exim? postfix? emailrelay? What I can't figure out for the above is how you configure them to send the mail using a command line MTA like /usr/bin/sendmail or /usr/bin/msmtp instead of initiating a network connection to an SMTP server. I'm currently using something I wrote in Python, but the SSL support in the 3rd party SMTP module is broken and I don't relish trying to fix it. -- Grant Edwards grant.b.edwardsYow! S!! I hear SIX at TATTOOED TRUCK-DRIVERS gmail.comtossing ENGINE BLOCKS into empty OIL DRUMS ...
[gentoo-user] Re: Simple SMTP to cmd-line MTA relay?
On 2018-01-19, Grant Taylor wrote: > On 01/19/2018 04:04 PM, Grant Edwards wrote: >> One of the hassles with those is that portage won't allow me to install >> any of them because they conflict with msmtp, which is what I use for >> sending normal e-mail. > > I would expect that you can use any of those in place of msmtp to send > email too. That would require seperate outbound transports that are selected based on how the mail was read: smtp vs. /usr/bin/sendmail (the real one). I get the impression from exim and postfix docs that outbound routing based on input method aren't possible (I may be wrong about that). Unless it's possible to run two separate instances -- one to relay SMTP --> my_custom_sendmail_utility and one to hanlde outbound mail generated locally standard_usr_bin_sendmail --> SMTP. > Or are you doing something that is msmtp specific? Well I have several msmtp "accounts" set up and run multiple mutt configurations that use those different accounts for outbound mail. -- Grant
Re: [gentoo-user] Alternate Incoming Mail Server
"Michael Orlitzky" , 07.04.2020, 20:34: > Blaming lists.gentoo.org (or any other MTA) for not retrying after a 4xx > without evidence is seeing hoof prints and thinking zebras. Ockham's > razor: you fucked up. I'm watching my exim logs right now and can confirm that the gentoo mailing list server does cope well with greylisting, i.e. it attempts delivery again after a few minutes. Also, messages from me to others pass DKIM checks, unless they are modified by what you suggested: > DKIM fails on many mailing lists. This list, for example, modifies your > subject to add "[gentoo user]" but leaves the DKIM signature intact. If > the sender has a p=reject DMARC policy, that can make his messages > "disappear" for recipients who check and enforce DMARC. I'm pretty sure that I'm not the first one to ask, but given that DMARC and DKIM seem to have become a thing, would it not be "better" for delivery if the mailing list software removed the DKIM signature if it modified a header that was signed? s.
[gentoo-user] merge-usr and SPF implementations
Greetings. After updating profiles, I decided to try switching to merged-user, too, following the wiki page at https://wiki.gentoo.org/wiki/Merge-usr One server reported during the dry run: ERROR: Conflict for file '/usr/sbin/spfd': [Errno 17] File exists: '/usr/bin/spfd' # equery belongs /usr/bin/spfd * Searching for /usr/bin/spfd ... mail-filter/libspf2-1.2.11 (/usr/bin/spfd) # equery belongs /usr/sbin/spfd * Searching for /usr/sbin/spfd ... dev-perl/Mail-SPF-2.9.0-r3 (/usr/sbin/spfd) That does put me in a bit of a pickle, as both are active dependencies pulled in by essential software: # emerge -cav Mail-SPF Calculating dependencies ... done! dev-perl/Mail-SPF-2.9.0-r3 pulled in by: mail-filter/spamassassin-4.0.0-r4 requires dev-perl/Mail-SPF >>> No packages selected for removal by depclean # emerge -cav libspf2 Calculating dependencies... done! mail-filter/libspf2-1.2.11 pulled in by: mail-filter/opendmarc-1.4.1.1-r5 requires mail-filter/libspf2 mail-mta/exim-4.97.1-r5 requires >=mail-filter/libspf2-1.2.5-r1 What is the recommended way to proceed in this scenario? Regards, Stefan
Re: [gentoo-user] 2 MTA at the same host
On Monday, August 08, 2016 06:55:40 PM Alan McKinnon wrote: > On 08/08/2016 12:29, Konstantin wrote: > > Hello Guys > > > > I need to install postfix and exim at the same Gentoo server. > > Why? > > You either have them running on different ports (mighty unusual) or, > more likely or different NICs. > > So put them on two different machines. Hardware is dirt cheap and unless > you are a huge corporate an average Samsung S5 phone can fill most mail > needs. Or as Neil suggested, make one machine a VM Hardware is cheap, but electricity adds up and more than makes up for it. I agree with Neil, though; virtualization is in order in this circumstance. MTAs are very much not designed to be clever enough to coexist on the same host. A better solution still would likely be figuring out why 2 MTAs are necessary and figure out how to configure a single MTA to handle the role of both, if at all possible. -- :wq signature.asc Description: This is a digitally signed message part.
[gentoo-user] Re: mail cannot send emails (trying to use it with smartd)
On 2020-04-03, Caveman Al Toraboran wrote: > though i'm a bit curious about sendmail (if your > time allows). do you mean the ebuild "sendmail"? Yes. I meant the program provided by the "sendmail" ebuild. That is the MTA named "sendmail" that's been around since the universe cooled enough to form atoms: https://en.wikipedia.org/wiki/Sendmail For many years it was the de-facto standard MTA for Unix systems. It's very powerful but the configuration file format is almost impossible to understand, so people developed an m4 application that accepted a _slightly_ less cryptic language and generated the sendmail configuration file. At it's peak back in the early 90's there were approximately five people in the world who actually understood sendmail, and none of them ever worked where you did. The rest of us stumbled in the dark using the finely honed cargo-cult practices cutting and pasting random snippets out of example configurations to see what happened. Usually what happed is that mail was lost or flew around in a loop multiplying to the point where a disk parition filled up. That said, sendmail has features that no other MTA has. For example, it can transfer mail using all sorts of different protocols that nobody uses these days. Back in the 90's a number of replacement MTAs were developed such as qmail, postfix, exim, etc. When you installed one of these, (instead of the classic sendmail), they would usually provide an executable file named "sendmail" that accepted the same command line arguments and input format that the original did. That allowed applications who wanted to send email to remain ignorant about exactly what MTA was installed. Exim, postfix, qmail and the others were all still full-function MTAs intended for a multi-users system. They could route mail to different destinations (including delivering it locally to a variety of mailbox types) and accept inbound email from other MTAs. While they were far easier to set up and maintain than the original sendmail, they were still massive overkill for a computer that was used only by a single person where reading mail was done via POP/IMAP and all outbound mail was handed over to a single outside mail relay. They often didn't deal well with the fact that they were running on a host that didn't have a "real" hostname that meant anything to the outside world, and that the local hostname had nothing to do with the email addresses of the user(s). For that use case, simple MTAs like msmtp, ssmtp, and nullmailer were written that don't handle incoming mail at all, and where all outbound mail is sent to a single mail relay host. The first two don't even do any queuing: if you try to send mail when your relay host is unreachable, then the send simply fails. These too, when installed, provide an executable named "sendmail" that accepts the same command line options and input format as the original.
[gentoo-user] Re: [OT] Setting up a fall back ISP SMTP in sendmail
Alan McKinnon writes: > On Tuesday 20 April 2010 15:53:01 Harry Putnam wrote: >> I think you all are missing something... sendmail is better documented >> than any of the other pretenders. > > One has to understand what the various MTAs out there were built to do, and > what their "feature list" is: > > sendmail comes from ancient days. It was written to be able to route almost As ancient as 2007, at least one survey shows sendmail as still the most popular. One fairly recent survey sited on wikipedia shows sendmail as losing ground but still the most popular MTA.. at 29% of the surveyed market. Down from some 42% in 2001/3 That's a lot of `buggy whips'. http://en.wikipedia.org/wiki/Sendmail [...] In 2001, approximately 42% of the publicly-reachable mail-servers on the Internet ran Sendmail.[1] More recent surveys have suggested a decline, with 29.4% of mail servers in August 2007 detected as running Sendmail in a study performed by E-Soft, Inc.[2] Sendmail is trailed by Microsoft Exchange Server, Exim, and Postfix; these four being the only mail servers with more than 10% of the total. [...]
Re: [gentoo-user] sorta OT - honest (!) opinions on mailservers
A. Khattri wrote: >On Sun, 12 Jun 2005, Antoine wrote: > > > >>I have just realised that we have a dedicated mail server - that means >>that there are no legacy apps tying us to the doze OS that is currently >>running it :-). Basically, if I can convince the techie (who is a linux >>user, though not a fanatic like me ;-)) that there are free alternatives >>to what we have now (he said "MailDaemon", if that is a brand and not >>just a "mail daemon"...) that are more reliable and stable alternatives >>then I can probably convince him (to convince the boss) to change. >>I would like to have people's opinions on the most stable, reliable, >>fastest, securest, lowest maintenance mail servers in *both* open source >>and proprietary worlds. >> >> > >Dont know about Windoze, but I work for an ISP and we use qmail + vpopmail >+ MySQL + Courier-IMAP + Squirrel Mail to support thousands of users. > >Does this help? ;-) > > > > Hi, Could use qmail or postfix, think none of them runs on Win. There are also exim&sendmail but not as good IMHO. i use qmail. HTH. Rumen smime.p7s Description: S/MIME Cryptographic Signature
[gentoo-user] Re: Setting up fetchmail to feed postfix
On 2017-11-27 17:13, Ralph Seichter wrote: > These few lines save you from all the potential hassle that sharing > read/write access to the same files could bring. Dovecot will ensure > that indexes are up to date when mail is delivered, and that alone is > reason enough for me. Do you really need lmtp for that, though? As far as I remember simply piping the messages to the /usr/lib/dovecot/deliver program, as the deilivery mechanism, will ensure the same thing. I don't know postfix much though, so maybe that's hard to do with postfix, unlike my pet exim. Also, even if you completely ignore dovecot at delivery time and write the mailbox behind its back, it will update the index as soon as you connect via IMAP. I remember wondering about this when I saw such a setup and musing how it could possibly work, but it does. -- Please don't Cc: me privately on mailing lists and Usenet, if you also post the followup to the list or newsgroup. To reply privately _only_ on Usenet, fetch the TXT record for the domain.
Re: [gentoo-user] [OT] opinions & know-how requested: how to create a mail cluster
daniel wrote: My boss wants me to create a bunch of mail relays to capture and relay mail sent to us and discard spam etc, but I'm not sure where to start. I'd like to use exim unless you all have a better idea. To be honest, at the moment, I'm not sure where to start. Here's a simple diagram that might help you understand what it is we want to do (fixed width font will help): [SMTP] [SMTP][SMTP] [SMTP] | || | +-++---+-+ | [SMTP+POP3] Each of the SMTP servers have different routeable IPs and are linked together via a RoundRobin DNS. Their sole purpose would be to check mail being sent to them against a list of known users @ourdomain.com and possibly filter spam as well. Messages that satisfy the filter would then be forwarded to the main mail server where we would all pick up our mail with our various email clients. So at the moment, my main issues are: - How do I replicate the user list from the master to the satellites? - What MTA should I use on the satellites and how would I configure it? I don't even know if "cluster" is the right word since whenever I google for it, i run into references to LVS and Beowulf clustering which is not what I need. Any help and/or opinions/suggestions would be greatly apprecated. I'm a Postfix guy, so these are Postfix How-tos. I'd imagine you can probably do the same in Exim or any other MTA with a bit of googling now that you've seen the concept. Creating a recipent table on the front end servers http://www.unixwiz.net/techtips/postfix-exchange-users.html This how-to assume you have a Postfix server that relays to an internal Exchange server. Their method isn't super fancy, but does work. You may want to look into the LDAP stuff or using a DB query if you store your users in one. http://sqlgrey.bouton.name/ Greylisting for Postfix. I personally use Postgrey (which is in Portage), but will probably switch to sqlgrey at some point in the future. Greylisting kills a very large amount of spam before it makes into your queues or gets processes by CPU intensive content filters. However you MUST have a central greylist backend if you have multiple front ends or you'll bouncing mail or have very long delivery times. Made that mistake myself. http://www.postfix.org/docs.html Lots of good how-tos here. http://high5.net/postfixadmin/ Virtual mail system around Postfix/Mysql/Courier. Includes a very nice front end for managing domains, aliases, users, etc. I recently moved my old virtual system over to this. I'm guessing you already have a smtp/pop3 system and are just looking to front end it with some other servers, but thought I'd throw this out there anyway. I'm curious about how large of system you're planning to have. You may want to consider using shared storage with 3-4 servers that all do smtp/smtp-relay/pop3/spam filtering/etc. That way you have better overall availibility though again that depends on what sort of backend you have or are planning to build. kashani -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Simple SMTP to cmd-line MTA relay?
On 2018-01-20, Grant Taylor wrote: > On 01/19/2018 04:58 PM, Grant Edwards wrote: > >> That would require seperate outbound transports that are selected based >> on how the mail was read: smtp vs. /usr/bin/sendmail (the real one). > > Okay > >> I get the impression from exim and postfix docs that outbound routing >> based on input method aren't possible (I may be wrong about that). > > Depending on what exactly you're needing, I might be able to think of a > way to do this with Sendmail. - This may be one of the exceedingly > rare times that Sendmail's splitting MTA and MSA roles may actually be > beneficial (other than for the security reasons). [...] > Am I regurgitating this properly? > > 1) You want incoming SMTP connections to go out via your custom mailer >script. > > 2) You want messages originated locally and piped into $commandTBD to >go out via SMTP. Yes -- the two are completely unrelated and unconnected. > Would I be correct in assuming that the path and / or name of the > sendmail like script that interfaces with the Exchange server could > change if necessary? I.e. you could name it > /usr/local/bin/sendmail_to_exchange_gateway if you needed to. Yes. It's not actually located at /usr/bin/sendmail, and doesn't need to be. > Question: What name are your scripts currently calling to interface > with msmtp? - Can that name change if necessary? Yes they can be changed. Most of the things that invoke msmtp invoke it as /usr/bin/msmtp. A few invoke it as /usr/bin/sendmail. > I'm trying to juggle the various pieces as I understand them to see if > everything can work together. Don't waste any time on it -- I think the current SMTP server combined with stunnel is going to work. > Note: I'm not trying to push Sendmail. - I know I'm strange in my > predilection for it. - I'm simply trying to solve the problem (as I > understand it) with the tools that I know. > >> Well I have several msmtp "accounts" set up and run multiple mutt >> configurations that use those different accounts for outbound mail. > > The different accounts outbound may complicate things. Are those > accounts configured as part of msmtp? Or are they configured in the > things using msmtp? Both. msmtp has a config file that defines the accounts, and things that invoke msmtp directly (e.g. mutt) use a command-line option to specify an account. There is a default account that's used if the command line option isn't present (which would be the case for apps that invoke msmtp as '/usr/bin/sendmail'). Now that I think about it, I think a configuration that chooses outbound routes for locally generated email based on from address could work. Several of those accounts/routes actually go to the same SMTP server but authenticate with different username/password combinations. In mutt's case, I also believe I could switch from msmtp to mutt's "new" built-in SMTP client code. Another option would be to set up a container in which to run the "relay" MTA (sendmail/exim/postfix) that's doing SMTP --> sendmail-like-script. This is probably the cleanest way to do it. But, that's all moot if the stunnel solution works. -- Grant
Re: [gentoo-user] Re: mail cannot send emails (trying to use it with smartd)
On Friday, April 3, 2020 6:23 AM, Grant Edwards wrote: > On 2020-04-03, Caveman Al Toraboran toraboracave...@protonmail.com wrote: > > > though i'm a bit curious about sendmail (if your > > time allows). do you mean the ebuild "sendmail"? > > Yes. I meant the program provided by the "sendmail" ebuild. That is > the MTA named "sendmail" that's been around since the universe cooled > enough to form atoms: > > https://en.wikipedia.org/wiki/Sendmail > > For many years it was the de-facto standard MTA for Unix systems. > > It's very powerful but the configuration file format is almost > impossible to understand, so people developed an m4 application that > accepted a slightly less cryptic language and generated the sendmail > configuration file. At it's peak back in the early 90's there were > approximately five people in the world who actually understood > sendmail, and none of them ever worked where you did. The rest of us > stumbled in the dark using the finely honed cargo-cult practices > cutting and pasting random snippets out of example configurations to > see what happened. Usually what happed is that mail was lost or flew > around in a loop multiplying to the point where a disk parition filled > up. > > That said, sendmail has features that no other MTA has. For example, > it can transfer mail using all sorts of different protocols that > nobody uses these days. > > Back in the 90's a number of replacement MTAs were developed such as > qmail, postfix, exim, etc. When you installed one of these, (instead > of the classic sendmail), they would usually provide an executable > file named "sendmail" that accepted the same command line arguments > and input format that the original did. That allowed applications who > wanted to send email to remain ignorant about exactly what MTA was > installed. > > Exim, postfix, qmail and the others were all still full-function MTAs > intended for a multi-users system. They could route mail to different > destinations (including delivering it locally to a variety of mailbox > types) and accept inbound email from other MTAs. While they were far > easier to set up and maintain than the original sendmail, they were > still massive overkill for a computer that was used only by a single > person where reading mail was done via POP/IMAP and all outbound mail > was handed over to a single outside mail relay. They often didn't > deal well with the fact that they were running on a host that didn't > have a "real" hostname that meant anything to the outside world, and > that the local hostname had nothing to do with the email addresses of > the user(s). > > For that use case, simple MTAs like msmtp, ssmtp, and nullmailer were > written that don't handle incoming mail at all, and where all outbound > mail is sent to a single mail relay host. The first two don't even do > any queuing: if you try to send mail when your relay host is > unreachable, then the send simply fails. > > These too, when installed, provide an executable named "sendmail" that > accepts the same command line options and input format as the original. wow, didn't know sendmail's syntax was so hard it needed a compiler :D thank you very much for your help. highly appreciated. rgrds, cm
Re: [gentoo-user] A little OT; ssmtp: Is this correct?
On Fri, 17 Jul 2009 09:26:24 -0500 Michael Sullivan wrote: > mailhub=baby.espersunited.com > # Where will the mail seem to come from? > rewritedomain=r...@camille.espersunited.com > > # The full hostname > > # Gentoo bug #47562 > # Commenting the following line will force ssmtp to figure > # out the hostname itself. > > # hostname=_HOSTNAME_ > > > This has worked fine for about a week until yesterday when I rebooted. Is your hostname properly configured on the machine you rebooted? > Now I'm seeing these in my log file: > > Jul 17 00:00:46 camille sSMTP[18912]: Set > RewriteDomain="r...@camille.espersunited.com" is invalid http://www.lmgtfy.com/?q=ssmtp+RewriteDomain+%22is+invalid%22 First hit: Comment by Alessandro Doro (adoroo) - Monday, 21 July 2008, 15:41 GMT-4 Dawid, your configuration is wrong. rewriteDomain should only contain the domain name, without the username part. Which makes some sense, given the name of the config option. > But the mail that camille tries to send ends up in dead.letter. > What's going on here? If it ends up in dead.letter, it seems it's probably *your own* mail server rejecting it..?? Maybe have a look at "the exim server on baby.espersunited.com" to see why? Anyway, you probably figured this out already. Cheers, -- |\ /|| | ~ ~ | \/ ||---| `|` ? ||ichael | |iggins\^ / michael.higgins[at]evolone[dot]org
Re: [gentoo-user] Exim, Outlook 2007, and Thunderbird
Michael Sullivan wrote: On Mon, 2008-09-08 at 16:49 -0700, kashani wrote: Michael Sullivan wrote: dovecot doesn't seem to have a log. How do I turn on logging for dovecot? I'd suspect it's either logging to /var/log/mail* or /var/log/messages Have you checked both? I forgot: camille log # netstat -ptln Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address tcp0 0 0.0.0.0:143 0.0.0.0:* LISTEN 4311/dovecot And are you connecting via IMAP in your clients, the server addresses are correct, you can telnet to your mail server on port 143, etc? kashani I checked both /var/log/mail.log and /var/log/messages, yes And I am connecting via IMAP. My public IP address is 70.234.122.254 [EMAIL PROTECTED] ~ $ telnet 127.0.0.1 143 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. * OK Dovecot ready. ^] telnet> quit Connection closed. [EMAIL PROTECTED] ~ $ telnet 70.254.122.254 143 Trying 70.254.122.254... telnet: connect to address 70.254.122.254: Connection refused This may be a typo but you posted your public IP address is 70.234.122.254 then tried to connect to 70.254.122.254. One is 234 and the other is 254. If not a typo, I thought only I could do something like that. LOL Carry on. Dale :-) :-)
[gentoo-user] Re: Howto for Sendmail configuration?
· Dan Cowsill <[EMAIL PROTECTED]>: > I was wrong. One look at the sendmail configuration file actually > angered me because of all the crap I would no doubt have to go through > to get it working. Yep. That's why I never had a closer look at sendmail. If possible, I replace it everywhere. > So what I am looking for is a simplified howto describing how I could > set up sendmail to deliver mail for me... Uhm, if you don't know sendmail, then why start with sendmail in the first place? There are quite some easier MTAs out there. I personally like Postfix best, but Exim seems to be popular as well. And for simple setups something like ssmtp might even be sufficient. So, the real question is: Why do you want to use sendmail? Is there any real reason? > I also wonder if it's possible to use sendmail to relay mail to my gmail > account and send it from there? ? What do you want to accomplish? What benefit do you see by doing that? Alexander Skwar -- BOFH Excuse #346: Your/our computer(s) had suffered a memory leak, and we are waiting for them to be topped up. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] OT - Slow sendmail
I thought it might be a DNS problem too (the sendmail FAQ said that it might be) but when sending mail while logged onto the server box took a long time too I discarded the idea... On Mon, 2005-04-18 at 13:27 -0400, A. Khattri wrote: > On Mon, 18 Apr 2005, Michael Sullivan wrote: > > > Ever since I installed Gentoo on my server box SMTP to the server and > > mail sent from the command line on the server has been slow. I looked > > it up on the sendmail FAQ, (Q3.12) and they said that I could add: > > > > define(`confTO_IDENT',`0s')dnl > > > > to my /etc/mail/sendmail.mc and m4 the file to sendmail.cf, but when I > > try this I can no longer connect to the server's port 25 from remote > > machines. Has anyone dealt with this? I am running sendmail version > > 8.13... > > Slow connections may be because of either a reverse DNS lookup that fails > (hence there is a delay while it timesout) or an IDENT lookup. (Google for > IDENT and you will see what it is). > > Don't know much about sendmail (apart from it being horrible to configure > - much better to go with postfix, exim or qmail IMHO). > > > -- > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Mail systems
Le 09 octobre à 21:28:21 "Brett I. Holcomb" <[EMAIL PROTECTED]> écrit notamment: | Thank you. Opera is a client but it doesn't understand the system of | mboxes or maildirs that Pine uses - at least not as far as I've been able | to discover. It can talk to IMAP or POP servers but doesn't seem to have a | place for procmail to dump the mail to. With Pine I can tell it to use | the local mail folders where mail is dumped after it's fetched and | processed by procmail. > | I've liked the fetchmail->procmail setup as I can have procmail process | the mail in many ways and even though Opera can do much of that I'ld like | to keep this process. OK, sorry, I remember now why I gave up using opera! What you can do is setting up a mail server, (postfix, exim, qmail) as an imap server on your machine. Fetchmail keeps its business as before, now feeding your mail server; you can point opera to your server. Procmail would not be used in this case, but you can organize folders within opera... Pine would still be able to read mail from your server hth, -- Jean -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] Simple and lightweight SMTP server
On Nov 11, 2005, at 10:15 PM, Chad Leigh -- Shire.Net LLC wrote: On Mon, 7 Nov 2005, Alexander Skwar wrote: Hi. I'm looking for a very lightweight SMTP server. It should (in order): - Support TLS or SSL for outgoing/incoming connections - Be VERY light on CPU usage - Store mails in Maildir format (or hand it off to an MDA like procmail/maildrop, for them to store the mails) - Relay mail to only one smart host It is important, that the system isn't too heavy on the CPU, as I've only got a MIPSel MIPS 4Kc V0.10. What can you recommend? On normal systems, I always use Postfix, but that's not really "lightweight" :) Thanks, Alexander Skwar --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider [EMAIL PROTECTED] Sorry, I had typed in a complete reply but guess my fat fingers hit some key combo by accident that got rid of my text entry. My answer would be exim with an appropriate configuration (run time and build time). It is simple to run and configure and does not launch all sorts of various extra processes. Chad -- gentoo-user@gentoo.org mailing list --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] --depclean wants to remove openrc. Yikes!
On 24/07/21 22:09, Alan Mackenzie wrote: > I'm actually using s/qmail, tarball direct from its maintainer, since > there's no ebuild for it. Originally, I had daemontools from the same > place, until I discovered there was an ebuild for it. THAT LOOKS LIKE YOUR PROBLEM. If daemontools has been pulled in because it's explicitly named in world, then emerge will (quite reasonably) assume that openrc (which is an implied dependency) can be dispensed with. In other words, if one member of a virtual package is explicitly installed, all the other members can be dispensed with. Changing this is likely to cause breakage all over the place!!! Okay, it's a nasty surprise to discover that installing a package with multiple uses can make the system assume you're using it for things you're not, but I think the only *workable* fix is, as others have said, to add openrc to the world set. You've explicitly pulled in a boot manager package. You can't expect portage to keep a bunch of implicit package managers (systemd, sysV, openrc etc) lying around when you haven't asked for them. I've installed postfix as my mailer - I don't want exim, sendmail, etc etc lying around "just in case". Cheers, Wol
Re: [gentoo-user] tips on running a mail server in a cheap vps provider run but not-so-trusty admins?
On 17-Aug-20 6:50, Caveman Al Toraboran wrote: hi. context: 1. tinfoil hat is on. 2. i feel disrespected when someone does things to my stuff without getting my approval. 3. vps admin is not trusty and their sys admin may read my emails, and laugh at me! 4. whole thing is not worth much money. so not welling to pay more than the price of a cheap vps. moving to dedicated hardware for me is not worth it. my goal is to make it annoying enough that cheap-vps's admins find it a bad idea for them to allocate their time to mingle with my stuff. thoughts on how to maximally satisfy these requirements? Rent VPS and be your own admin. But running properly configured mail-server is not so easy. Setting up postfix/exim/sendmail is just a beginning. If you mean it seriously and do not want your IP to land on blacklists (and you vps suspended), there is much more to do, i.e. spf, dkim, dmarc, dnssec, etc... Jarry -- ___ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted.
[gentoo-user] Re: new install using lxdeL no `run' cmd
Harry Putnam writes: > For your information: Attached is message from the lxde devel gmane > group from Jonathan Thibault . Whoops forgot to attach Jonathan's message: >From nobody Wed Dec 17 12:33:39 2014 Path: news.gmane.org!not-for-mail From: Jonathan Thibault Newsgroups: gmane.comp.desktop.lxde.devel Subject: Re: main menu `run' item produces no dialog Date: Tue, 16 Dec 2014 16:36:05 -0500 Lines: 191 Approved: n...@gmane.org Message-ID: <5490a5c5.9090...@navigue.com> References: <877fxrv0pz@reader.local.lan> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="070107080209010203000207" X-Trace: ger.gmane.org 1418765821 14997 80.91.229.3 (16 Dec 2014 21:37:01 GMT) X-Complaints-To: use...@ger.gmane.org NNTP-Posting-Date: Tue, 16 Dec 2014 21:37:01 + (UTC) To: Harry Putnam , lxde-l...@lists.sourceforge.net Original-X-From: lxde-list-boun...@lists.sourceforge.net Tue Dec 16 22:36:56 2014 Return-path: Envelope-to: gcdld-lxde-l...@m.gmane.org Original-Received: from lists.sourceforge.net ([216.34.181.88]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y0znZ-0005ok-Sq for gcdld-lxde-l...@m.gmane.org; Tue, 16 Dec 2014 22:36:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Y0zmx-0008Nt-7y; Tue, 16 Dec 2014 21:36:15 + Original-Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Y0zmv-0008Nk-DU for lxde-l...@lists.sourceforge.net; Tue, 16 Dec 2014 21:36:13 + Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of navigue.com designates 74.117.40.3 as permitted sender) client-ip=74.117.40.3; envelope-from=jonat...@navigue.com; helo=mail.navigue.com; Original-Received: from mail.navigue.com ([74.117.40.3]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1Y0zmt-0007KI-Lq for lxde-l...@lists.sourceforge.net; Tue, 16 Dec 2014 21:36:13 + Original-Received: from [192.168.7.190] (unknown [74.117.40.10]) by mail.navigue.com (Postfix) with ESMTP id C425B1A01A9; Tue, 16 Dec 2014 16:36:05 -0500 (EST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 In-Reply-To: <877fxrv0pz@reader.local.lan> X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1Y0zmt-0007KI-Lq X-BeenThere: lxde-l...@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/lxde-list>, <mailto:lxde-list-requ...@lists.sourceforge.net?subject=unsubscribe> List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=lxde-list> List-Post: <mailto:lxde-l...@lists.sourceforge.net> List-Help: <mailto:lxde-list-requ...@lists.sourceforge.net?subject=help> List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/lxde-list>, <mailto:lxde-list-requ...@lists.sourceforge.net?subject=subscribe> Errors-To: lxde-list-boun...@lists.sourceforge.net Xref: news.gmane.org gmane.comp.desktop.lxde.devel:5536 Archived-At: <http://permalink.gmane.org/gmane.comp.desktop.lxde.devel/5536> This is a multi-part message in MIME format. --070107080209010203000207 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit The version of lxpanel included in gentoo actually segfaults when using 'run'. You should see it crash and respawn. This is fixed under the new version of lxpanel but gentoo isn't pushing it yet. There's extensive fixes in lxterminal 0.2.0 which is also not included in gentoo. I've included a couple ebuilds for convenience though they might not work right now since sourceforge in emergency maintenance mode. Jonathan On 16/12/14 02:44 PM, Harry Putnam wrote: > Setup: > Very new install gentoo linux > lxde version 0.5.5 > > This is very new install of gentoo, however I have installed lxde on > quite a few different hosts over time, and never hit this particular > problem. I have no idea how to debug it. > > After the install was complete I startrf X and lxde with > startx. > > Once up, it shows the nice lxde desktop. However, o
Re: [gentoo-user] Simple SMTP queue for a laptop
On Oct 25, 2005, at 4:51 PM, Tom Eastman wrote: Hey guys, I know there must be a bunch of these out there, but there's always a problem with signal-to-noise for this kind of question. I have a laptop, from which I would like to be able to send mail whenever I feel like it. This laptop is only occasionally connected to the internet, and has very low resources (so memory resident daemons are less favourable). So what I'm looking for is a program that acts like 'sendmail' (so that I can send email from mutt), and when it gets mail to send it stores it in a queue. When I'm connected to a network, I can then manually dump the queue onto the smtp server *of my choice*, since the server would very depending on where I'm plugged into. Some kind of command like: $ sudo dump_all_mail_to smtp.wherever.i.am.net Does such a program exist? Really I'm just looking for something like ssmtp, but with a queue. most mtas (postfix, sendmail, and exim for sure) have multiple ways of being called. One of which is a "send your queue and die" mode. pick an mta and read the docs. Any ideas? Thanks! Tom -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Simple SMTP queue for a laptop
Stroller wrote: On Oct 26, 2005, at 12:27 pm, John Jolet wrote: ... So what I'm looking for is a program that acts like 'sendmail' (so that I can send email from mutt), and when it gets mail to send it stores it in a queue Some kind of command like: $ sudo dump_all_mail_to smtp.wherever.i.am.net Does such a program exist? Really I'm just looking for something like ssmtp, but with a queue. most mtas (postfix, sendmail, and exim for sure) have multiple ways of being called. One of which is a "send your queue and die" mode. pick an mta and read the docs. Postfix would be _ideal_ except that "relayhost" is static. I don't believe there is any way to define "relayhost" to change according to your current ISP. If you use dhclient as your dhcp client, you can write up a /etc/dhcp/dhclient-exit-hooks to read the smtp-server option given by the DHCP server, and modify any necessary configuration files as necessary with sed/grep/etc... I do this currently to modify my samba configuration to dynamically take advantage of WINS servers. Of course, if the DHCP server doesn't provide the smtp-server option, well, you can always set it based on the domain-name option... -Richard -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: sendmail configuration
On 2020-11-26, the...@sys-concept.com wrote: > I've always used postifx but I want to try sendmail this time. Appropos of nothing, might we ask why? I've heard there are things that you can do with sendmail that you can't do with postfix or exim or qmail, but the descriptions of what sorts of "things" would require sendmail were rarely intelligible to a mere mortal. > And I have a hard time finding gentoo howto. Back when we used to sendmail on SunOS in the early 90's the generally accepted approach was to copy somebody else's config file that almost worked, change things more or less at random and then watch the disks fill up and the network crash. The miraculous part was that the disk would fill up but all the mail would disappear. I think sendmail configuration was where "cargo cult" programming originated. >From "The Unix-Hater's Handbook" Sendmail: The Vietnam of Berkeley Unix Sendmail is the standard Unix mailer, and it is likely to remain the standard Unix mailer for many, many years. Although other mailers (such as MMDF and smail) have been written, none of them simultaneously enjoy sendmail’s popularity or widespread animosity. O'Reilly's _Sendmail_ 4th Edition (the bat book), has 1312 pages and weighs four pounds. Head up the river if you must, but don't get out of the boat. -- Grant
[gentoo-user] Need help configuribng PORTAGE_ELOG_MAILURI
I have a small LAN with three PCs. One PC runs exim, but the other two use ssmtp. On the two that don't use exim I frequently see errors similar to the following when portage tries to send mail: camille etc # glsa-check -m 200610-14 Traceback (most recent call last): File "/usr/bin/glsa-check", line 316, in ? portage_mail.send_mail(glsaconfig, mymessage) File "/usr/lib/portage/pym/portage_mail.py", line 87, in send_mail raise portage_exception.PortageException("!!! A network error occured while trying to send logmail:\n"+str(e)+"\nSure you configured PORTAGE_ELOG_MAILURI correctly?") portage_exception.PortageException: !!! A network error occured while trying to send logmail: (111, 'Connection refused') Sure you configured PORTAGE_ELOG_MAILURI correctly? Here's my make.conf: camille etc # cat /etc/make.conf # These settings were set by the catalyst build script that automatically built this stage # Please consult /etc/make.conf.example for a more detailed example CFLAGS="-O2 -march=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j2" USE="asterisk dbus ctype session zaptel ivtv kerberos gphoto2 pcre mode-owner -firefox seamonkey -mozilla candy apache2 oss apm alsa arts avi berkdb bitmap-fonts cdr crypt cups doc encode fortran f77 foomaticdb gdbm gif gpm gnome gstreamer gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis pam pdf lib png ppds python qt quicktime readline samba sasl sdl threads nntp spell ssl svga tcltk tcpd truetype usb X xml xml2 xmms xv zlib x86 imap offensive java mysql examples mmx mmx2 perl divx4linux real mmxext audiofile nas snmp hal unicode guile slp tidy dvd dvdr dvdread flash glut new-login browserplugin nsplugin bzip2 win32codecs v4l v4l2 ruby sql lirc mythtv dvb ffmpeg userlocales php -debug jack jack-tempfs portaudio bash-completion bind-mysql joystick cli cgi ftp dba nptl nptlonly libclamav syslog jikes mpm-leader ithreads nautilus tcl expat" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo"; FEATURES="keepwork nostrip buildpkg fixpackages parallel-fetch -collision-protect emerge -va1 $(qfile -qC /usr/lib/cups /etc/cups | sed "s:net-print/cups$::") " PKGDIR=/usr/portage-packages/camille ALSA_CARDS="hda-intel" PORT_LOGDIR="/var/log/portage-logs" PORTDIR_OVERLAY="/usr/local/portage" #PORTDIR_OVERLAY="${PORTDIR_OVERLAY} /usr/local/portage/berkano-overlay" LINGUAS="en fr es" PORTAGE_ELOG_CLASSES="warn error log" PORTAGE_ELOG_SYSTEM="save mail" PORTAGE_ELOG_MAILFROM="[EMAIL PROTECTED]" DISTCC_DIR="${PORTAGE_TMPDIR}/.distcc" PORTAGE_RSYNC_EXTRA_OPTS="--human-readable" #PORTAGE_ELOG_MAILURI="[EMAIL PROTECTED] root:[EMAIL PROTECTED]:25" Here's my /etc/ssmtp/revaliases: camille etc # cat /etc/ssmtp/revaliases # sSMTP aliases # # Format: local_account:outgoing_address:mailhub # # Example: root:[EMAIL PROTECTED]:mailhub.your.domain[:port] # where [:port] is an optional port number that defaults to 25. # michael:[EMAIL PROTECTED]:baby.espersunited.com root:[EMAIL PROTECTED]:baby.espersunited.com postmaster:[EMAIL PROTECTED]:baby.espersunited.com portage:[EMAIL PROTECTED]:baby.espersunited.com And my ssmtp.conf: camille etc # cat /etc/ssmtp/ssmtp.conf # # /etc/ssmtp.conf -- a config file for sSMTP sendmail. # # The person who gets all mail for userids < 1000 # Make this empty to disable rewriting. [EMAIL PROTECTED] # The place where the mail goes. The actual machine name is required # no MX records are consulted. Commonly mailhosts are named mail.domain.com # The example will fit if you are in domain.com and your mailhub is so named. mailhub=baby.espersunited.com # Example for SMTP port number 2525 # mailhub=mail.your.domain:2525 # Example for SMTP port number 25 (Standard/RFC) # mailhub=mail.your.domain # Example for SSL encrypted connection # mailhub=mail.your.domain:465 # Where will the mail seem to come from? rewriteDomain=camille.espersunited.com # The full hostname camille.espersunited.com # Gentoo bug #47562 # Commenting the following line will force ssmtp to figure # out the hostname itself. #hostname=@camille.espersunited.com # Set this to never rewrite the "From:" line (unless not given) and to # use that address in the "from line" of the envelope. #FromLineOverride=YES # Use SSL/TLS to send secure messages to server. #UseTLS=YES # Use SSL/TLS certificate to authenticate against smtp host. #UseTLSCert=YES # Use this RSA certificate. #TLSCert=/etc/ssl/certs/ssmtp.pem What am I doing wrong? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Exim, Outlook 2007, and Thunderbird
On Mon, 2008-09-08 at 19:47 -0500, Dale wrote: > Michael Sullivan wrote: > > On Mon, 2008-09-08 at 16:49 -0700, kashani wrote: > > > >> Michael Sullivan wrote: > >> > dovecot doesn't seem to have a log. How do I turn on logging for > dovecot? > > >> I'd suspect it's either logging to /var/log/mail* or /var/log/messages > >> Have you checked both? > >> > >> > >>> I forgot: > >>> > >>> camille log # netstat -ptln > >>> Active Internet connections (only servers) > >>> Proto Recv-Q Send-Q Local Address Foreign Address > >>> tcp0 0 0.0.0.0:143 0.0.0.0:* > >>> LISTEN 4311/dovecot > >>> > >> And are you connecting via IMAP in your clients, the server addresses > >> are correct, you can telnet to your mail server on port 143, etc? > >> > >> kashani > >> > >> > >> > > > > I checked both /var/log/mail.log and /var/log/messages, yes > > > > And I am connecting via IMAP. > > > > My public IP address is 70.234.122.254 > > > > [EMAIL PROTECTED] ~ $ telnet 127.0.0.1 143 > > Trying 127.0.0.1... > > Connected to 127.0.0.1. > > Escape character is '^]'. > > * OK Dovecot ready. > > ^] > > > > telnet> quit > > Connection closed. > > [EMAIL PROTECTED] ~ $ telnet 70.254.122.254 143 > > Trying 70.254.122.254... > > telnet: connect to address 70.254.122.254: Connection refused > > > > > > > > > > > > This may be a typo but you posted your public IP address is > 70.234.122.254 then tried to connect to 70.254.122.254. One is 234 and > the other is 254. > > If not a typo, I thought only I could do something like that. LOL > Carry on. > > Dale > > :-) :-) > You were right, when I try the correct IP address, it tries and tries and tries...: [EMAIL PROTECTED] ~ $ telnet 70.234.122.254 143 Trying 70.234.122.254...
RE: [gentoo-user] mailman stopped working after upgrade
Okay. Last night I ripped out every 'mailman' directory and file I could find. Unmerged mailman. Backed up my lists. And re-emerged mailman. Same f'n problem. WTF?! Sep 15 13:31:17 [Mailman mail-wrapper] Group mismatch error. Mailman expected the mail_wrapper script to be executed as group "mailman", but_the system's mail server executed the mail script as_group "mail". Try tweaking the mail server to run the_script as group "mailman", or re-run configure, _providing the command line option `--with-mail-gid=mail'._ Sep 15 13:31:17 [exim] 2005-09-15 13:31:17 1EG0O5-0005FA-EW ** |/usr/local/mailman/mail/mailman post rbc <[EMAIL PROTECTED]> R=system_aliases T=address_pipe: Child process of address_pipe transport returned 2 from command: /usr/local/mailman/mail/mailman Upgrading from version 0x to 0x20105f0 getting rid of old source files no lists == nothing to do, exiting * Running `/usr/local/mailman/bin/check_perms -f` * directory must be at least 02775: /usr/local/mailman/logs (fixing) directory permissions must be 02775: /usr/local/mailman/lists (fixing) directory permissions must be 02775: /usr/local/mailman/locks (fixing) directory permissions must be 02775: /usr/local/mailman/spam (fixing) directory permissions must be 02770: /usr/local/mailman/qfiles (fixing) ... daevid portage-logs # /usr/local/mailman/bin/check_perms -f No problems found daevid portage-logs # su mailman [EMAIL PROTECTED] /var/tmp/portage-logs $ /usr/local/mailman/bin/check_perms -f No problems found -- gentoo-user@gentoo.org mailing list
Re: Re: [gentoo-user] Re: Messed up mail access rights
> From:: Neil Bothwick <[EMAIL PROTECTED]> > To: gentoo-user@lists.gentoo.org > Subject: Re: [gentoo-user] Re: Messed up mail access rights > Date: Mon, 26 Sep 2005 10:19:25 +0100 > On Sat, 24 Sep 2005 10:04:13 +, Mick wrote: > > > Providing some basic information such as what mail servers are you > > > using would be a big plus to get an answer from someone. > > Unfortunately it's a sendmail setup on a hosted account and no info is > > forthcoming from the admin. It seems like an mbox style mail > > implementation. That's all I know about it I'm afraid. > You could telnet into the server to see what the software identifies > itself as. Thanks, this is what I got: > "telnet servername 25" for the SMTP server 220-viv.XXX.com ESMTP Exim 4.50 #1 Mon, 26 Sep 2005 16:39:45 -0400 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. > "telnet servername 110" for the POP server +OK POP3 viva [cppop 19.0] at [XX.XX.XXX.XXX] > "telnet servername 143" for the IMAP server * OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS AUTH=LOGIN] viv.XX.com IMAP4rev1 2003.339-cpanel at Mon, 26 Sep 2005 16:45:38 -0400 (EDT) Is this enough to ascertain what the access rights ought to be? PS. What the recommended Gentoo telnet client? -- Regards, Mick Lycos email has now 300 Megabytes of free storage... Get it now at mail.lycos.co.uk
Re: [gentoo-user] netqmail and qmail
Alexander Skwar wrote: Suranga Kasthuriarachchi wrote: Which is the best for organization mail server. NOT qmail - too many holes and not good performancewise. Some clarification on the security of qmail: qmail has no known holes be default other than still playing the MTA game by 1998 rules which is are problems and almost as annoying as security issues. Patches like 0.0.0.0, limit-bounce size, etc solve most of those. It also has very few features which is sort of the root of the problem. In order to get features (and performance) you have to patch the hell out of qmail which is of course no longer the secure default build. The 1.0.3-r16 ebuild has 29 possible patches. It's through the patches that security problems are likely to be introduced, but IIRC there has one been one or two that have been found at least in mature non bleeding edges patches. and then on performance: qmail can be made to perform, but you have to add the performance patches (qmailqueue, big-todo, big-concurrency) and do much more tuning that you'd need to do with any other mail servers. However the one mail per TCP session is one thing you can't get around and will limit the speed of large installations. Most home user or small business users won't run into that. Or you can install Postfix/Sendmail/Exim which have had actual development over the last eight years. kashani -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Exim, Outlook 2007, and Thunderbird
On Mon, 2008-09-08 at 15:43 -0700, kashani wrote: > Michael Sullivan wrote: > > The problem is with dovecot. (port 110 is the IMAP port, isn't it? I > > can't telnet to it.) > > > > camille log # emerge -pv dovecot > > > > These are the packages that would be merged, in order: > > > > Calculating dependencies... done! > > [ebuild R ] net-mail/dovecot-1.1.1-r1 USE="doc ipv6 kerberos ldap > > mysql pam ssl -debug -managesieve -mbox -pop3d -postgres -sieve -sqlite3 > > -suid -vpopmail" 2,221 kB > > > > Total: 1 package (1 reinstall), Size of downloads: 2,221 kB > > To see what ports equals what, look at /etc/services which should exist > on all *nix boxes and tracks nearly all the major ports. > > pop is 110, imap 143, and imaps 993 > > I would make sure that dovecot is actually running, then make sure it's > listening on ports you expect with sudo netstat -ptln , and then I'd > post the logs from any transactions. > > Troubleshooting mail servers without the relevant log entries is usually > painful and frustrating. > > kashani > camille dovecot # cat /etc/services | grep imap imap143/tcp imap2 # Internet Message Access Protocol imap143/udp imap2 imap3 220/tcp # Interactive Mail Access imap3 220/udp imaps 993/tcp # imap4 protocol over TLS/SSL imaps 993/udp camille dovecot # ps ax | grep dovecot 4209 pts/0R+ 0:00 grep --colour=auto dovecot 14645 ?Ss 0:04 /usr/sbin/dovecot -c /etc/dovecot/dovecot.conf 14646 ?S 0:01 dovecot-auth 17329 ?S 0:00 dovecot-auth -w dovecot doesn't seem to have a log. How do I turn on logging for dovecot?
Re: [gentoo-user] FW: mail-mta/exim (is blocking mail-mta/ssmtp-2.61-r2) (more info added)
On Wednesday 30 May 2007 21:20:52 Bo Ørsted Andresen wrote: > On Thursday 31 May 2007 04:09:10 Boyd Stephen Smith Jr. wrote: > > I found check_linkage.rb, but it's not installed (or linked) to any of > > the standard $PATH directories. Instead, it's in a "demo" directory. Is > > it fully functional? > > Yes. You run it with ruby. Yeah, I figured a .rb was run with ruby. :P If it's really useful, it should be chmod'd +x and installed or linked into /usr/sbin. I can do that myself (in that case /usr/local/sbin), but such wonderful utilities shouldn't be hidden. :) > It does still lack a couple of features though. > Namely --library and the ability to pick another version when the ebuild > for an installed version has been removed. At least the latter is soon to > come. I noticed it was also trying to reinstall all my binary-only packages: sun-jdk, blackdown-jdk, skype, and emul-linux-x86-compat. I guess revdep-rebuild has some blacklist that prevents it from doing so. > But at least it will never use the horrible hack that revdep-rebuild uses > with --package-names because of the lack of support for the > =category/package-version:slot syntax in portage-2.0* which it still > supports.. :) You mean that portage actually supports slot deps now? -- Boyd Stephen Smith Jr. ,= ,-_-. =. [EMAIL PROTECTED] ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.org/ \_/ pgpr0zqBz2ntK.pgp Description: PGP signature
[gentoo-user] [OT] opinions & know-how requested: how to create a mail cluster
My boss wants me to create a bunch of mail relays to capture and relay mail sent to us and discard spam etc, but I'm not sure where to start. I'd like to use exim unless you all have a better idea. To be honest, at the moment, I'm not sure where to start. Here's a simple diagram that might help you understand what it is we want to do (fixed width font will help): [SMTP] [SMTP][SMTP] [SMTP] | || | +-++---+-+ | [SMTP+POP3] Each of the SMTP servers have different routeable IPs and are linked together via a RoundRobin DNS. Their sole purpose would be to check mail being sent to them against a list of known users @ourdomain.com and possibly filter spam as well. Messages that satisfy the filter would then be forwarded to the main mail server where we would all pick up our mail with our various email clients. So at the moment, my main issues are: - How do I replicate the user list from the master to the satellites? - What MTA should I use on the satellites and how would I configure it? I don't even know if "cluster" is the right word since whenever I google for it, i run into references to LVS and Beowulf clustering which is not what I need. Any help and/or opinions/suggestions would be greatly apprecated. -- you're not supposed to be so blind with patriotism that you can't face reality. wrong is wrong, no matter who says it. - malcolm x -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] merge-usr and SPF implementations
On Friday, 29 March 2024 16:05:29 GMT Stefan Schmiedl wrote: > Greetings. > > After updating profiles, I decided to try switching to merged-user, too, > following the wiki page at https://wiki.gentoo.org/wiki/Merge-usr > > One server reported during the dry run: > ERROR: Conflict for file '/usr/sbin/spfd': [Errno 17] File exists: > '/usr/bin/spfd' > > # equery belongs /usr/bin/spfd > * Searching for /usr/bin/spfd ... > mail-filter/libspf2-1.2.11 (/usr/bin/spfd) > # equery belongs /usr/sbin/spfd > * Searching for /usr/sbin/spfd ... > dev-perl/Mail-SPF-2.9.0-r3 (/usr/sbin/spfd) > > That does put me in a bit of a pickle, as both are active dependencies > pulled in by essential software: > > # emerge -cav Mail-SPF > > Calculating dependencies ... done! >dev-perl/Mail-SPF-2.9.0-r3 pulled in by: > mail-filter/spamassassin-4.0.0-r4 requires dev-perl/Mail-SPF > > >>> No packages selected for removal by depclean > > # emerge -cav libspf2 > > Calculating dependencies... done! >mail-filter/libspf2-1.2.11 pulled in by: > mail-filter/opendmarc-1.4.1.1-r5 requires mail-filter/libspf2 > mail-mta/exim-4.97.1-r5 requires >=mail-filter/libspf2-1.2.5-r1 > > > What is the recommended way to proceed in this scenario? > > Regards, > Stefan My guess and this is only a guess, is the two binaries are in separate subdirectories of /usr and therefore there shouldn't be a problem. Before you progress with this you could raise a bug, or try to seek a dev's advice on IRC. A fresh backup before you make any changes is definitely a good idea. signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Is it sefe to unmerge?
On Wednesday 13 February 2008, Sergey Kobzar wrote: > Hi > > 'emerge -pv --depclean' shows that these packages may be unmerged: > app-crypt/hashalot > sys-libs/pwdb > sys-apps/attr > > Is it safe to remove they from the system? This is mail server and > has mostly no additional packages except exim, mysql, spamassassin > and some other. This means that you never explicitly merged them, they are not in world and are no longer required by anything else. There are normally three reasons: - you merged something that needed these packages, then unmerged them later, leaving these dependencies orphaned - you merged something else that used them, and in a recent update they are now using something else that provides the same functionality - they were required by some USE flag you once had, and you have now changed your USE, so the deps are no longer required. You'll need to look at each package and figure out if YOU need them, as we can't tell you that. I might think that you don't need your wife under any circumstances, and you might strongly disagree :-) I once knew what hashalot does. I forgot. It's something to do with cryptography pwdb is used as a password and user account configuration thingy. Looks pretty important :-) attr provides extended attributes to ext2/3 and XFS file systems, used by selinux and posix capabilities. If you use these features, you already are aware of it. When you figure out which ones to keep, it's best to put them in your world file. Either edit /var/lib/portage/world and stick the name at the end, or run 'emerge -n ' -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Qmail and Spamassassin won't integrate
quoth the Tim Garton: Hi Tim, > I run spamassassin with exim, so can't offer all that much help, but > as for attempt 1 you may try running: > spamc -R < {some file containing full source of a sample email} > > to make sure spamassassin is running correctly. It should spit back a > score and a possibly a list of tests failed, depending on how > spamassassin is configured. if you don't get this, or get a score > like "0/0", something is wrong with your spamassassin setup. Thanks for this. 'spamc -R < testmail' was failing (hanging forever) while 'spamassassin < testmail' was working fine. This led me to run the spamc command within strace, which showed the command blocked during a 'connect' call to 127.0.0.7. Would you believe it was a firewall issue? I forgot to allow conections to localhost in my iptables script. > Also, you don't want the "-P" option anymore, it is deprecated and is > the default behaviour of spamassassin now. And you definitely don't > want it with spamc, since it is an invalid option. And yes, you do > want to use "spamc" over "spamassassin" for performance reasons. Thanks for the explanation. After confirming spamc now works I played around some more. It seems my ~/.qmail file was overriding the system-wide spam check in 'defaultdelivery'. I changed ~/.qmail from: |/var/qmail/bin/preline -f /usr/libexec/dovecot/deliver to: |spamc |/var/qmail/bin/preline -f /usr/libexec/dovecot/deliver ...and everything seems to be cherry now. All incoming mail now has X-Spam headers added. -d -- darren kirby :: Part of the problem since 1976 :: http://badcomputer.org "...the number of UNIX installations has grown to 10, with more expected..." - Dennis Ritchie and Ken Thompson, June 1972 -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Exim, Outlook 2007, and Thunderbird
Michael Sullivan wrote: On Mon, 2008-09-08 at 19:47 -0500, Dale wrote: Michael Sullivan wrote: On Mon, 2008-09-08 at 16:49 -0700, kashani wrote: Michael Sullivan wrote: dovecot doesn't seem to have a log. How do I turn on logging for dovecot? I'd suspect it's either logging to /var/log/mail* or /var/log/messages Have you checked both? I forgot: camille log # netstat -ptln Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address tcp0 0 0.0.0.0:143 0.0.0.0:* LISTEN 4311/dovecot And are you connecting via IMAP in your clients, the server addresses are correct, you can telnet to your mail server on port 143, etc? kashani I checked both /var/log/mail.log and /var/log/messages, yes And I am connecting via IMAP. My public IP address is 70.234.122.254 [EMAIL PROTECTED] ~ $ telnet 127.0.0.1 143 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. * OK Dovecot ready. ^] telnet> quit Connection closed. [EMAIL PROTECTED] ~ $ telnet 70.254.122.254 143 Trying 70.254.122.254... telnet: connect to address 70.254.122.254: Connection refused This may be a typo but you posted your public IP address is 70.234.122.254 then tried to connect to 70.254.122.254. One is 234 and the other is 254. If not a typo, I thought only I could do something like that. LOL Carry on. Dale :-) :-) You were right, when I try the correct IP address, it tries and tries and tries...: [EMAIL PROTECTED] ~ $ telnet 70.234.122.254 143 Trying 70.234.122.254... Well, I was hoping that using the correct address would get a w ho but I guess not. Would be nice if it was that simple tho. Dale :-) :-)
[gentoo-user] Re: Mail system recommendations
"Michael Crute" <[EMAIL PROTECTED]> writes: > On 11/8/06, Michael Sullivan <[EMAIL PROTECTED]> wrote: >> I have a small network, consisting of three PCs. Each of these PCs has >> a public WAN address, and each runs Apache, vsftpd and sendmail (as well >> as ipkungfu for firewall protection). One of them runs mailman. I >> would like to replace sendmail with something not so...shall we say >> prehistoric? I've been advised many times to do so on this list and >> others. Would anyone please give me some recommendations for a new >> choice of mail server? I'd like one with plenty if documentation. > > For my money I would say run postfix. Your setups sound pretty similar to mine and I'll tell you that I've several times attempted to switch ... I tried exim, postfix and something else I've since forgotten. Each time I returned to sendmail and have decided each time that sendmail actually has the best and most complete documentation. It can be aggravating from time to time. My biggest trouble is forgetting all I ever learned each time I need it again. I'd stick with sendmail if I were you. Its usually something kind of minor once you find the problem. Sendmail is by far the most versatile of them all. Spend some time learning the various tests one can run with sendmail and you may be able to fix things yourself more often. I'd also suggest posting whatever problem is bothering you on comp.mail.sendmail newsgroup. There is lots of expert help available there and a thorough search of its archives can sometimes do the job without posting. -- Just my .02. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] scripts that send emails
On Mon, 2005-05-02 at 10:35 +0200, Patrick Marquetecken wrote: > I'm looking for a smtp mail-client that can send emails from a script, > from different from addresses and can use text files as body text, at this > time i just looked at pine, but i don't thik thats possible. If the scripts go on a machine with a full email server on there (sendmail, exim, courier, qmail, etc.) no matter which one it is they usually include an executable called "sendmail" which is a common one for scripts to use, often with a syntax like: cat headerplusbody.txt | sendmail If you don't have a real mailserver locally, you can emerge "ssmtp" and in a config file tell it the address of your real mailserver, and it will provide an equivalent "sendmail" binary on your machine that can be called and it'll just hand it off to the real server. Generally, I'll have my scripts echo "From: \nTo: \n\n" into a temporary file, then add whatever content the script produces then cat it piped to sendmail. A lot of the header stuff is optional but at least giving to/from/subject then a blank line to separate the content, is good enough. Depending on your mailserver or the recipient's, leaving those out can cause the mail to be rejected as broken or a virus/spam. I'd gotten used to marginally different command-line syntax (on BSD) that used the "mail" command, that is provided by "emerge mailx", I think I liked it because it did headers for you, so just: cat justthebody.txt | mail [EMAIL PROTECTED] -- Scott Taylor - <[EMAIL PROTECTED]> BOFH Excuse #284: Electrons on a bender -- gentoo-user@gentoo.org mailing list
RE: Re: [gentoo-user] Re: Messed up mail access rights
> -Original Message- > From: Michael Kintzios [mailto:[EMAIL PROTECTED] > Sent: 26 September 2005 21:50 > To: gentoo-user@lists.gentoo.org > Subject: Re: Re: [gentoo-user] Re: Messed up mail access rights > > > > From:: Neil Bothwick <[EMAIL PROTECTED]> > > To: gentoo-user@lists.gentoo.org > > Subject: Re: [gentoo-user] Re: Messed up mail access rights > > Date: Mon, 26 Sep 2005 10:19:25 +0100 > > > On Sat, 24 Sep 2005 10:04:13 +, Mick wrote: > > > > Providing some basic information such as what mail > servers are you > > > > using would be a big plus to get an answer from someone. > > > Unfortunately it's a sendmail setup on a hosted account > and no info is > > > forthcoming from the admin. It seems like an mbox style mail > > > implementation. That's all I know about it I'm afraid. > > You could telnet into the server to see what the software identifies > > itself as. > > Thanks, this is what I got: > > > "telnet servername 25" for the SMTP server > > 220-viv.XXX.com ESMTP Exim 4.50 #1 Mon, 26 Sep 2005 > 16:39:45 -0400 > 220-We do not authorize the use of this system to transport > unsolicited, > 220 and/or bulk e-mail. > > > "telnet servername 110" for the POP server > > +OK POP3 viva [cppop 19.0] at [XX.XX.XXX.XXX] > > > "telnet servername 143" for the IMAP server > > * OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS AUTH=LOGIN] > viv.XX.com IMAP4rev1 2003.339-cpanel at Mon, 26 Sep > 2005 16:45:38 -0400 (EDT) > > Is this enough to ascertain what the access rights ought to be? > > PS. What the recommended Gentoo telnet client? The lot is also accessible via Horde's and squirrel mail web gui's - not sure if that's relevant but thought I better mention it. -- Regards, Mick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Multi-services box
I'll echo what A. Khattri said. I run one server, it functions as a router, web, ftp, LAN portage mirror (thanks http-replicator!), DNS proxy (dnsmasq), pop3(ssl), imap(ssl), smtp, MySQL, PostgreSQL, and VNC server, in addition to Xorg. Runs just fine. But it's also an Athlon XP 2400+ (2ghz, 133 mhz fsb * 15 multiplier), 1gb of RAM (PC2100 DDR), and an old, faulty 40gb hard drive (faulty in the respect that it reports the speed as UDMA44 to the BIOS, when in fact there is no such standard and it should be UDMA66, but that's easily fixed with hdparm). The real bottleneck on my server is my cable modem, with only 384kbps upstream (4mbps downstream though). But I digress. As long as the server can handle it, there shouldn't be any problems, and in some cases, it might turn out better, and the programs can then use sockets instead of ports to communicate with each other (which would be the case of a web server with a seperate database server).On 9/29/05, Uwe Thiem <[EMAIL PROTECTED]> wrote: On 29 September 2005 19:05, Mark wrote:> Hi, I'm thinking of setting up a Gentoo server to host a few different> services, primarily a small web site on Apache, an Exim mail server, a> Halafax fax server and a Squid proxy server. I intend to put the machine in > a DMZ to protect the internal network. At first glance, should these 4> packages play well together on the same piece of hardware? I'm very open to> suggestions, including separate hardware if it's necessary. They play along just fine.Uwe--95% of all programmers rate themselves among the top 5% of all softwaredevelopers. - Linus Torvaldshttp://www.uwix.iway.na (last updated: 20.06.2004)--gentoo-user@gentoo.org mailing list-- - Mark Shields
Re: [gentoo-user] Omitting blocked package when updating world
Rumen Yotov wrote: >On Fri, 2005-10-14 at 19:09 -0400, C. Beamer wrote: > > >>Hi, >> >>I've had Gentoo installed on my main computer for about a month now and >>want to update world. >> >>When I did 'emerge --pretend --update --deep world' I got told that a >>package that I had installed was blocking another package. I want to >>update but omit the blocked package from the update, which incidentally >>is not installed on my system. >> >>Regards, >> >>Colleen >> >> >Hi, >Think it mostly depends on which is the package in question. >Seen three types of package blocking: >1.a new version blocking the old version of the same package - remove it >then add again; >2.A new package wants to install but there is another package serving >the same role, e.g mail-server: qmail, postfix, exim all provide - >virtual/mta (IIRC), so only one could get installed; >3.Think it's your case. Some other package (which is installed) has a >*new* dependency on another one (not installed), which provides the same >'virtual/...' as third one (installed). >This could happen when using -D/--deep flag - try without it to check >and use -t/-tree option to see the deps. But it depends on the package >in question & friends. >HTH.Rumen > > I went to the painstaking effort of updating each package on my system that required updating individually and am left with this, which is the result of 'emerge --pretend --update --deep world': Calculating world dependencies ...done! [blocks B ] From this, I assume that the installed package, Pine, is blocking the package nw-mail-utils-2004g, which is *not* installed. So, how do I prevent uw-mailutils-2004g from being installed so I can update Pine? Regards, Colleen -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Simple SMTP to cmd-line MTA relay?
On 2018-01-19, Grant Taylor wrote: > On 01/19/2018 12:48 PM, Alan McKinnon wrote: >> I'm also wondering why you need 2 bits. Earlier in the thread you >> mentioned that you send perhaps a few messages a week and never more >> than one connection at a time. > > Grant E. has indicated elsewhere in the thread that his > /usr/bin/sendmail script is speaking something custom to the > destination mail server. > > Read: /usr/bin/sendmail script is NOT speaking SMTP. Yes. I should have been more clear about that. > Do you know what protocol(s) that Grant E.'s /usr/bin/sendmail script is > speaking? Do you know if ssmtp (et al) support it? It involves doing things remotely using the ssh-2 protocol. > I feel like Grant E. has not revealed enough information to know if > other things can speak what ever custom communications is possible > between the SMTP server and the destination mail server. He has > only revealed enough to know that it is custom, and that his > /usr/bin/sendmail interface script must be used. Yes, I have assumed that normal MTAs like sendmail and postfix do not implement the ssh protocol and can't be made to do what my /usr/bin/sendmail script does. > I don't think there is enough information to know that ssmtp / postfix / > exim / sendmail / et al are capable of speaking the protocols that Grant > E. needs or wants. I am confident they do not, but I'm not going to go into details on how the ssh-protocol-based delivery works. -- Grant Edwards grant.b.edwardsYow! This PIZZA symbolizes at my COMPLETE EMOTIONAL gmail.comRECOVERY!!
Re: [gentoo-user] problems with procmail newer than procmail-3.22-r10
On 03/28 08:37, Neil Bothwick wrote: > On Thu, 28 Mar 2019 05:17:44 +0100, tu...@posteo.de wrote: > > > every procmail newer than procmail-3.22-r10 does not work for me. > > It get stuck, after displaying how many new mails has arrived. > > > > Last upated of my system was this morning which includes > > mail-filter/procmail-3.22-r13, which also does not work. > > > > I didn't find any message/log, which indicates the reason for > > the problem. > > Did you see this in the elog? > > LOG: postinst > Starting with mail-filter/procmail-3.22-r9 you'll need to ensure > that you configure a mail storage location using DEFAULT in > /etc/procmailrc, for example: > DEFAULT=$HOME/.maildir/ > WARN: postinst > FEATURES=sfperms removes the read-bit for others from > /usr/bin/procmail > /usr/bin/lockfile > If you use procmail from an MTA like Exim, you need to > re-add the read-bit or avoid the MTA checking the binary > exists. > > > -- > Neil Bothwick > > Men who have playful kittens shouldn't sleep in the nude. Hi Neil, does not work here... DEFAULT=$HOME/mail is set via /etc/procmailrc and $HOME/.procmailrc (my $HOME/.maildir is called "mail") -rwxr-sr-x 1 root mail 18216 Mar 28 17:47 /usr/bin/lockfile -rwsr-sr-x 1 root root 92464 Mar 28 17:47 /usr/bin/procmail eix procmail: [I] mail-filter/procmail Available versions: 3.22-r10 (~)3.22-r11 3.22-r13 {mbox selinux} Installed versions: 3.22-r13(05:47:56 PM 03/28/2019)(-mbox -selinux) Homepage:http://www.procmail.org/ Description: Mail delivery agent/filter So, back to the future...reinstalling 3.22-r10 again... What did I miss here? Cheers! Meino
Re: [gentoo-user] emerge notice
On 07/07/2024 00:31, Thelma wrote: I have in my make.conf: PORTAGE_ELOG_CLASSES="warn error log" PORTAGE_ELOG_SYSTEM="mail" PORTAGE_ELOG_MAILURI="i...@domain.com /usr/sbin/sendmail" PORTAGE_ELOG_MAILFROM="portage" PORTAGE_ELOG_MAILSUBJECT="package \${PACKAGE} merged on \${HOST} with notice" It used to work, but ever since Rogers took over Shaw network, they started making changes to their mail server and most email sent from command line to myself via my provider doesn't work. Is there an alternative, example send these notifications to a file or print them at the end of emerge. Bear in mind I've tried to do stuff like this, and failed miserably, but I run a local mailserver type setup. And reading between the lines, if you could get this to work, you could probably get the command line to work too ... But get something like exim or postfix or whatever set up locally, configure it to send deliver local mail locally, and forward the rest to Rogers. Or if you actually want to use Rogers as your cloud email provider, get it to send everything. As a last resort, create an independent local system, so any mail sent using standard *nix utilities stays on the local system (you'll probably have to configure both the client and server to use a non-standard port like 26) and now all your emerge and system monitoring stuff stays local and under your control. I feel your pain, my wife's laptop has suddenly stopped communicating with gmail using thunderbird. But I can access those same accounts, with the identical config, no problem. What the is going on? Cheers, Wol
Re: [gentoo-user] /etc/crontab - sending notification to a different user
Sorry, the cron entry should be: 55 12 * * * mv /var/spool/asterisk/monitor/* /home/thelma/mon/ 1-5 is Monday to Friday mail.log: Aug 31 13:24:01 i5 postfix/qmgr[32301]: 0880F17E00EB: from=< sysc...@gmail.com>, size=699, nrcpt=1 (queue active) Aug 31 13:24:02 i5 postfix/smtp[9110]: 0880F17E00EB: to=, orig_to=, relay=smtp.gmail.com[142.250.99.108]:587, delay=1.3, delays=0.02/0.01/0.55/0.68, dsn=2.0.0, status=sent (250 2.0.0 OK 1725132231 98e67ed59e1d1-2d85b0fdf44sm6088797a91.6 - gsmtp) Aug 31 13:24:02 i5 postfix/qmgr[32301]: 0880F17E00EB: removed Gmail is accepting the mail but it is sending to "root" instead of "syscon8" My cat /etc/mail/aliases # Basic system aliases -- these MUST be present. MAILER-DAEMON: postmaster postmaster: root # General redirections for pseudo accounts. adm:root bin:root daemon: root exim: root lp: root mail: root named: root nobody: root postfix:root # Well-known aliases -- these should be filled in! root: sysc...@gmail.com fd: sysc...@gmail.com # operator: # Standard RFC2142 aliases abuse: postmaster ftp:root hostmaster: root news: usenet noc:root security: root usenet: root uucp: root webmaster: root www:webmaster On Sat, Aug 31, 2024 at 1:17 PM Michael wrote: > On Saturday, 31 August 2024 20:11:34 BST syscon edm wrote: > > >> MAILTO="sysc...@gmail.com" > > > > MAILTO="sysc...@gmail.com" > > MAILTO='sysc...@gmail.com' > > MAILTO=syscon8 > > > > I've tried single quote, double quotes, but it doesn't work; now even > > without quotes I don't get email from cronie > > After every change I restart "/etc/init.d/cronie restart > > > > My simple cron entry: > > 55 12 * * 1-5 mv /var/spool/asterisk/monitor/* /home/thelma/mon/ > > > > I should receive email from cron > > What errors do you get from your MTA in your logs? Increase verbosity if > you > need to get more info.
Re: [gentoo-user] /etc/crontab - sending notification to a different user
On Saturday, 31 August 2024 20:34:49 BST syscon edm wrote: > Sorry, the cron entry should be: > 55 12 * * * mv /var/spool/asterisk/monitor/* /home/thelma/mon/ > 1-5 is Monday to Friday > > mail.log: > > Aug 31 13:24:01 i5 postfix/qmgr[32301]: 0880F17E00EB: from=< > sysc...@gmail.com>, size=699, nrcpt=1 (queue active) > Aug 31 13:24:02 i5 postfix/smtp[9110]: 0880F17E00EB: to=, > orig_to=, You probably have in your /etc/postfix/main.cf: myorigin = $some_user@some_domain.com where some_user@some_domain.com is not sysc...@gmail.com, but root@*? > relay=smtp.gmail.com[142.250.99.108]:587, delay=1.3, > delays=0.02/0.01/0.55/0.68, dsn=2.0.0, status=sent (250 2.0.0 OK > 1725132231 98e67ed59e1d1-2d85b0fdf44sm6088797a91.6 - gsmtp) > Aug 31 13:24:02 i5 postfix/qmgr[32301]: 0880F17E00EB: removed > > Gmail is accepting the mail but it is sending to "root" instead of "syscon8" > > My cat /etc/mail/aliases > # Basic system aliases -- these MUST be present. > MAILER-DAEMON: postmaster > postmaster: root > > # General redirections for pseudo accounts. > adm:root > bin:root > daemon: root > exim: root > lp: root > mail: root > named: root > nobody: root > postfix:root > > # Well-known aliases -- these should be filled in! > root: sysc...@gmail.com > fd: sysc...@gmail.com > # operator: > > # Standard RFC2142 aliases > abuse: postmaster > ftp:root > hostmaster: root > news: usenet > noc:root > security: root > usenet: root > uucp: root > webmaster: root > www:webmaster You can grep your postfix files for root and root@ to find the culprit. It seems your postfix configuration is rewriting the 'Send As' name, if not whole address. My Postfix knowledge is rather out of date, but current users should be able to advise with a specific fix for this problem. signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] tips on running a mail server in a cheap vps provider run but not-so-trusty admins?
On Tue, Aug 18, 2020 at 2:43 AM Caveman Al Toraboran wrote: > ‐‐‐ Original Message ‐‐‐ > On Monday, August 17, 2020 3:48 PM, Jarry wrote: > > > Rent VPS and be your own admin. But running properly configured > > mail-server is not so easy. Setting up postfix/exim/sendmail > > is just a beginning. If you mean it seriously and do not want > > your IP to land on blacklists (and you vps suspended), there is > > much more to do, i.e. spf, dkim, dmarc, dnssec, etc... > > would i get blacklisted for simply not using > spf/dkim/etc? even if no other user is using the > mail service other than me and i'm not mass > mailing? It is up to the individual recipient's email admin, but increasingly the answer is yes. Your biggest issue will be IP reputation, however. IPs that are assigned to consumers are almost always blacklisted regardless of what you're doing on your end, and the're blacklisted before you even attempt to send your first message. Personally I run my own server for reception, but all my outgoing mail either goes through Gmail or Amazon SES, depending on whether Gmail was used as the MUA. Sure, Amazon isn't free, but it is REALLY cheap ($0.10 for 1000 emails, plus $0.12 per GB). I don't send that many emails or much in attachments, so the bill is tiny. Gmail is free and you can send outgoing messages from any email address that you control. Receiving email isn't a big deal though managing spam can be painful. Sending it has become increasingly difficult because of others managing spam, and IMO it isn't worth trying to deal with directly unless you're a large concern. -- Rich
Re: [gentoo-user] Re: sendmail configuration
On 04:02 Thu 26 Nov 2020, Grant Edwards wrote: On 2020-11-26, the...@sys-concept.com wrote: I've always used postifx but I want to try sendmail this time. Appropos of nothing, might we ask why? I've heard there are things that you can do with sendmail that you can't do with postfix or exim or qmail, but the descriptions of what sorts of "things" would require sendmail were rarely intelligible to a mere mortal. And I have a hard time finding gentoo howto. Back when we used to sendmail on SunOS in the early 90's the generally accepted approach was to copy somebody else's config file that almost worked, change things more or less at random and then watch the disks fill up and the network crash. The miraculous part was that the disk would fill up but all the mail would disappear. I think sendmail configuration was where "cargo cult" programming originated. From "The Unix-Hater's Handbook" Sendmail: The Vietnam of Berkeley Unix Sendmail is the standard Unix mailer, and it is likely to remain the standard Unix mailer for many, many years. Although other mailers (such as MMDF and smail) have been written, none of them simultaneously enjoy sendmail’s popularity or widespread animosity. O'Reilly's _Sendmail_ 4th Edition (the bat book), has 1312 pages and weighs four pounds. Head up the river if you must, but don't get out of the boat. -- Grant On the lighter side, it famously known that , if you poke at sendmail conf more than once, then you are effected by the paranoia and which is not good for you and others around you. :) ~Bhaskar signature.asc Description: PGP signature
Re: [gentoo-user] Need help configuribng PORTAGE_ELOG_MAILURI
--- Michael Sullivan <[EMAIL PROTECTED]> wrote: > I have a small LAN with three PCs. One PC runs > exim, but the other two > use ssmtp. On the two that don't use exim I > frequently see errors > similar to the following when portage tries to send > mail: > > camille etc # glsa-check -m 200610-14 > Traceback (most recent call last): > File "/usr/bin/glsa-check", line 316, in ? > portage_mail.send_mail(glsaconfig, mymessage) > File "/usr/lib/portage/pym/portage_mail.py", line > 87, in send_mail > raise portage_exception.PortageException("!!! A > network error > occured while trying to send > logmail:\n"+str(e)+"\nSure you configured > PORTAGE_ELOG_MAILURI correctly?") > portage_exception.PortageException: !!! A network > error occured while > trying to send logmail: > (111, 'Connection refused') > Sure you configured PORTAGE_ELOG_MAILURI correctly? > > > Here's my make.conf: > > camille etc # cat /etc/make.conf > # These settings were set by the catalyst build > script that > automatically built this stage > # Please consult /etc/make.conf.example for a more > detailed example > CFLAGS="-O2 -march=i686 -fomit-frame-pointer" > CHOST="i686-pc-linux-gnu" > CXXFLAGS="${CFLAGS}" > MAKEOPTS="-j2" > USE="asterisk dbus ctype session zaptel ivtv > kerberos gphoto2 pcre > mode-owner -firefox seamonkey -mozilla candy apache2 > oss apm alsa arts > avi berkdb bitmap-fonts cdr crypt cups doc encode > fortran f77 foomaticdb > gdbm gif gpm gnome gstreamer gtk gtk2 imlib jpeg kde > libg++ libwww mad > mikmod motif mpeg ncurses nls oggvorbis pam pdf lib > png ppds python qt > quicktime readline samba sasl sdl threads nntp spell > ssl svga tcltk tcpd > truetype usb X xml xml2 xmms xv zlib x86 imap > offensive java mysql > examples mmx mmx2 perl divx4linux real mmxext > audiofile nas snmp hal > unicode guile slp tidy dvd dvdr dvdread flash glut > new-login > browserplugin nsplugin bzip2 win32codecs v4l v4l2 > ruby sql lirc mythtv > dvb ffmpeg userlocales php -debug jack jack-tempfs > portaudio > bash-completion bind-mysql joystick cli cgi ftp dba > nptl nptlonly > libclamav syslog jikes mpm-leader ithreads nautilus > tcl expat" > GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo"; > FEATURES="keepwork nostrip buildpkg fixpackages > parallel-fetch > -collision-protect emerge -va1 $(qfile -qC > /usr/lib/cups /etc/cups | sed > "s:net-print/cups$::") > " > PKGDIR=/usr/portage-packages/camille > ALSA_CARDS="hda-intel" > PORT_LOGDIR="/var/log/portage-logs" > PORTDIR_OVERLAY="/usr/local/portage" > #PORTDIR_OVERLAY="${PORTDIR_OVERLAY} > /usr/local/portage/berkano-overlay" > LINGUAS="en fr es" > PORTAGE_ELOG_CLASSES="warn error log" > PORTAGE_ELOG_SYSTEM="save mail" > PORTAGE_ELOG_MAILFROM="[EMAIL PROTECTED]" > DISTCC_DIR="${PORTAGE_TMPDIR}/.distcc" > PORTAGE_RSYNC_EXTRA_OPTS="--human-readable" > #PORTAGE_ELOG_MAILURI="[EMAIL PROTECTED] > root:[EMAIL PROTECTED]:25" > > Here's my /etc/ssmtp/revaliases: > camille etc # cat /etc/ssmtp/revaliases > # sSMTP aliases > # > # Format: > local_account:outgoing_address:mailhub > # > # Example: > root:[EMAIL PROTECTED]:mailhub.your.domain[:port] > # where [:port] is an optional port number that > defaults to 25. > # > michael:[EMAIL PROTECTED]:baby.espersunited.com > root:[EMAIL PROTECTED]:baby.espersunited.com > postmaster:[EMAIL PROTECTED]:baby.espersunited.com > portage:[EMAIL PROTECTED]:baby.espersunited.com > > And my ssmtp.conf: > > camille etc # cat /etc/ssmtp/ssmtp.conf > # > # /etc/ssmtp.conf -- a config file for sSMTP > sendmail. > # > > # The person who gets all mail for userids < 1000 > # Make this empty to disable rewriting. > [EMAIL PROTECTED] > > # The place where the mail goes. The actual machine > name is required > # no MX records are consulted. Commonly mailhosts > are named > mail.domain.com > # The example will fit if you are in domain.com and > your mailhub is so > named. > mailhub=baby.espersunited.com > > # Example for SMTP port number 2525 > # mailhub=mail.your.domain:2525 > # Example for SMTP port number 25 (Standard/RFC) > # mailhub=mail.your.domain > # Example for SSL encrypted connection > # mailhub=mail.your.domain:465 > > # Where will the mail seem to come from? > rewriteDomain=camille.espersunited.com > > # The full hostname > camille.espersunited.com >
Re: [gentoo-user] Qmail and Spamassassin won't integrate
On Mon, Apr 21, 2008 at 05:13:21PM -0600, darren kirby wrote: > quoth the Tim Garton: > > Hi Tim, > > > I run spamassassin with exim, so can't offer all that much help, but > > as for attempt 1 you may try running: > > spamc -R < {some file containing full source of a sample email} > > > > to make sure spamassassin is running correctly. It should spit back a > > score and a possibly a list of tests failed, depending on how > > spamassassin is configured. if you don't get this, or get a score > > like "0/0", something is wrong with your spamassassin setup. > > Thanks for this. 'spamc -R < testmail' was failing (hanging forever) > while 'spamassassin < testmail' was working fine. This led me to run the > spamc command within strace, which showed the command blocked during > a 'connect' call to 127.0.0.7. Would you believe it was a firewall issue? I > forgot to allow conections to localhost in my iptables script. > > > Also, you don't want the "-P" option anymore, it is deprecated and is > > the default behaviour of spamassassin now. And you definitely don't > > want it with spamc, since it is an invalid option. And yes, you do > > want to use "spamc" over "spamassassin" for performance reasons. > > Thanks for the explanation. > > After confirming spamc now works I played around some more. It seems my > ~/.qmail file was overriding the system-wide spam check in 'defaultdelivery'. > > I changed ~/.qmail from: > > |/var/qmail/bin/preline -f /usr/libexec/dovecot/deliver > > to: > > |spamc |/var/qmail/bin/preline -f /usr/libexec/dovecot/deliver > > ...and everything seems to be cherry now. All incoming mail now has X-Spam > headers added. > qmail-scanner (mail-filter/qmail-scanner) can take care of that too, as well as running the email through clamav (assuming you have that installed). -- Sean Guy in Chicken Suit: Enjoy your chicken sandwich. Stewie Griffin: Enjoy your studio apartment. pgpBFtFBSMajF.pgp Description: PGP signature
Re: [gentoo-user] Re: Mail system recommendations
On Wed, 2006-11-08 at 18:30 -0600, [EMAIL PROTECTED] wrote: > "Michael Crute" <[EMAIL PROTECTED]> writes: > > > On 11/8/06, Michael Sullivan <[EMAIL PROTECTED]> wrote: > >> I have a small network, consisting of three PCs. Each of these PCs has > >> a public WAN address, and each runs Apache, vsftpd and sendmail (as well > >> as ipkungfu for firewall protection). One of them runs mailman. I > >> would like to replace sendmail with something not so...shall we say > >> prehistoric? I've been advised many times to do so on this list and > >> others. Would anyone please give me some recommendations for a new > >> choice of mail server? I'd like one with plenty if documentation. > > > > For my money I would say run postfix. > > Your setups sound pretty similar to mine and I'll tell you that I've > several times attempted to switch ... I tried exim, postfix and > something else I've since forgotten. I've looked at postfix & qmail only. > > Each time I returned to sendmail and have decided each time that > sendmail actually has the best and most complete documentation. Ditto. > > It can be aggravating from time to time. My biggest trouble is > forgetting all I ever learned each time I need it again. Ditto. > > I'd stick with sendmail if I were you. Its usually something kind of > minor once you find the problem. > > Sendmail is by far the most versatile of them all. > > Spend some time learning the various tests one can run with sendmail > and you may be able to fix things yourself more often. > > I'd also suggest posting whatever problem is bothering you on > comp.mail.sendmail newsgroup. > > There is lots of expert help available there and a thorough search of > its archives can sometimes do the job without posting. > > -- > Just my .02. > -- Vladimir G. Ivanovic <[EMAIL PROTECTED]> -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Omitting blocked package when updating world
On Fri, 2005-10-14 at 19:09 -0400, C. Beamer wrote: > Hi, > > I've had Gentoo installed on my main computer for about a month now and > want to update world. > > When I did 'emerge --pretend --update --deep world' I got told that a > package that I had installed was blocking another package. I want to > update but omit the blocked package from the update, which incidentally > is not installed on my system. > > I looked in the Gentoo documentation which told me that I had 2 options > - to omit the blocked package or remove the blocked package. Since the > blocked package is not installed on my system, my only option is to > omit, but I couldn't find how to omit it in the documentation. Nor, > could I figure out from the man page how to do it. > > So what do I use to omit a package from being updated when I want to run > 'emerge --update --deep world' > > Regards, > > Colleen Hi, Think it mostly depends on which is the package in question. Seen three types of package blocking: 1.a new version blocking the old version of the same package - remove it then add again; 2.A new package wants to install but there is another package serving the same role, e.g mail-server: qmail, postfix, exim all provide - virtual/mta (IIRC), so only one could get installed; 3.Think it's your case. Some other package (which is installed) has a *new* dependency on another one (not installed), which provides the same 'virtual/...' as third one (installed). This could happen when using -D/--deep flag - try without it to check and use -t/-tree option to see the deps. But it depends on the package in question & friends. HTH.Rumen signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] dns at startup
David Corbin wrote: >When I boot my latpop, ntpdate doesn't work. It fails saying there is a >"temporary failure in name resolution" it cannot lookup pool.ntp.org . >After my system finishes booting, "/etc/init.d/ntp-client start" works fine. >The script is running nearly last from the output, and after a few other >'network related' scripts (exim, mysql, lisa), so I don't *think* it's >'running too early'. > >When I look through the init.d scripts, there are a handful that 'use dns', >but no one seems to provide it. I'm not sure this is the cause, but I'd like >to understand why no one provides it. More important though is fixing it so >ntpdate works on boot. > > > Hi, I have the same problem here. Temporarily what I did was after the machine has booted up, I run the ntp-client script by hand as root. Nothing elegant there. However, evidently, the script _is_ running to early, definitely earlier than your network setup. Once resolv.conf is set up properly and the nameservers in there are reachable, your error would go away. I am on home ADSL and I realise that although my resolv.conf is static [since their DNS are fixed], I should still run ntp-client _after_ the link to DNSes is up [via my USB modem]. I am yet to ensure that this script starts after my network config script start. My netconfig script is actually hand crafted - since my modem is unsupported sort of. So I had put that script last in the startup order. Hence my problem - something similar may be happening at your end. "use dns" probably refers to DNS server [running on your local host - which is not the case with most of us, as we don't run DNSes of our own] HTH, Rohit -- gentoo-user@gentoo.org mailing list
Re[2]: [gentoo-user] merge-usr and SPF implementations
Michael wrote on Friday, 29. März 2024 18:53: > On Friday, 29 March 2024 16:05:29 GMT Stefan Schmiedl wrote: >> Greetings. >> After updating profiles, I decided to try switching to merged-user, too, >> following the wiki page at https://wiki.gentoo.org/wiki/Merge-usr >> One server reported during the dry run: >> ERROR: Conflict for file '/usr/sbin/spfd': [Errno 17] File exists: >> '/usr/bin/spfd' >> # equery belongs /usr/bin/spfd >> * Searching for /usr/bin/spfd ... >> mail-filter/libspf2-1.2.11 (/usr/bin/spfd) >> # equery belongs /usr/sbin/spfd >> * Searching for /usr/sbin/spfd ... >> dev-perl/Mail-SPF-2.9.0-r3 (/usr/sbin/spfd) >> That does put me in a bit of a pickle, as both are active dependencies >> pulled in by essential software: >> # emerge -cav Mail-SPF >> Calculating dependencies ... done! >> dev-perl/Mail-SPF-2.9.0-r3 pulled in by: >> mail-filter/spamassassin-4.0.0-r4 requires dev-perl/Mail-SPF >>>>> No packages selected for removal by depclean >> # emerge -cav libspf2 >> Calculating dependencies... done! >> mail-filter/libspf2-1.2.11 pulled in by: >> mail-filter/opendmarc-1.4.1.1-r5 requires mail-filter/libspf2 >> mail-mta/exim-4.97.1-r5 requires >=mail-filter/libspf2-1.2.5-r1 >> What is the recommended way to proceed in this scenario? >> Regards, >> Stefan > My guess and this is only a guess, is the two binaries are in separate > subdirectories of /usr and therefore there shouldn't be a problem. Before > you > progress with this you could raise a bug, or try to seek a dev's advice on > IRC. A fresh backup before you make any changes is definitely a good idea. Quoting the wiki page: "In addition, the script applies the "sbin merge" at the same time where /sbin and /usr/sbin are both actually merged to /usr/bin." So while it is not a problem with split-usr, those two packages will clash with merged-usr. https://bugs.gentoo.org/928140 Thanks, s.
Re: [gentoo-user] FW: mail-mta/exim (is blocking mail-mta/ssmtp-2.61-r2) (more info added)
On Thursday 31 May 2007 04:37:52 Boyd Stephen Smith Jr. wrote: > If it's really useful, it should be chmod'd +x and installed or linked > into /usr/sbin. I can do that myself (in that case /usr/local/sbin), but > such wonderful utilities shouldn't be hidden. :) I can't really disagree with that, heh. It has been added to the faq though, however, it won't go online till the next release. > > It does still lack a couple of features though. > > Namely --library and the ability to pick another version when the ebuild > > for an installed version has been removed. At least the latter is soon to > > come. > > I noticed it was also trying to reinstall all my binary-only packages: > sun-jdk, blackdown-jdk, skype, and emul-linux-x86-compat. I guess > revdep-rebuild has some blacklist that prevents it from doing so. Ah yeah, forgot that one. It doesn't parse the variables that control where revdep-rebuild should and shouldn't look and what libs it should ignore. Instead it iterates over each installed package and runs ldd on every *.la and *.so* file. > > But at least it will never use the horrible hack that revdep-rebuild uses > > with --package-names because of the lack of support for the > > =category/package-version:slot syntax in portage-2.0* which it still > > supports.. :) > > You mean that portage actually supports slot deps now? Yes. There shouldn't have been an equal sign though. Using it in the tree is against policy, however, until we get an EAPI bump. But the new python-updater does take advantage of it and drops the horrible hacks it used to use. Also because portage has become much better at figuring out the build order with --deep when handed a list of broken packages in random order. Really dropping the horrible hacks in revdep-rebuild would be easy when just raising the dependency on portage to >=2.1.2. -- Bo Andresen signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: Unable to locate mail
> Thanks Chris, I never understood this [EMAIL PROTECTED] (probably because I > have inadequate knowledge of many matters relating to mail within an OS). > Where is [EMAIL PROTECTED], where is mail for [EMAIL PROTECTED] stored, how > is it > meant to be retrieved? localhost means your box. Any network traffic destined for the localhost goes through the "loopback device" and shows up right where it left. localhost resolves to 127.0.0.1, as you'll notice in any default /etc/hosts. If you have sshd running on a box, you can "ssh localhost". If you have apache running, you could type in your browser "http://localhost/";. Using localhost works on Windows too... Most importantly (to this discussion) ... > Is this meant to be a real (external) mail server e.g. smtp.my_isp.com, or > is there a Linux OS setup I can use internally without mail leaving the > box? If you have an MTA (Mail transfer agent) running on your box, you can relay e-mail through your localhost. However, chances are you don't want to run a full-blown MTA, not even to deliver root e-mails. These programs would include postfix, exim, and sendmail. Although it can be quite trivial to restrict traffic to your localhost, an MTA like postfix is really overkill for a personal computer. Instead, you can configure ssmtp to relay through somebody elses' SMTP server. The problem is that if you e-mail something to "[EMAIL PROTECTED]", but connect to smtp.yourisp.com, localhost still means "127.0.0.1," which as far as smtp.yourisp.com is concerned, is /their/ localhost, not yours. Thus, you implement a reverse alias in /etc/ssmtp/revaliases. That way, any outgoing mail destined for root, the headers can be rewritten to have it sent to [EMAIL PROTECTED] So, if you're not running an smtp server on your localhost (and you probably don't need to be... shouldn't be), you could relay through your ISP. But, you may not want clear text about problems with your machine flying around the internet... It does raise security concerns, but you're probably ok to do it. -Chris -- Christopher Cowart Unix Systems Administrator Residential Computing, UC Berkeley "May all your pushes be popped" signature.asc Description: Digital signature
Re: Re: [gentoo-user] Re: Messed up mail access rights
Meh, you could always chmod -R 770 * from the top dir of the maildir and see what happens (since the "Mail" dir is 770, it's quite possible all the other dirs should have same permissions). If that screws it up even more or doesn't work, you can always restore your backup again.On 9/27/05, Michael Kintzios <[EMAIL PROTECTED]> wrote: > -Original Message-> From: Michael Kintzios [mailto:[EMAIL PROTECTED]]> Sent: 26 September 2005 21:50> To: gentoo-user@lists.gentoo.org> Subject: Re: Re: [gentoo-user] Re: Messed up mail access rights>>> > From:: Neil Bothwick <[EMAIL PROTECTED]> > > To: gentoo-user@lists.gentoo.org> > Subject: Re: [gentoo-user] Re: Messed up mail access rights> > Date: Mon, 26 Sep 2005 10:19:25 +0100 >> > On Sat, 24 Sep 2005 10:04:13 +, Mick wrote:> > > > Providing some basic information such as what mail> servers are you> > > > using would be a big plus to get an answer from someone. > > > Unfortunately it's a sendmail setup on a hosted account> and no info is> > > forthcoming from the admin. It seems like an mbox style mail> > > implementation. That's all I know about it I'm afraid. > > You could telnet into the server to see what the software identifies> > itself as.>> Thanks, this is what I got:>> > "telnet servername 25" for the SMTP server >> 220-viv.XXX.com ESMTP Exim 4.50 #1 Mon, 26 Sep 2005> 16:39:45 -0400> 220-We do not authorize the use of this system to transport> unsolicited, > 220 and/or bulk e-mail.>> > "telnet servername 110" for the POP server>> +OK POP3 viva [cppop 19.0] at [XX.XX.XXX.XXX]>> > "telnet servername 143" for the IMAP server >> * OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS AUTH=LOGIN]> viv.XX.com IMAP4rev1 2003.339-cpanel at Mon, 26 Sep> 2005 16:45:38 -0400 (EDT)> > Is this enough to ascertain what the access rights ought to be?>> PS. What the recommended Gentoo telnet client?The lot is also accessible via Horde's and squirrel mail web gui's - notsure if that's relevant but thought I better mention it. --Regards,Mick--gentoo-user@gentoo.org mailing list-- - Mark Shields
Re: [gentoo-user] Simple SMTP queue for a laptop
On Oct 26, 2005, at 12:27 pm, John Jolet wrote: ... So what I'm looking for is a program that acts like 'sendmail' (so that I can send email from mutt), and when it gets mail to send it stores it in a queue Some kind of command like: $ sudo dump_all_mail_to smtp.wherever.i.am.net Does such a program exist? Really I'm just looking for something like ssmtp, but with a queue. most mtas (postfix, sendmail, and exim for sure) have multiple ways of being called. One of which is a "send your queue and die" mode. pick an mta and read the docs. Postfix would be _ideal_ except that "relayhost" is static. I don't believe there is any way to define "relayhost" to change according to your current ISP. So if he runs `postfix flush`: - and he has no "relayhost" defined then some ISPs will reject his mail because it comes from dial-129.crummy.isp.net (AOL like to do this) - and he has his home ISP's SMTP server listed then it will likely fail when sending mail from his office. Apple's email program handles this pretty well, accepting a list of SMTP servers that it'll try in turn, but I don't know about any of the Linux email programs. I would have thought that the ideal solution for the original poster would be to find an SMTP server that he can access from anywhere, probably using authenticated SMTP. If he wants a queue for when his laptop is offline then he uses Postfix locally & sets the authenticating SMTP server as "relayhost" - all messages will be delivered that way when he runs `postfix flush`. I believe that Yahoo! & GMail offer outgoing authenticated SMTP services, and if you have a Yahoo.co.uk address this is free. Alternatively he could set up Postfix on his home server & relay through that. The final solution (that i can think of) would be to write a dump_all_mail_to script that takes $1 and edits it into the "relayhost" line of /etc/postfix/main.cf but I'm inclined to think that the other solutions are "better" because they're more "standardised". Stroller. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Spamassassin: Ignoring setup ???
Hi, I am using spamassassin in combination with exim and Emacs/Mew to handle my mails. Everything seems to work well. Spamassassin recognizes spam and write a X-Spam_score: 5.1 X-Spam_score_int: 51 X-Spam_bar: + X-Spam_report: Spam detection software, running on the system "solfire", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Content-Type: text/plain Content-Transfer-Encoding: 8bit Mr.Bob Watts, [...] Content analysis details: (5.1 points, 5.0 required) pts rule name description -- -- 1.2 SUBJ_ALL_CAPS Subject is all capitals 0.9 DEAR_FRIEND BODY: Dear Friend? That's not very dear! 1.2 BLANK_LINES_70_80 BODY: Message body has 70-80% blank lines0.5 DNS_FROM_RFC_ABUSE RBL: Envelope sender in abuse.rfc-ignorant.org 1.3 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see <http://www.spamcop.net/bl.shtml?207.178.136.150! >] 0.0 ADVANCE_FEE_1 Appears to be advance fee fraud (Nigerian >419) -field into the header of suspicious mails (exact output depends on the spam contents itsself). Unfortunately I haven't figured out how to convince Mew to scan not only the "official" mail header parts like "To:", "From:" and such but also any other entry in the header. What remains is: I have to look for spam myself and being "happy", that spamassassin has judged this or that mail as spam also. It would be nice, if spamassassin would put a "***SPAM***" directly into the "Subject:"-field, which can be scanned by Mew. In /etc/spamassassin/local.cf I found the following entry: # Add *SPAM* to the Subject header of spam e-mails # rewrite_header Subject *SPAM* add-header but.it seems to achieve nothing. Do I have to "enable" this somewhere else? Or why is spamassassin silently ignoring my wishes. Am I spam mysself ? ;) ;O)) I would be hapy about any hint about this problem! Kind regards, Meino Cramer -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Simple SMTP to cmd-line MTA relay?
On 01/19/2018 11:03 AM, Grant Edwards wrote: I need to setup an SMTP relay server. Okay. It needs to accept messages as an SMTP server (using SSL and AUTH on a non-standard port) from a single user and single source and then relay them by passing them to a command-line MTA (e.g. /usr/bin/sendmail replacement provided by msmtp). I'm not completely clear on what you're wanting. But it sounds like you want to be able to send email by passing the output of into the input of /usr/sbin/sendmail (or the likes). Is th It only needs to handle a few messages per week, and doesn't need to handle more than one connection at a time. IMHO the number of message is mostly immaterial. exim? postfix? emailrelay? My personal MTA of choice is sendmail. What I can't figure out for the above is how you configure them to send the mail using a command line MTA like /usr/bin/sendmail or /usr/bin/msmtp instead of initiating a network connection to an SMTP server. I haven't done enough with the above (alternate) MTAs to be able to speak to them. But my understanding is that they come with a /path/to/sendmail wrapper script (or binary) that emulates part of what the sendmail binary did. At least the portions there of that clients use to submit email the way that you're talking. I'm currently using something I wrote in Python, but the SSL support in the 3rd party SMTP module is broken and I don't relish trying to fix it. Do you actually need a local MTA (daemon)? Or do you just need something smart enough to accept messages from standard in and pass them out via a smart host? IMHO this is trivial to do with Sendmail, and how I would do it. If you want to go that route, let me know and I'm happy to help. -- Grant. . . . unix || die smime.p7s Description: S/MIME Cryptographic Signature
[gentoo-user] Re: Simple SMTP to cmd-line MTA relay?
On 2018-01-19, Ralph Seichter wrote: > On 19.01.18 19:03, Grant Edwards wrote: > >> I need to setup an SMTP relay server. >> >> It needs to accept messages as an SMTP server (using SSL and AUTH on a >> non-standard port) from a single user and single source and then relay >> them by passing them to a command-line MTA (e.g. /usr/bin/sendmail >> replacement provided by msmtp). > > Based on your description you seem to have things backward. I want to accept incoming email via SMTP (my computer is an SMTP server). I want to relay each of those messages by invoking a command-line utility that has the same "API" as /usr/bin/sendmail. That utility injects the mail into another machine's MTA. > Sendmail is used to inject mail into an MTA on the local machine, > and the MTA can then use SMTP to transfer said mail to another > server. In this case, the /usr/bin/sendmail utility transfers the message to a different machine's MTA using mechanisms that are beyond the scope of my question. > If the final recipient (i.e. mailbox) is on the same server the mail is > generated on, the MTA can use a local transport mechanism to store mail > instead of passing it on via SMTP. There is no local delivery. It is a relay that accepts mail via SMTP and transfers it to a different MTA. The usual way to do this is to accept mail as an SMTP server and then relay it to the next MTA by acting as an SMTP client (e.g. via postfix's 'relayhost' setting). Instead of transfering mail to the next MTA by acting as an SMTP client, I want to transfer it by invoking a command-line utility like sendmail or msmtp. > I suggest you clarify your goal, and ask on the Postfix mailing list > (or Exim, etc.) for more information. Will do. -- Grant Edwards grant.b.edwardsYow! Everywhere I look I at see NEGATIVITY and ASPHALT gmail.com...
Re: [gentoo-user] /etc/crontab - sending notification to a different user
In /etc/postfix/main.cf I only have: myorigin = gmail.com If I use: myorigin = sysc...@gmail.com I get an error message; Aug 31 14:28:02 i5 postfix/smtp[25841]: 1A31217E00EC: to=, relay=smtp.gmail.com[142.250.99.109]:587, delay=0.54, delays=0.01/0/0.5/0.03, dsn=5.1.3, status=bounced (host smtp.gmail.com[142.250.99.109] said: 553-5.1.3 The recipient address is not a valid RFC 553-5.1.3 5321 address. my /etc/postfix/sender_canonical /^root@gmail\.com$/ sysc...@gmail.com On Sat, Aug 31, 2024 at 2:17 PM Michael wrote: > On Saturday, 31 August 2024 20:34:49 BST syscon edm wrote: > > Sorry, the cron entry should be: > > 55 12 * * * mv /var/spool/asterisk/monitor/* /home/thelma/mon/ > > 1-5 is Monday to Friday > > > > mail.log: > > > > Aug 31 13:24:01 i5 postfix/qmgr[32301]: 0880F17E00EB: from=< > > sysc...@gmail.com>, size=699, nrcpt=1 (queue active) > > Aug 31 13:24:02 i5 postfix/smtp[9110]: 0880F17E00EB: to= >, > > orig_to=, > > You probably have in your /etc/postfix/main.cf: > > myorigin = $some_user@some_domain.com > > where some_user@some_domain.com is not sysc...@gmail.com, but root@*? > > > > relay=smtp.gmail.com[142.250.99.108]:587, delay=1.3, > > delays=0.02/0.01/0.55/0.68, dsn=2.0.0, status=sent (250 2.0.0 OK > > 1725132231 98e67ed59e1d1-2d85b0fdf44sm6088797a91.6 - gsmtp) > > Aug 31 13:24:02 i5 postfix/qmgr[32301]: 0880F17E00EB: removed > > > > Gmail is accepting the mail but it is sending to "root" instead of > "syscon8" > > > > My cat /etc/mail/aliases > > # Basic system aliases -- these MUST be present. > > MAILER-DAEMON: postmaster > > postmaster: root > > > > # General redirections for pseudo accounts. > > adm:root > > bin:root > > daemon: root > > exim: root > > lp: root > > mail: root > > named: root > > nobody: root > > postfix:root > > > > # Well-known aliases -- these should be filled in! > > root: sysc...@gmail.com > > fd: sysc...@gmail.com > > # operator: > > > > # Standard RFC2142 aliases > > abuse: postmaster > > ftp:root > > hostmaster: root > > news: usenet > > noc:root > > security: root > > usenet: root > > uucp: root > > webmaster: root > > www:webmaster > > You can grep your postfix files for root and root@ to find the culprit. > It > seems your postfix configuration is rewriting the 'Send As' name, if not > whole > address. My Postfix knowledge is rather out of date, but current users > should > be able to advise with a specific fix for this problem. >
Re: [gentoo-user] Mail systems
On 05/10/10 17:36, Hans-Werner Hilse wrote: > Hi, > > On Mon, 10 Oct 2005 15:54:12 +0200 > Jean Magnan de Bornier <[EMAIL PROTECTED]> wrote: > > > | I've liked the fetchmail->procmail setup as I can have procmail process > > | the mail in many ways and even though Opera can do much of that I'ld like > > | to keep this process. > > > > OK, sorry, I remember now why I gave up using opera! > > > > What you can do is setting up a mail server, (postfix, exim, qmail) as an > > imap server on your machine. Fetchmail keeps its business as before, now > > feeding your mail server; you can point opera to your server. > > > > Procmail would not be used in this case, but you can organize folders > > within opera... > > Hm, a couple of things here: > > - both Opera and Pine can talk SMTP. So no need for a SMTP Server (MTA) > here (postfix, exim, qmail,...). > > - fetchmail can use arbitrary MDAs, so even for delivery no need for a > mail server (the OP probably knows this as he did only mention > fetchmail and procmail). > > - Pine and Opera have different backends for local mail file storage. > > - Pine and Opera both support IMAP as backend (can't talk for Opera > here, but IMAP using Pine is just amazingly fast). > > Consequence (same as above cited but a little bit different explained) > is: using IMAP backend would probably be the way to go. This could be > e.g. Cyrus, UW-Imapd, dovecot, Courier. I have used Cyrus and Dovecot > and can recommend both. Cyrus makes sense for multiple users and for > those who like the Sieve mailfilter (like me). > > IMAP servers usually bring their own utility for dropping mails into > the mailstore. One would pipe the mail from procmail into such a > program and configure Pine/Opera/other MUA to use the IMAP backend. In case of Courier, you can just make procmail put the mails in a (set of) local folder(s) under a given directory, then configure Courier to use that directory as its base to look for your mails. The folders under the directory has to be named ".folder_name" where folder_name is (you guessed it) the name of the folder you sort the mail into. Every dot in the folder-name will expand to a subdirectory when you are watching the imap-server in your mail-client. Here is a little more concrete example of how to lay it out: === Procmail === Set MAILDIR in your .procmailrc to the base directory of where you want to put your mails. For me that is $HOME/.maildir (since that's the default location Courier is set up to look...) Then change your filters so that they put the mails into subfolders of MAILDIR. :0 * ^List-Id.*gentoo-user\.gentoo\.org .gentoo-user/ Note the dot in front of the folder name! Courier expects this layout! If you want to make the gentoo-user "folder" displayed as a subfolder of for example a "lists" folder in your mail client, then you rewrite the last line like so: .lists.gentoo-user/ If you look at the directory structure under $MAILDIR when you've let procmail filter some mails, then it'll probably look something like this (depending on how you filter your mails): $ ls -a1 $HOME/.maildir ./ ../ .inbox .lists.gentoo-user .lists.gentoo-dev .lists.fvwm [and so on...] === Courier-imap === You'll have to emerge courier-imap to use Courier's imap server. # emerge net-mail/courier-imap The only thing you'll have to set in courier-imap's config (/etc/courier-imap/imapd) is where you store your emails, and what IP adress you want to bind it too. Set ADDRESS to the IP you want to bind courier-imap to. For example 127.0.0.1 if you only want local email clients to be able to connect. Then set MAILDIR and MAILDIRPATH to your procmail recipies base directory (MAILDIR in ~/.procmailrc without the $HOME/ part). In my case (/etc/courier-imap/imapd): ADDRESS=127.0.0.1 MAILDIR=.maildir MAILDIRPATH=.maildir Also, if you want to use ssl for your connections, you'll have to generate certificates for the imap server: # cd /etc/courier-imap # $EDITOR imapd.cnf (Change the C, ST, L, CN, and email parameters to match your server) # mkimapdcert You might have to change which ways that courier will try to authenticate you if you have any troubles loggin in. Look for "authmodulelist" in /etc/courier/authlib/authdaemonrc and remove those modules you don't want/need. I only have "authpam" there myself. Then start the courier-imap service: # /etc/init.d/courier-imapd start (if you want ssl encrypted connection:) /etc/init.d/courier-imapd-ssl start This should be all you have to do to have a working Courier IMAP server on your system... The biggest problem you'll have is probably to migrate your existing emails from your local setup to the IMAP way. But that's
Re[2]: [gentoo-user] Is it sefe to unmerge?
Hi Alan, Wednesday, February 13, 2008, 6:22:33 PM, you wrote: > On Wednesday 13 February 2008, Sergey Kobzar wrote: >> Hi >> >> 'emerge -pv --depclean' shows that these packages may be unmerged: > >> app-crypt/hashalot >> sys-libs/pwdb >> sys-apps/attr >> >> Is it safe to remove they from the system? This is mail server and >> has mostly no additional packages except exim, mysql, spamassassin >> and some other. > This means that you never explicitly merged them, they are not in world > and are no longer required by anything else. There are normally three > reasons: > - you merged something that needed these packages, then unmerged them > later, leaving these dependencies orphaned > - you merged something else that used them, and in a recent update they > are now using something else that provides the same functionality > - they were required by some USE flag you once had, and you have now > changed your USE, so the deps are no longer required. Yes, that the theory I know about :) But looks like they are not in world list of stage3. I'm 99% sure I didn't merge hashalot & attr (as dependencies too). > You'll need to look at each package and figure out if YOU need them, as > we can't tell you that. I might think that you don't need your wife > under any circumstances, and you might strongly disagree :-) :) > I once knew what hashalot does. I forgot. It's something to do with > cryptography %description This program will read a passphrase from standard input and print a binary (not printable) hash to standard output. The output is suitable for use as an encryption key. > pwdb is used as a password and user account configuration thingy. Looks > pretty important :-) I think so. > attr provides extended attributes to ext2/3 and XFS file systems, used > by selinux and posix capabilities. If you use these features, you > already are aware of it. So, if I use reiserfs w/o ext attrs (option in kernel), I don't need it probably. Correct? > When you figure out which ones to keep, it's best to put them in your > world file. Either edit /var/lib/portage/world and stick the name at > the end, or run 'emerge -n ' Thanks. > -- > Alan McKinnon > alan dot mckinnon at gmail dot com -- Sergey -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Re: Re: Unable to locate mail
Christopher Cowart wrote: > >> Thanks Chris, I never understood this [EMAIL PROTECTED] (probably because I >> have inadequate knowledge of many matters relating to mail within an OS). >> Where is [EMAIL PROTECTED], where is mail for [EMAIL PROTECTED] stored, how >> is >> it meant to be retrieved? > localhost means your box. Any network traffic destined for the localhost > goes through the "loopback device" and shows up right where it left. > localhost resolves to 127.0.0.1, as you'll notice in any default > /etc/hosts. If you have sshd running on a box, you can "ssh localhost". > If you have apache running, you could type in your browser > "http://localhost/";. Using localhost works on Windows too... > > Most importantly (to this discussion) ... >> Is this meant to be a real (external) mail server e.g. smtp.my_isp.com, >> or is there a Linux OS setup I can use internally without mail leaving >> the box? > If you have an MTA (Mail transfer agent) running on your box, you can > relay e-mail through your localhost. However, chances are you don't want > to run a full-blown MTA, not even to deliver root e-mails. These > programs would include postfix, exim, and sendmail. Although it can be > quite trivial to restrict traffic to your localhost, an MTA like postfix > is really overkill for a personal computer. Indeed. > Instead, you can configure ssmtp to relay through somebody elses' SMTP > server. The problem is that if you e-mail something to "[EMAIL PROTECTED]", > but connect to smtp.yourisp.com, localhost still means "127.0.0.1," > which as far as smtp.yourisp.com is concerned, is /their/ localhost, not > yours. Thus, you implement a reverse alias in /etc/ssmtp/revaliases. > That way, any outgoing mail destined for root, the headers can be > rewritten to have it sent to [EMAIL PROTECTED] Understood. > So, if you're not running an smtp server on your localhost (and you > probably don't need to be... shouldn't be), you could relay through your > ISP. But, you may not want clear text about problems with your machine > flying around the internet... It does raise security concerns, but > you're probably ok to do it. I am thinking that mailing is probably not required for my needs. The dead.letter file in /root should capture all these messages? Thanks again a most clear explanation. -- Regards, Mick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] opinions & know-how requested: how to create a mail cluster
daniel wrote: My boss wants me to create a bunch of mail relays to capture and relay mail sent to us and discard spam etc, but I'm not sure where to start. I'd like to use exim unless you all have a better idea. To be honest, at the moment, I'm not sure where to start. Here's a simple diagram that might help you understand what it is we want to do (fixed width font will help): [SMTP] [SMTP][SMTP] [SMTP] | || | +-++---+-+ | [SMTP+POP3] Each of the SMTP servers have different routeable IPs and are linked together via a RoundRobin DNS. Their sole purpose would be to check mail being sent to them against a list of known users @ourdomain.com and possibly filter spam as well. Messages that satisfy the filter would then be forwarded to the main mail server where we would all pick up our mail with our various email clients. So at the moment, my main issues are: - How do I replicate the user list from the master to the satellites? - What MTA should I use on the satellites and how would I configure it? I am assuming (from the 4 smtp servers) that you have at least several hundred users, who receive lots of email. That being said, surely you must be using LDAP. As to the MTA, well pick your poison. I'm a Sendmail guy, but that's just me. My first thought is that your first line of defense should be a bank of smtp servers that know nothing of your internal users. The first line of defense should be focused on virus detection, adherence to SMTP protocols and RFCs, greet-pause, listing (black, white and grey) and my personal favorite, the tar-pit. Only mail that gets past the first line of defense gets to a SMTP server that knows or cares about user account names. And another thing, if your company is as large as it should be to justify 4 outside STMP servers, why would you be using pop? Use IMAP (and probably Maildirs) so mail can be backed up to tape and not scattered across hundreds of workstations. Just my first thoughts, based on no actual knowledge of your environment. Best, Ray -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] mailman stopped working after upgrade
Here is a related bug: http://bugs.gentoo.org/show_bug.cgi?id=106403 Rob said that "This is also in mailman-2.1.5-r4. MAILGID is set to 280 which is the new user id for mailman. MAILGID should be 12." How do I set the MAILGID from 280 to 12? I had this same idea last night to try it. If I change the .ebuild, then I get MD5 verify errors and it won't compile. How come this version used to work? Did something else change? I've diff'd the ebuilds and they all show 280, or were they different before and my emerge synch replaced the .ebuilds with updated ones? > -Original Message- > From: Daevid Vincent [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 15, 2005 1:46 PM > To: gentoo-user@lists.gentoo.org > Subject: RE: [gentoo-user] mailman stopped working after upgrade > > Okay. Last night I ripped out every 'mailman' directory and > file I could > find. Unmerged mailman. Backed up my lists. And re-emerged > mailman. Same f'n > problem. WTF?! > > Sep 15 13:31:17 [Mailman mail-wrapper] Group mismatch error. Mailman > expected the mail_wrapper script to be executed as group > "mailman", but_the > system's mail server executed the mail script as_group > "mail". Try tweaking > the mail server to run the_script as group "mailman", or > re-run configure, > _providing the command line option `--with-mail-gid=mail'._ > > Sep 15 13:31:17 [exim] 2005-09-15 13:31:17 1EG0O5-0005FA-EW ** > |/usr/local/mailman/mail/mailman post rbc <[EMAIL PROTECTED]> > R=system_aliases > T=address_pipe: Child process of address_pipe transport > returned 2 from > command: /usr/local/mailman/mail/mailman > > > Upgrading from version 0x to 0x20105f0 > getting rid of old source files > no lists == nothing to do, exiting > * Running `/usr/local/mailman/bin/check_perms -f` * > directory must be at least 02775: /usr/local/mailman/logs (fixing) > directory permissions must be 02775: /usr/local/mailman/lists (fixing) > directory permissions must be 02775: /usr/local/mailman/locks (fixing) > directory permissions must be 02775: /usr/local/mailman/spam (fixing) > directory permissions must be 02770: > /usr/local/mailman/qfiles (fixing) > ... > > daevid portage-logs # /usr/local/mailman/bin/check_perms -f > No problems found > > daevid portage-logs # su mailman > [EMAIL PROTECTED] /var/tmp/portage-logs $ /usr/local/mailman/bin/check_perms -f > No problems found > > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Simple SMTP queue for a laptop
On Oct 26, 2005, at 3:22 PM, Stroller wrote: On Oct 26, 2005, at 12:27 pm, John Jolet wrote: ... So what I'm looking for is a program that acts like 'sendmail' (so that I can send email from mutt), and when it gets mail to send it stores it in a queue Some kind of command like: $ sudo dump_all_mail_to smtp.wherever.i.am.net Does such a program exist? Really I'm just looking for something like ssmtp, but with a queue. most mtas (postfix, sendmail, and exim for sure) have multiple ways of being called. One of which is a "send your queue and die" mode. pick an mta and read the docs. Postfix would be _ideal_ except that "relayhost" is static. I don't believe there is any way to define "relayhost" to change according to your current ISP. hadn't thought of that, since my home mail server allows authenticated smtp. darn. So if he runs `postfix flush`: - and he has no "relayhost" defined then some ISPs will reject his mail because it comes from dial-129.crummy.isp.net (AOL like to do this) - and he has his home ISP's SMTP server listed then it will likely fail when sending mail from his office. Apple's email program handles this pretty well, accepting a list of SMTP servers that it'll try in turn, but I don't know about any of the Linux email programs. I would have thought that the ideal solution for the original poster would be to find an SMTP server that he can access from anywhere, probably using authenticated SMTP. If he wants a queue for when his laptop is offline then he uses Postfix locally & sets the authenticating SMTP server as "relayhost" - all messages will be delivered that way when he runs `postfix flush`. I believe that Yahoo! & GMail offer outgoing authenticated SMTP services, and if you have a Yahoo.co.uk address this is free. Alternatively he could set up Postfix on his home server & relay through that. The final solution (that i can think of) would be to write a dump_all_mail_to script that takes $1 and edits it into the "relayhost" line of /etc/postfix/main.cf but I'm inclined to think that the other solutions are "better" because they're more "standardised". Stroller. -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Spamassassin: Ignoring setup ???
On 5/30/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote: Hi, I am using spamassassin in combination with exim and Emacs/Mew to handle my mails. Everything seems to work well. Spamassassin recognizes spam and write a X-Spam_score: 5.1 X-Spam_score_int: 51 X-Spam_bar: + X-Spam_report: Spam detection software, running on the system "solfire", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or labelsimilar future email. If you have any questions, see the administrator of that system for details. Content preview: Content-Type: text/plain Content-Transfer-Encoding: 8bit Mr.Bob Watts, [...] Content analysis details: (5.1 points, 5.0 required) pts rule name description -- -- 1.2 SUBJ_ALL_CAPS Subject is all capitals 0.9 DEAR_FRIENDBODY: Dear Friend? That's not very dear! 1.2 BLANK_LINES_70_80 BODY: Message body has 70-80% blank lines0.5 DNS_FROM_RFC_ABUSE RBL: Envelope sender in abuse.rfc-ignorant.org 1.3 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see < http://www.spamcop.net/bl.shtml?207.178.136.150 ! >] 0.0 ADVANCE_FEE_1 Appears to be advance fee fraud (Nigerian 419) -field into the header of suspicious mails (exact output depends on the spam contents itsself). Unfortunately I haven't figured out how to convince Mew to scan not only the "official" mail header parts like "To:", "From:" and such but also any other entry in the header. What remains is: I have to look for spam myself and being "happy", that spamassassin has judged this or that mail as spam also. It would be nice, if spamassassin would put a "***SPAM***" directly into the "Subject:"-field, which can be scanned by Mew. In /etc/spamassassin/local.cf I found the following entry:# Add *SPAM* to the Subject header of spam e-mails#rewrite_header Subject *SPAM*add-header but.it seems to achieve nothing. Do I have to "enable" this somewhere else? Or why is spamassassin silently ignoring my wishes. Am I spam mysself ? ;) ;O)) I would be hapy about any hint about this problem! Kind regards, Meino Cramer--gentoo-user@gentoo.org mailing listDid you install spam assassin from emerge, CPAN, or other source? My CPAN version looks for /etc/mail/spamassassin/* for example. If you do#vi `which spamd`you can see where it is looking for the config files. Might be a good start.-- () The ASCII Ribbon Campaign - against HTML Email, /\ vCards, and proprietary formats.
RE: [gentoo-user] Gnome / problem registering the panel with bonobo-activation-server / error code 3
I've still got no gnome working and no idea how to fix this. I joined the gnome list, but it's useless. I've posted several times, and nothing gets through to it! I use DynDNS so it should work fine. The Exim list (which blocks too) works. In any event, it's so low volume (shocking considering how "huge" gnome is), I wonder if there is more than a handful of people on it to begin with. But I digress... This weekend, I did an "emerge -au world" and after two days, and like 160 packages, and all the 'etc-update' and stuff, still no gnome love. rev-dep rebuild. Not even a some lube. Then I did an "emerge -aDu gnome" and it compiled like 59 more packages. Guess what... Yep. Gnome still hates me and is putting it right in my pooper. Dry. So now I'm out of ideas. Is there a 'debug' mode or something I can see what or why whatever is crashing? How can I be the *only* one having this issue?! > -Original Message- > From: Daevid Vincent [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 21, 2007 10:32 PM > To: gentoo-user@lists.gentoo.org > Subject: [gentoo-user] Gnome / problem registering the panel > with bonobo-activation-server / error code 3 > > Okay. My gnome is broken and has been for some time and I > can't seem to fix > it or find any solutions on the web. I was hoping eventually > some emerge would fix it magically for me. > > When I start it (even as root), it gets to the third icon > (like a desktop looking one), > then gives me some "Nautilus can't be used now, due to an > unexpected error" while attempting to register the file > manager view server. > There is also another error window that says something about "problem > registering the panel with bonobo-activation-server" and > "error code is 3". > Then I click "ok" and it exits. Leaving me with an empty itty-bitty > checker-board like pattern screen and a mouse pointer. I have to hit > CTRL+ALT+BKSP to get out of it. > > I've tried to re-emerge > > gnome-base/libbonobo 2.16.0 > gnome-base/libbonoboui 2.16.0 > gnome-base/orbit 2.14.2 > gnome-base/nautilus 2.16.3 > > And nothing is fixing it. > > I've also done a rev-dep-rebuild to no avail. > > Ideas? > > -- > [EMAIL PROTECTED] mailing list > > -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: Simple SMTP to cmd-line MTA relay?
On 01/19/2018 04:58 PM, Grant Edwards wrote: That would require seperate outbound transports that are selected based on how the mail was read: smtp vs. /usr/bin/sendmail (the real one). Okay I get the impression from exim and postfix docs that outbound routing based on input method aren't possible (I may be wrong about that). Depending on what exactly you're needing, I might be able to think of a way to do this with Sendmail. - This may be one of the exceedingly rare times that Sendmail's splitting MTA and MSA roles may actually be beneficial (other than for the security reasons). I'm going to need to ponder this. Unless it's possible to run two separate instances -- one to relay SMTP --> my_custom_sendmail_utility and one to hanlde outbound mail generated locally standard_usr_bin_sendmail --> SMTP. That's certainly possible to do with Sendmail. Or at least it used to be. Granted, it's annoying ... to make sure that the various queues are separated. I'm trying to think through this to see if there is a way to leverage the existing separation between the MTA (which has the features for your listening SMTP daemon) and the MSA (which I think prefers to talk SMTP to a smart host, usually the local MTA). Am I regurgitating this properly? 1) You want incoming SMTP connections to go out via your custom mailer script. 2) You want messages originated locally and piped into $commandTBD to go out via SMTP. Would I be correct in assuming that the path and / or name of the sendmail like script that interfaces with the Exchange server could change if necessary? I.e. you could name it /usr/local/bin/sendmail_to_exchange_gateway if you needed to. Question: What name are your scripts currently calling to interface with msmtp? - Can that name change if necessary? I'm trying to juggle the various pieces as I understand them to see if everything can work together. Note: I'm not trying to push Sendmail. - I know I'm strange in my predilection for it. - I'm simply trying to solve the problem (as I understand it) with the tools that I know. Well I have several msmtp "accounts" set up and run multiple mutt configurations that use those different accounts for outbound mail. The different accounts outbound may complicate things. Are those accounts configured as part of msmtp? Or are they configured in the things using msmtp? -- Grant. . . . unix || die smime.p7s Description: S/MIME Cryptographic Signature
Re: [gentoo-user] Local mail delivery agent (MDA) wanted
On 12/13/21 3:12 PM, Frank Steinmetzger wrote: Using strace, I found out that mail from mailx puts those mail into /var/spool/clientmqueue/, one file per mail, but not in a maildir structure. Yes, the /var/spool/clientmqueue is the mail queue for outgoing messages from clients. Hence the name "client m(ail) queue". OK, I found out that this is the usual outgoing queue which needs to be processed by sendmail, probably through another cronjob or a process that itself checks that directory periodically. Sendmail is quintessentially a daemon that's running all the time. As such it usually does it's own scheduling and does not depend on external scheduling. In many places I read that system mail—by default—goes into /var/spool/mail/, but until now I’ve yet to observe this behavior. /var/spool/mail/ and /var/mail/ are the quintessential locations for mbox based inbound email storage. Note: There are a number of other fancy client mail storage routines that don't use files in this path. It’s really not easy to find a description of the default setup of olden days (or I’m simply using the wrong search terms). Because when you search for something like unix local mail setup, most results are about setting up an SMTP server. In hindsight—perhaps that is simply the way to go. :-/ You will quite likely need a Mail Transfer Agent to receive the email, either via command (mail(x) / sendmail / etc) or read from a queue location like /var/spool/clientmqueue and then deliver the messages to where they belong. There /may/ be an alternate "mail" command that does all of this in one function. But I'd be surprised to learn about such. Most of the surprise is because it would be combining three distinct parts of the email flow: the Mail User Agent (a.k.a. MUA) generating the original outgoing message, the Message Transfer Agent (a.k.a. MTA) to receive the original message and do something with it, and the Local Delivery Agent (a.k.a. LDA) to put the message in the proper location. The originating MUA can frequently be substituted at will with "mail", "mailx", and "nail" being three CLI based that come to mind immediately. The MTA can frequently be one of many with Sendmail, Postfix, Courier, Exim coming to mind. The LDA can easily be one of the following; procmail, maildrop, Courier, and something super simple I don't remember the name of because I've not used it in so long. -- Grant. . . . unix || die
Re: [gentoo-user] Anything better than procmail?
On Sat, 12 Jun 2010 21:40:01 +0200, Stroller wrote about [gentoo-user] Anything better than procmail?: >Hi David, > >Your setup looks fairly similar to my own, but I am intrigued by the >differences. Okay. I have been using all kinds of software for handling email, dating back to my OS/2 days in the early 1990's. I regard my current set-up as sweet. >On 12 Jun 2010, at 12:35, David W Noon wrote: >> ... Dovecot, but quickly replaced by dbmail. > >Can I ask you why? Certainly. I wanted the messages to be stored in a single, dedicated logical volume in my DASD farm. Dovecot always stored them in each user's ~/Mail/ directory, so they were all over the /home L.V. In contrast, dbmail uses a database, in my case PostgreSQL, so it is up to the database administrator to decide where they go; but it is always in the one place. This makes for easy backup and restore: a cron jobs runs pg_dump every night on the dbmail database.. >I have found the author of Dovecot to be wonderfully responsive, >pushing out a fix for a deal-breaker issue for my site within hours >of me reporting it. > >> This allows you to use a sieve script, instead of procmail "recipes". > >Can I ask you what the advantage of this is, please? The recipe syntax for procmail is seriously ugly. Sieve looks like most other non-procedural languages from the early 1980's, although it arose in the 1990's. Since I am an old geezer who has been programming since the early 1970's, this syntax felt more comfortable. Sieve is also integrated into dbmail. >Looking at the example at ><http://en.wikipedia.org/wiki/Sieve_(mail_filtering_language) > >, the language looks basically very similar to maildrop, and it >seems to do pretty much the same thing. I have never used maildrop. >The reject syntax seems nice and clear, but if the MX server (for >your email's domain name) has already accepted the message then it's >not really much good rejecting it. In fact, doing so is surely >frowned upon, isn't it? I use a quarantine folder in my IMAP4 account, and my sieve script places spam and infected messages there. Since the physical location is on a logical volume that holds a PostgreSQL tablespace, any malware is not executable, as that L.V. is mounted with "noexec". This is another advantage over placing mail in the /home L.V., in each user's home directory. >> Moreover, each user maintains his/her own sieve script. > >As certainly would be the case with maildrop, and surely too with >procmail? I don't know about maildrop, but procmail is usually managed centrally and hangs off the tail end of Postfix, Exim, Courier or whatever MTA you have. I always switched to root to maintain my delivery recipes, back when I ran procmail. -- Regards, Dave [RLU #314465] == dwn...@ntlworld.com (David W Noon) == signature.asc Description: PGP signature
[gentoo-user] mod_php-4.3.11 can't find my Pthreads.
Hello all, During a world update on my server, mod_php-4.3.11 broke with this message: --- checking for pthreads_cflags... checking for pthreads_lib... Configuring SAPI modules checking for AOLserver support... no checking for Apache 1.x module support via DSO through APXS... no checking for Apache 1.x module support... no checking for mod_charset compatibility option... no checking for Apache 2.0 filter-module support via DSO through APXS... no checking for Apache 2.0 handler-module support via DSO through APXS... expr: syntax error ./configure: line 5402: test: : integer expression expected ./configure: line 5404: test: : integer expression expected configure: error: ZTS currently requires working POSIX threads. We were unable to verify that your system supports Pthreads. --- I can confirm my system has thread support: --- # getconf GNU_LIBPTHREAD_VERSION NPTL 2.3.4 # /lib/tls/libc.so.6 | grep Threads Native POSIX Threads Library by Ulrich Drepper et al --- Output of 'emerge info': --- Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20040808-r1,glibc-2.3.4.20041102-r1, 2.6.10-hardened-r3 i686) = System uname: 2.6.10-hardened-r3 i686 AMD Duron(tm) processor Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 10 2005, 01:15:07)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.4-r1 sys-apps/sandbox:[Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r1, 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe -mmmx -m3dnow" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe -mmmx -m3dnow" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://gentoo.agsn.ca/ http://gentoo.mirror.icd.hu/ http://mirror.gentoo.gr.jp ftp://ftp.isu.edu.tw/pub/Linux/Gentoo"; MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://192.168.0.102/portage" USE="x86 3dnow 3dnowex apache2 berkdb crypt encode exim exiscan gdbm hardened imlib libg++ libwww mikmod mmx mmx2 mysql ncurses nls nptl pam perl php posixpython readline spell ssl svga tcpd threads xml2 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY --- Can anyone see anything obviously wrong in my setup? Should I file a bug report? It has failed exactly the same way multiple times, including after manually completing the other packages in the world update. Thanks, -d -- darren kirby :: Part of the problem since 1976 :: http://badcomputer.org "...the number of UNIX installations has grown to 10, with more expected..." - Dennis Ritchie and Ken Thompson, June 1972 pgpBguNnAaA49.pgp Description: PGP signature
Re: [gentoo-user] OT: looking for email provider
On Sat, 01 Feb 2020 17:08:37 -0500 Jack wrote: > Relying on the collective experience and advice of the group here. > > As may be obvious to many of you, the address this message is sent > from "...@users.sourceforge.net" isn't really a fully functional > address. Email sent to that address will be forwarded by the > sourceforge system to a personal address I specify. When I send a > message "From: " that address, however, I cannot send it through the > sourceforge system, as I don't actually have an email account with > them. Currently, I send it through my gmail account. That works > because I added that address in my gmail Settings under "Accounts and > Import" / "Send mail as:". To set it up, gmail sends a message to > that address, and I click on a link in the message to prove it does > come to me. That's been working find for a long time, but, ... > > I'm trying to move away from gmail. Especially for mailing lists > like this one, if I send a message to the list, I never see that I > get the message from the list, because gmail refuses to show it in my > inbox because it's a duplicate of a message already in my sentbox. > > I do have an email account with privateemail.com (thorough > namecheap.com) but they are unable or unwilling to have a similar > setup. I'm not even sure they actually understand what I'm asking > of them, but I've wasted more than enough time trying. > > So - I'm asking if anyone can recommend an email service provider > that understands this and will let me set it up. I have my own > domain, but namecheap.com does seem willing to have the appropriate > DNS record point to a different email provider. At this point, I'm > not interested in running my own email server. I currently only need > two mailboxes, maybe a small number more in the future, but this is > personal, not commercial. I don't need to do bulk emails, maybe up > to a dozen or so recipients. I do NOT expect it to be free, but cost > is at least some consideration. I don't need huge storage limits, as > although I use IMAP access when on the road, when I'm home, I use > POP3 to download everything. I'd also like at least minimal control > over spam filtering, mainly to let almost anything through for me to > filter locally. If privateemail.com has false positives for > everything from some sender (such as ups.com, for example) I need to > open a ticket with them to add a whitelist. No such thing as > clicking on "Not spam" and apparently no intent to ever do so. > > Thanks for any suggestions. > > Jack Why not just build your own? You can get a very small EC2 instance for pretty cheap. Then pick your poison exim/postfix/dovcot/roundcube or whatever.
[gentoo-user] A little OT; ssmtp: Is this correct?
On my PC (camille.espersunited.com) I have ssmtp installed. It's supposed to send all mail from camille to the exim server on baby.espersunited.com. My ssmpt.conf file looks like this: camille log # cat /etc/ssmtp/ssmtp.conf # # /etc/ssmtp.conf -- a config file for sSMTP sendmail. # # The person who gets all mail for userids < 1000 # Make this empty to disable rewriting. root=postmaster # The place where the mail goes. The actual machine name is required # no MX records are consulted. Commonly mailhosts are named mail.domain.com # The example will fit if you are in domain.com and your mailhub is so named. mailhub=baby.espersunited.com # Example for SMTP port number 2525 # mailhub=mail.your.domain:2525 # Example for SMTP port number 25 (Standard/RFC) # mailhub=mail.your.domain # Example for SSL encrypted connection # mailhub=mail.your.domain:465 # Where will the mail seem to come from? rewritedomain=r...@camille.espersunited.com # The full hostname # Gentoo bug #47562 # Commenting the following line will force ssmtp to figure # out the hostname itself. # hostname=_HOSTNAME_ # Set this to never rewrite the "From:" line (unless not given) and to # use that address in the "from line" of the envelope. #FromLineOverride=YES # Use SSL/TLS to send secure messages to server. #UseTLS=YES # Use SSL/TLS certificate to authenticate against smtp host. #UseTLSCert=YES # Use this RSA certificate. #TLSCert=/etc/ssl/certs/ssmtp.pem # Get enhanced (*really* enhanced) debugging information in the logs # If you want to have debugging of the config file parsing, move this option # to the top of the config file and uncomment #Debug=YES This has worked fine for about a week until yesterday when I rebooted. Now I'm seeing these in my log file: Jul 17 00:00:46 camille sSMTP[18912]: Set RewriteDomain="r...@camille.espersunited.com" is invalid Jul 17 00:00:46 camille sSMTP[18912]: Set RewriteDomain="camille.espersunited.com" used Jul 17 00:05:16 camille sSMTP[18939]: Set RewriteDomain="r...@camille.espersunited.com" is invalid Jul 17 00:05:16 camille sSMTP[18939]: Set RewriteDomain="camille.espersunited.com" used Jul 17 00:33:26 camille sSMTP[20274]: Set RewriteDomain="r...@camille.espersunited.com" is invalid Jul 17 00:33:26 camille sSMTP[20274]: Set RewriteDomain="camille.espersunited.com" used Jul 17 00:50:02 camille sSMTP[20338]: Set RewriteDomain="r...@camille.espersunited.com" is invalid Jul 17 00:50:02 camille sSMTP[20338]: Set RewriteDomain="camille.espersunited.com" used Jul 17 00:50:06 camille sSMTP[20340]: Set RewriteDomain="r...@camille.espersunited.com" is invalid Jul 17 00:50:06 camille sSMTP[20340]: Set RewriteDomain="camille.espersunited.com" used Jul 17 02:59:01 camille sSMTP[20775]: Set RewriteDomain="r...@camille.espersunited.com" is invalid Jul 17 02:59:01 camille sSMTP[20775]: Set RewriteDomain="camille.espersunited.com" used Jul 17 02:59:06 camille sSMTP[20776]: Set RewriteDomain="r...@camille.espersunited.com" is invalid Jul 17 02:59:06 camille sSMTP[20776]: Set RewriteDomain="camille.espersunited.com" used Jul 17 03:00:03 camille sSMTP[20800]: Set RewriteDomain="r...@camille.espersunited.com" is invalid Jul 17 03:00:03 camille sSMTP[20800]: Set RewriteDomain="camille.espersunited.com" used Jul 17 03:00:06 camille sSMTP[20829]: Set RewriteDomain="r...@camille.espersunited.com" is invalid Jul 17 03:00:06 camille sSMTP[20829]: Set RewriteDomain="camille.espersunited.com" used But the mail that camille tries to send ends up in dead.letter. What's going on here?
RE: [gentoo-user] mailman stopped working after upgrade
On Thu, 2005-09-15 at 13:46 -0700, Daevid Vincent wrote: > Okay. Last night I ripped out every 'mailman' directory and file I could > find. Unmerged mailman. Backed up my lists. And re-emerged mailman. Same f'n > problem. WTF?! > > Sep 15 13:31:17 [Mailman mail-wrapper] Group mismatch error. Mailman > expected the mail_wrapper script to be executed as group "mailman", but_the > system's mail server executed the mail script as_group "mail". Try tweaking > the mail server to run the_script as group "mailman", or re-run configure, > _providing the command line option `--with-mail-gid=mail'._ > > Sep 15 13:31:17 [exim] 2005-09-15 13:31:17 1EG0O5-0005FA-EW ** > |/usr/local/mailman/mail/mailman post rbc <[EMAIL PROTECTED]> R=system_aliases > T=address_pipe: Child process of address_pipe transport returned 2 from > command: /usr/local/mailman/mail/mailman > > > Upgrading from version 0x to 0x20105f0 > getting rid of old source files > no lists == nothing to do, exiting > * Running `/usr/local/mailman/bin/check_perms -f` * > directory must be at least 02775: /usr/local/mailman/logs (fixing) > directory permissions must be 02775: /usr/local/mailman/lists (fixing) > directory permissions must be 02775: /usr/local/mailman/locks (fixing) > directory permissions must be 02775: /usr/local/mailman/spam (fixing) > directory permissions must be 02770: /usr/local/mailman/qfiles (fixing) > ... > > daevid portage-logs # /usr/local/mailman/bin/check_perms -f > No problems found > > daevid portage-logs # su mailman > [EMAIL PROTECTED] /var/tmp/portage-logs $ /usr/local/mailman/bin/check_perms > -f > No problems found > I'm not sure if I understand your problem correctly - I haven't been following this particular thread (sorry!), but it sounds like you're having a similar problem to one I had awhile ago. Here is the response I got that fixed it: Michael, I've had the same problem before. In order for Mailman to work properly, it has to know the gid of the mail program at compile time. In this case it was told the mail program's gid was that of group "mailman", but when the script was executed it was with the gid of group "deamon". The easiest way I've found (and possibly the only?) to fix it is to use vigr to get the gid of the daemon group, then edit the mailman ebuild file. Right near the top of the file is an option for setting the mail-gid. Change that number to the one you found from vigr, then re-emerge mailman. Keep in mind that you'll have to repeat this procedure every time you upgrade mailman because the new ebuild won't have your changes in it. Bryan > > - Transcript of session follows - >Group mismatch error. Mailman expected the mail >wrapper script to be executed as group "mailman", but >the system's mail server executed the mail script as >group "daemon". Try tweaking the mail server to run the >script as group "mailman", or re-run configure, >providing the command line option `--with-mail-gid=daemon'. >554 5.3.0 unknown mailer error 2 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Omitting blocked package when updating world
C. Beamer schreef: > Rumen Yotov wrote: > > >> On Fri, 2005-10-14 at 19:09 -0400, C. Beamer wrote: >> >> >> >>> Hi, >>> >>> I've had Gentoo installed on my main computer for about a month >>> now and want to update world. >>> >>> When I did 'emerge --pretend --update --deep world' I got told >>> that a package that I had installed was blocking another package. >>> I want to update but omit the blocked package from the update, >>> which incidentally is not installed on my system. >>> >>> Regards, >>> >>> Colleen >>> >>> >> >> Hi, Think it mostly depends on which is the package in question. >> Seen three types of package blocking: 1.a new version blocking the >> old version of the same package - remove it then add again; 2.A new >> package wants to install but there is another package serving the >> same role, e.g mail-server: qmail, postfix, exim all provide - >> virtual/mta (IIRC), so only one could get installed; 3.Think it's >> your case. Some other package (which is installed) has a *new* >> dependency on another one (not installed), which provides the same >> 'virtual/...' as third one (installed). This could happen when >> using -D/--deep flag - try without it to check and use -t/-tree >> option to see the deps. But it depends on the package in question & >> friends. HTH.Rumen >> >> > > I went to the painstaking effort of updating each package on my > system that required updating individually and am left with this, > which is the result of 'emerge --pretend --update --deep world': > > Calculating world dependencies ...done! [blocks B ] > [ebuild N] net-mail/uw-mailutils-2004g [ebuild U ] > mail-client/pine-4.64-r1 [4.63-r2] > >> From this, I assume that the installed package, Pine, is blocking >> the > package nw-mail-utils-2004g, which is *not* installed. So, how do I > prevent uw-mailutils-2004g from being installed so I can update Pine? > > > Regards, > > Colleen You can't-- this is a normal block: (from http://www.gentoo-portage.com ) Runtime Dependencies pine-4.64-r1 ! net-mail/uw-imap - 2004g >= sys-apps/sed - 4 >= sys-libs/ncurses - 5.1 ldap net-nds/openldap pam >= sys-libs/pam - 0.72 ssl dev-libs/openssl app-misc/mimetypes ==>net-mail/uwmailutils virtual/libc kerberos app-crypt/mitkrb5 The problem here is that 1) uwmailutils is a new dependency of Pine; 2) dependencies must be installed before the program that depend on them (just like you have to build the walls of your house before you put the roof on, as the roof depends on the walls to hold it up); and 3) pine is already installed (thus the program that depends on uwmailutils is installed before what it depends on is installed, since Portage only removes the previously installed version *after* the new version is installed, which it can't be because its dependency can't be installed, because the program that requires the dependency must be installed to remove the currently-installed version). If you see what I mean. Remove (unemerge) Pine, then merge the updated version, so the dependencies will be installed prior to the program they depend on. HTH, Holly -- gentoo-user@gentoo.org mailing list
[gentoo-user] RE: Digest of gentoo-user@gentoo.org issue 454 (27878-27927)
Unsubscribe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, December 03, 2005 7:02 AM To: [EMAIL PROTECTED] Subject: Digest of gentoo-user@gentoo.org issue 454 (27878-27927) Topics (messages 27878 throught 27927): [gentoo-user] OpenOffice update from Ximianised version 27878 - Billy Holmes <[EMAIL PROTECTED]> 27889 - Yoandy Rodriguez <[EMAIL PROTECTED]> 27892 - Dale <[EMAIL PROTECTED]> 27914 - Yoandy Rodriguez <[EMAIL PROTECTED]> [gentoo-user] USE flags 27879 - Neil Bothwick <[EMAIL PROTECTED]> 27880 - Dale <[EMAIL PROTECTED]> 27887 - "John J. Foster" <[EMAIL PROTECTED]> [gentoo-user] [EMAIL PROTECTED] 27881 - Jorge Boscan <[EMAIL PROTECTED]> 27888 - Thomas Witt <[EMAIL PROTECTED]> 27891 - Dale <[EMAIL PROTECTED]> [gentoo-user] can't boot 2.6.14 27882 - Sascha Lucas <[EMAIL PROTECTED]> [gentoo-user] trimming 27883 - Charly ghislain <[EMAIL PROTECTED]> [gentoo-user] Re: Re: Still not getting how to influence compile flags with emerge 27886 - Ciaran McCreesh <[EMAIL PROTECTED]> [gentoo-user] net.eth0 service failed 27890 - Michael Alves <[EMAIL PROTECTED]> [gentoo-user] Which ebuild contains sgml2html command ? 27893 - Norbert Kamenicky <[EMAIL PROTECTED]> 27894 - Peter Ruskin <[EMAIL PROTECTED]> 27897 - Norbert Kamenicky <[EMAIL PROTECTED]> 27905 - Nick Rout <[EMAIL PROTECTED]> [gentoo-user] KDE 3.5 27895 - Robert Crawford <[EMAIL PROTECTED]> [gentoo-user] Re: OpenOffice update from Ximianised version 27896 - Mick <[EMAIL PROTECTED]> [gentoo-user] Re: iptables init script 27898 - James <[EMAIL PROTECTED]> [gentoo-user] Re: Re: Re: Still not getting how to influence compile flags with emerge 27899 - Mick <[EMAIL PROTECTED]> [gentoo-user] [Not specifically Gentoo] Forcing a new IP address with DHCP 27900 - Ryan Tandy <[EMAIL PROTECTED]> [gentoo-user] Re: Re: Re: Still not getting how to influence compile flags with emerge 27901 - Holly Bostick <[EMAIL PROTECTED]> [gentoo-user] Openoffice 2 Install problems 27902 - Jeff Cranmer <[EMAIL PROTECTED]> 27907 - Richard Fish <[EMAIL PROTECTED]> 27913 - Dale <[EMAIL PROTECTED]> [gentoo-user] kpdf insisting in A4 paper size 27903 - Joseph <[EMAIL PROTECTED]> [gentoo-user] OT - GIMP question 27904 - Michael Sullivan <[EMAIL PROTECTED]> 27906 - Luis Ortiz <[EMAIL PROTECTED]> 27915 - Michael Sullivan <[EMAIL PROTECTED]> 27916 - Michael Sullivan <[EMAIL PROTECTED]> 27919 - Glenn Enright <[EMAIL PROTECTED]> 27925 - =?ISO-8859-1?Q?Joh=E1m-Lu=EDs_Migu=E9ns?= Vila <[EMAIL PROTECTED]> [gentoo-user] OpenOffice update from Ximianised version 27908 - Richard Fish <[EMAIL PROTECTED]> [gentoo-user] Still not getting how to influence compile flags with emerge 27909 - Willie Wong <[EMAIL PROTECTED]> [gentoo-user] drive found but still panics 27917 - Richard Fish <[EMAIL PROTECTED]> [gentoo-user] GCC-3.4 will be marked stable in ~1 hour on x86 27918 - Andrew Gaydenko <[EMAIL PROTECTED]> [gentoo-user] creating local copies of web pages 27920 - Robert Persson <[EMAIL PROTECTED]> 27921 - Robert Persson <[EMAIL PROTECTED]> [gentoo-user] Re: gcc hardened and vanilla + distcc 27922 - [EMAIL PROTECTED] [gentoo-user] error emerging gnome-vfs on athlon-xp machine 27923 - "Alan E. Davis" <[EMAIL PROTECTED]> 27924 - Dale <[EMAIL PROTECTED]> [gentoo-user] Add subject to mails CLI Postfix 27926 - Tamas Sarga <[EMAIL PROTECTED]> [gentoo-user] exim / authentication 27927 - Uwe Thiem <[EMAIL PROTECTED]> -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.11/191 - Release Date: 12/2/2005 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.13.11/191 - Release Date: 12/2/2005 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Palemoon with gcc-5 without issues WAS: Palemoon again - again
On 170419-00:51+0100, Peter Humphrey wrote: > On Tuesday 18 Apr 2017 17:04:16 Miroslav Rovis wrote: > > On 170418-09:17+, J. Roeleveld wrote: > > > If you are certain you don't have gcc in slot 5.x installed. You can > > > add palemoon to /etc/portage/package.unmask > > > > "If" is what I would start with. Because it's hard to believe. Possible, > > but I'd be more believing if I saw 'emerge --info' and 'gcc-config -l' > > of that machine in that time. > > peak ~ # gcc-config -l > [1] x86_64-pc-linux-gnu-4.9.4 * > peak ~ # > > I say again: I have just the one version of GCC installed. And it isn't 5.x > either. Why is that hard to accept? > > -- > Regards > Peter If you don't want to read the analysis below, here's the summary: I received your message, with the info missing in your earlier messages, only later, because I replied to the same message to which your message containing the missing info, just 8 minutes after you replied... Sorry anyway! --- WARNING: below is probably superfluous, it's mail timestamps and such... Reader freely skip all! --- I'm sorry for the confusion. But see below if it was my fault. If I had gotten your message: Message-ID: <2085829.vpf8hVLQL8@peak> https://lists.gt.net/gentoo/user/325462#325462 which was actually in reply to the same email: Message-ID: https://lists.gt.net/gentoo/user/325446#325446 ( I checked marc.info archives as well, and changing the subject really splits the thread... Not good! Lurker would have done better service here... (Lurker not even available in Gentoo. I think Lurker available only in Debian/Devuan and their family...) ) [which was actually in reply to the same email] to which my message (which you partly quote above) was in reply to, but... ...But which message of mine appears later in the thread (in my Mutt, or likely in whatever UAs other subscribers use) as well as in the web (I changed the subject, but the number is incremented by 6, pretty obviously some consecutive serial increment, by arrival [1]): https://lists.gt.net/gentoo/user/325468#325468 If I had gotten that message of yours with an equivalent of the info that I wished to see when I mentioned 'gcc-config': I would not have doubted your claims in the very least. However: Date: Tue, 18 Apr 2017 15:56:12 +0100 From: Peter Humphrey To: gentoo-user@lists.gentoo.org and: Date: Tue, 18 Apr 2017 17:04:16 +0200 From: Miroslav Rovis To: gentoo-user@lists.gentoo.org and that's only 8 minutes later, that I sent my message, unaware of your reply. How could I have known that you had already replied in regard... Sorry, anyway. --- [1] And it also shows, in the message headers, that my message was delivered by my provider, not the hoster of croatiafidelis.hr, they do a good job, and they use Exim server... Not them, they sent fine, but by the provider, they're on some Microsoft server, erhm, erhm... [my message was delivered on by my provider] some 40 minutes later only... Else it would have had the serial just incremented by 1 and not 6 in respect to your message, if it wasn't stalled for who knows what reason at my provider's. -- Miroslav Rovis Zagreb, Croatia https://www.CroatiaFidelis.hr signature.asc Description: Digital signature
Re: [gentoo-user] Alternate Incoming Mail Server
"Michael" , 07.04.2020, 19:10: > This thread has been covered in depth for a while now, but I noticed something > noteworthy. > On Monday, 6 April 2020 19:13:06 BST Stefan Schmiedl wrote: >> >> And here's an example for J. Roeleveld's observed missed original >> messages: >> >> A few days ago I sent a message to this list. As usual, I received >> a bunch of DMARC reports from mailservers rejecting the messages. >> >> > From: "Seznam.cz" >> > This is a spf/dkim authentication-failure report for an email message >> > received> >> > from IP 208.92.234.80 on Sun, 05 Apr 2020 22:14:23 +0200. >> > >> > The message below did not meet the sending domain's dmarc policy. > The reason your message was *rejected*, rather than failed to be delivered/ > gone missing, was because there is a DKIM failure in its headers. This is not > the non-delivery failure Joost was talking about when an MX server has gone > offline. As I understood it, were I someb...@seznam.cz, I would not have received the original message but only the replies to it, hence observing the same strange behaviour of "missed original message but received replies" due to issues completely out of somebody's control. >> The headers of that rejected message start with >> >> > Received: from lists.gentoo.org (unknown [208.92.234.80]) >> > >> > by email-smtpd3.ng.seznam.cz (Seznam SMTPD 1.3.108) with ESMTP; >> > Sun, 05 Apr 2020 22:14:22 +0200 (CEST) >> >> This means that folks @seznam.cz (among others) will not get to see >> this message unless somebody replies to it from a domain that uses >> a less restrictive combination of SPF, DKIM and DMARC rules. > I would think the @seznam.cz recipient server obliges by following the DMARC > policy published, but ... the tag "p=none" in _dmarc.xss.de TXT means it > should neither reject, nor quarantine the message. :-/ It's been a while since I set this up, but according to RFC 7489, section 6.7 "policies of "p=none" SHOULD NOT modify existing mail disposition processing", which I understood as "the receiver can do what it wants, but I get notified about DMARC related problems". I'll update the record to quarantine and see what breaks. > In other messages the 'bh=' hash is before the 'h=' string. The sequence of > tags is: > bh=.; > h=..; > b=... > In Stefan's message the sequence is different: > h=..; > bh=.; > b=... > Perhaps the order in which recipients servers parse the headers cause the DKIM > check to fail? I really hope that is not the case as the sequence is whatever exim uses as default sequence. Outgoing mail uses this transport: remote_smtp: driver = smtp dkim_domain = ${lc:${domain:$h_from:}} dkim_selector = s1 dkim_private_key = CONFDIR/dkim/dkim.private.key dkim_canon = relaxed > This is what I see here in the headers delivered by Stephan via the gentoo- > user M/L: > Authentication-Results: ; > dkim=fail header.d=xss.de; <== DKIM checks failed == > spf=pass (sender IP is 208.92.234.80) > [snip ...] The problem could be that the header list includes things like h=...:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; which are not in my original message but are added by the mailing list software. So if you received one of my DKIM signed messages directly, the signature would work, but if you received it after it passed through a mailing list, your DKIM check would fail because it would include List-Id in the test and the test would fail. Michael, you should receive two copies of this message, one via list one directly. Could you do me the favour and let me know (offline) what the Authentication-Results for both messages look like? Thanks, s.
RE: [gentoo-user] Local mail delivery agent (MDA) wanted
> > >-Original Message- >From: Grant Taylor >Sent: Tuesday, December 14, 2021 3:34 PM >To: gentoo-user@lists.gentoo.org >Subject: Re: [gentoo-user] Local mail delivery agent (MDA) wanted > >On 12/13/21 3:12 PM, Frank Steinmetzger wrote: >>> Using strace, I found out that mail from mailx puts those mail into >>> /var/spool/clientmqueue/, one file per mail, but not in a maildir structure. > >Yes, the /var/spool/clientmqueue is the mail queue for outgoing messages from >clients. Hence the name "client m(ail) queue". > >> OK, I found out that this is the usual outgoing queue which needs to >> be processed by sendmail, probably through another cronjob or a >> process that itself checks that directory periodically. > >Sendmail is quintessentially a daemon that's running all the time. As such it >usually does it's own scheduling and does not depend on external scheduling. > >>> In many places I read that system mail—by default—goes into >>> /var/spool/mail/, but until now I’ve yet to observe this behavior. > >/var/spool/mail/ and /var/mail/ are the quintessential locations >for mbox based inbound email storage. > >Note: There are a number of other fancy client mail storage routines that >don't use files in this path. > >> It’s really not easy to find a description of the default setup of >> olden days (or I’m simply using the wrong search terms). Because when >> you search for something like unix local mail setup, most results are >> about setting up an SMTP server. In hindsight—perhaps that is simply >> the way to go. :-/ >You will quite likely need a Mail Transfer Agent to receive the email, either >via command (mail(x) / sendmail / etc) or read from a queue location like >/var/spool/clientmqueue and then deliver the messages to where they belong. > >There /may/ be an alternate "mail" command that does all of this in one >function. But I'd be surprised to learn about such. > >Most of the surprise is because it would be combining three distinct parts of >the email flow: the Mail User Agent (a.k.a. MUA) generating the original >outgoing message, the Message Transfer Agent (a.k.a. MTA) to receive the >original message and do something with it, and the Local Delivery Agent >(a.k.a. LDA) to put the message in the proper location. > >The originating MUA can frequently be substituted at will with "mail", >"mailx", and "nail" being three CLI based that come to mind immediately. > >The MTA can frequently be one of many with Sendmail, Postfix, Courier, Exim >coming to mind. > >The LDA can easily be one of the following; procmail, maildrop, Courier, > and something super simple I don't remember the name of because I've not > used it in so long. > > > >-- >Grant. . . . >unix || die > > So one thing that's annoyed me for a while is that there are several things which will pull in nullmailer to accept local mails, but don't pull in anything to do local delivery (And I'm not sure if nullmailer can even pass things to local delivery) so your local delivery mails by default just stack up in the nullmailer outbound queue unless you configure it to pass them off to an external mail system. Since the most commonly used of these programs are things like cron where local delivery is probably the only thing most users would care about it might be nice if the default configuration were one that does that, and then those who want local mail relayed elsewhere still don't have any significant extra setup work to do. LMP
RE: [gentoo-user] mailman stopped working after upgrade
I don't do any automated emerges (that seems extremely dangerous to me). I only "emerge sync" via crontab every night. Then I manually do an 'emerge -Davu system' (and world) to see what needs updating. I'll pick and choose from there. I did change my USE="nptl nptlonly -cups -debug acpi wifi mysql php apache2 mmx sse" and added those 'nptl' and 'nptlonly' and followed a gentoo howto (which involved an 'emerge --newuse'). I don't think that threading is the issue here though as it's a uid/gid wrapper permission problem. Well, here is everything emerged on the 7th (the 5th and 6th had no results). The 5th is the last email I have saved from the list, so that is why I chose these dates to focus on. Nothing else in this list looks related to mailman. Wed Sep 7 01:12:49 2005 >>> sys-libs/glibc-2.3.5-r1 Wed Sep 7 01:13:31 2005 >>> app-admin/eselect-opengl-1.0.2 Wed Sep 7 10:05:32 2005 >>> dev-libs/atk-1.10.3 Wed Sep 7 10:21:55 2005 >>> dev-libs/libxml2-2.6.21 Wed Sep 7 11:26:01 2005 >>> dev-db/mysql-4.0.25-r2 Wed Sep 7 11:30:21 2005 >>> dev-libs/libxslt-1.1.15 --> Wed Sep 7 11:34:36 2005 >>> net-mail/mailman-2.1.5-r4 Wed Sep 7 11:37:40 2005 >>> sys-power/apcupsd-3.10.18-r1 Wed Sep 7 11:43:25 2005 >>> app-crypt/gnupg-1.4.2-r2 Wed Sep 7 12:01:09 2005 >>> media-libs/gstreamer-0.8.11 Wed Sep 7 12:27:59 2005 >>> media-libs/gst-plugins-0.8.11 Wed Sep 7 12:37:56 2005 >>> media-plugins/gst-plugins-alsa-0.8.11 Wed Sep 7 12:47:29 2005 >>> media-plugins/gst-plugins-oss-0.8.11 Wed Sep 7 12:56:59 2005 >>> media-plugins/gst-plugins-esd-0.8.11 Wed Sep 7 13:02:56 2005 >>> x11-libs/fltk-1.1.4 Wed Sep 7 13:12:36 2005 >>> media-plugins/gst-plugins-vorbis-0.8.11 Wed Sep 7 13:22:30 2005 >>> media-plugins/gst-plugins-ogg-0.8.11 Wed Sep 7 13:32:14 2005 >>> media-plugins/gst-plugins-gnomevfs-0.8.11 Wed Sep 7 13:41:48 2005 >>> media-plugins/gst-plugins-mad-0.8.11 Wed Sep 7 13:49:58 2005 >>> media-sound/xmms-1.2.10-r15 Wed Sep 7 13:55:23 2005 >>> media-plugins/xmms-mpg123-1.2.10-r1 Wed Sep 7 13:58:16 2005 >>> media-libs/libmikmod-3.1.11-r1 Wed Sep 7 13:59:49 2005 >>> media-libs/libao-0.8.5 Wed Sep 7 14:27:36 2005 >>> sci-libs/fftw-3.0.1-r2 Wed Sep 7 16:24:12 2005 >>> kde-base/kdeedu-3.4.2-r2 Wed Sep 7 16:34:04 2005 >>> media-plugins/gst-plugins-xvideo-0.8.11 Wed Sep 7 16:43:28 2005 >>> media-plugins/gst-plugins-mpeg2dec-0.8.11 Wed Sep 7 16:52:53 2005 >>> media-plugins/gst-plugins-pango-0.8.11 Wed Sep 7 17:02:21 2005 >>> media-plugins/gst-plugins-cdparanoia-0.8.11 Wed Sep 7 17:04:22 2005 >>> app-text/gtkspell-2.0.4-r1 Wed Sep 7 17:09:51 2005 >>> dev-python/gnome-python-extras-2.10.2 Wed Sep 7 17:10:44 2005 >>> dev-util/meld-1.0.0 Wed Sep 7 17:14:19 2005 >>> dev-lang/swig-1.3.21 Wed Sep 7 17:22:57 2005 >>> media-sound/beep-media-player-0.9.7-r6 Wed Sep 7 17:24:10 2005 >>> net-analyzer/iptraf-2.7.0-r1 Wed Sep 7 22:33:42 2005 >>> sys-power/apcupsd-3.10.18-r1 In any event. If I "emerge unmerge mailman", and then "emerge mailman" will it do a complete re-install WITHOUT killing my actual lists (setups, users, data, etc)? This is so frustrating. I don't understand why this is broken when mailman AND exim are both the same versions that were already installed and already worked fine. *sigh* -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: [OT] Setting up a fall back ISP SMTP in sendmail
On Tuesday 20 April 2010 15:53:01 Harry Putnam wrote: > I think you all are missing something... sendmail is better documented > than any of the other pretenders. One has to understand what the various MTAs out there were built to do, and what their "feature list" is: sendmail comes from ancient days. It was written to be able to route almost any kind of mail using almost any kind of addressing scheme to and from almost any kind of network. So it is quite happy receiving SMTP mail from the internet and routing it to a FidoNet address. To do this, it has to reread it's routing table with every message, therefore .cf was designed to be machine efficient but still use only ASCII characters. Which led to m4 being developed to make it easier, and I've even seen more simple apps that are front ends to m4. After a while you start asking "Wow, is this complexity actually needed?" Postfix was designed to remove the sendmail complexity from a sysadmin's life while still being somewhat familiar. It's claim to fame is the ability to pump enormous amounts of mail down a pipe and keep the routing rules simple. I have two Postfix relays, both of them can deal with 3 million mails a day without breaking a sweat. Let me put that in perspective, it's about 30 mails a second, every second. Postfix is so good at this, I can run them as VMWare virtual machine. exim doesn't fare quite as well as Postfix in the raw throughput department, but it is very very good at giving the sysadmin efficient filtering/routing rules. qmail is, how shall I put this? Something that Dan wrote? Dan likes to find fault in the detail with almost all software and likes to perform experiments to prove himself right. He also likes to do all of this his own way with the result that his stuff is a square peg and you have a round hole. Most sysadmins I know consider the pain of using qmail to not offset the benefit of using qmail, therefore they don't use it. > Now understand, that I am easily the dullest knife in the drawer on > this list even though by unix/linux standards I'm fairly long in the > tooth having started my computing skills in 1996 and broke in on > redhat at that time (using sendmail). I'm sad to say, I'm still a > noob in a vast number of areas. > > I've used sendmail all that time. If I can figure out how to use > it It really must not be that hard. At least not hard to find > piles of help on google. Postfix's web site has an enormous amount of documentation on everything related to Postfix. > Admittedly though my usage has always been just a homeboy home lan > administrator so closest I ever come to using sendmail anything like > what its target usage base is, would be a home lan mailhub. > > Unless, I'm terribly misinformed, sendmail is still the most commonly > used mta in the unix world of servers. Yes, you are misinformed. My logs show very little mail being received from sendmail MTAs. There may well be large numbers of ancient sendmail installs out there, but they do not account for a large fraction of the mail being sent. That trophy belongs to Windows zombie bots > At least according to http://en.wikipedia.org/wiki/Sendmail > > Qmail home page says it is the second most common MTA but doesn't say > who is first its sendmail... I'm pretty sure. > > About all the snipes concerning hacking sendmail.cf... I'm sure you > are all aware that any hacking needs to happen in sendmail.mc... then > let m4 sort out sendmail.cf. Even a cursory glance at sendmail shows that it was designed in a time with a different mindset and different needs to what we do these days. Sendmail will never escape this legacy because it is what it is and that is it's purpose. It's not as bad as buggy whips, but the same principle is at work. -- alan dot mckinnon at gmail dot com
[gentoo-user] GCC gone bad! Help!
I've started seeing this line after failed emerges: checking for C compiler default output file name... configure: error: C compiler cannot create executables Checking gcc-config returns this: carter sys-devel # gcc-config -l * gcc-config: Active gcc profile is invalid! [1] i686-pc-linux-gnu-4.3.4 How can I get gcc back? Here's some other information on the system: carter ~ # emerge --info !!! No gcc found. You probably need to 'source /etc/profile' !!! to update the environment of this terminal and possibly !!! other terminals also. Portage 2.1.6.13 (default/linux/x86/10.0/desktop, [unavailable], glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 i686) = System uname: Linux-2.6.30-gentoo-r4-i686-AMD_Athlon-tm-_7550_Dual-Core_Processor-with-gentoo-1.12.13 Timestamp of tree: Thu, 19 Nov 2009 06:00:01 + distcc 3.1 i686-pc-linux-gnu [disabled] app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.2-r1 sys-apps/baselayout: 1.12.13 sys-apps/sandbox:1.6-r2 sys-devel/autoconf: 2.63-r1 sys-devel/automake: 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"; LDFLAGS="-Wl,-O1" LINGUAS="en es fr" MAKEOPTS="-j2" PKGDIR="/usr/portage-packages/carter" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--human-readable" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/bscharpf" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa apache2 apm bash-completion berkdb bind-mysql bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups dbus dhcp doc dri dts dvd dvdr eds emboss encode evo examples exim fam firefox flac foomaticdb fortran gdbm geoip gif gnome gpm gstreamer gtk hal iconv imap imlib innodb ipv6 ithreads jadetex java jpeg kde ldap libclamav libg++ libnotify libwww mad mikmod mmx mode-owner modules mp3 mp4 mpeg mpm-leader mudflap mysql ncurses networking nls nptl nptlonly oav offensive ogg opengl openmp pam pcre pdf perl perlsuid png ppds pppd python qt3 qt3support qt4 quicktime readline reflection ruby samba sdl search server session slp spell spl ssl startup-notification svg sysfs syslog tcpd tetex threads thunar tiff tk truetype unicode usb virus-scan vorbis win32codecs x264 x86 xml xorg xulrunner xv xvid zaptel zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es fr" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS carter ~ # ls -l /etc/make.profile lrwxrwxrwx 1 root root 52 Nov 19 12:47 /etc/make.profile -> /usr/portage/profiles/default/linux/x86/10.0/desktop Please help! This has happened on two of my three systems so far...
Re: [gentoo-user] Qmail and Spamassassin won't integrate
I run spamassassin with exim, so can't offer all that much help, but as for attempt 1 you may try running: spamc -R < {some file containing full source of a sample email} to make sure spamassassin is running correctly. It should spit back a score and a possibly a list of tests failed, depending on how spamassassin is configured. if you don't get this, or get a score like "0/0", something is wrong with your spamassassin setup. Also, you don't want the "-P" option anymore, it is deprecated and is the default behaviour of spamassassin now. And you definitely don't want it with spamc, since it is an invalid option. And yes, you do want to use "spamc" over "spamassassin" for performance reasons. On Mon, Apr 21, 2008 at 12:15 PM, darren kirby <[EMAIL PROTECTED]> wrote: > Hello all, > > I am quickly getting to the hair-pulling stage because I cannot accomplish the > simple setup of qmail and spamassassin. There is lots of docs out there, but > they all suggest completely different ways of doing things. > > Here's what I have: > netqmail-1.05-r8 > dovecot-1.0.13-r1 > spamassassin-3.2.1-r1 > > These are all installed, and presumably working fine. That is: qmail is > accepting and delivering mail, spamd starts and runs with no errors, and I am > able to log in and get my mail using Dovecot and IMAP. > > What I am trying to accomplish: > > I just want qmail to run all incoming mail through spamassassin and add X-Spam > header for all spam it finds before it is delivered locally. With this I > shall be able to use .dovecot.sieve to place it in a spam folder for quick > review and deletion. > > Here's a few attempts I have made to integrate spamassassin, and the results: > > Attempt 1 (Docs: [0]): > * emerge 'safecat' to get 'maildir' binary. > * Put "| spamassassin -P | maildir ./Maildir/" > in "/var/qmail/control/defaultdelivery" > > Result: > * mail is still delivered, but is not processed by spamassassin. > * It is my understanding that "X-Spam-Status" header should be added even if > the mail is not identified as spam. > > Problems: > * Reading spamassassin docs leads me to believe that there is no "-P" option, > and that I should really be using 'spamc'. I tried replacing spamassassin > with spamc in "/var/qmail/control/defaultdelivery". No effect. > > Attempt 2 (Docs: [1]): > > * emerge 'mess822' (required by ifspamh) > * emerge 'ksh' (ifspamh is ksh script) > * Place 'ifspamh' in /usr/local/bin > * setup .qmail and .qmail-spam as per docs > > Result: > * No mail delivery at all. No obvious errors in any logs, mail just dries up. > > Attempt 3 (Docs: [2]): > > * emerge 'qmail-scanner' > > Result: > * emerge hangs forever while searching for plugins to add to > qmail-scanner-queue.pl. Some testing shows that the process is using no > resources, so: it's hanging doing nothing?!? > > Problems: > * 'clamav' (a dependancy of qmail-scanner) emerge failed with something about > a gcc bug, and suggested I use a different compiler. I switched > to 'i686-pc-linux-gnu-3.4.6' from 'i686-pc-linux-gnu-4.1.1' and it compiles. > * Cannot get qmail-scanner to compile at all. > * Dead-end. > > There is another method I have found, using simscan [3] but it seems to > require yet another third-party binary , and a patch to qmail, so I am not > really interested in trying, especially with all the failed attempts so far. > > Conclusion: > > Spamassassin and Qmail hate me. > > Does anyone on this list have spamassassin integrated with qmail at the MTA > level? I would be very interested in which method you used, and your configs. > > Is there something else I am missing? > > Any other info you need please just ask. > > [0] http://www.magma.com.ni/~jorge/spamassassin.html > [1] http://wiki.apache.org/spamassassin/IntegratedInQmailWithIfspamh > [2] http://wiki.apache.org/spamassassin/IntegratedInQmailWithQmailScanner > > Thanks, > -d > -- > darren kirby :: Part of the problem since 1976 :: http://badcomputer.org > "...the number of UNIX installations has grown to 10, with more expected..." > - Dennis Ritchie and Ken Thompson, June 1972 > -- > gentoo-user@lists.gentoo.org mailing list > > -- gentoo-user@lists.gentoo.org mailing list
RE: [gentoo-user] Immensely disappointed in emerge -DuN world these days
> -Original Message- > From: Mark Knecht [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 12, 2007 4:37 PM > > I've been messing with a standard x86, middle of the road Gentoo > machine for over two days now. There must be 20 or 30 packages that > won't build. Frustrating. > > Most of the problems are in and around getting Gnome updated. Typical > of the problem, but definitely not limited to this, is the following > sort of message. Unfortunately every one of the failing packages is > giving different messages so there's nothing obvious to me here. > > What a mess! I've never in over 6 years of using Gentoo ever seen > things in worse shape. Two days of this. No fun. > > I do think that a good part of this problem is more of the expat > stuff. I had hoped it would be fixed up in portage before I got around > to working on this machine but with upcoming death of the older > versions of MythTV and the requirements to go to newer versions I had > to get to work. Bummer. 2 days work and no end in sight. I have to fully agree with you. I used to run a mixture of ~x86 and "stable" x86 on both my notebook and my server (when I was more naive). Then I got tired of compiling every day some -r1 -r2 -rN minute ebuild for a 100MB package. Grr. So I painfully ripped out all the ~x86 masks and now my system is about 99% 'stable x86'. I thought, foolishly, at the time, that this would ease my pain. I made the assumption that the "stable" branch would be well tested and compile cleanly at the very least. With the occasional minor googling or asking the list for a simple snag here and there. Boy was that woefully optimistic. Linux is painful enough as it is to use. 8 billion config files to worry about screwing up. Another 4 million ebuild.log files to parse and act upon after every update. rev-dep rebuilding. And then, as someone else mentioned, the anxiety of the fact that if you don't update with some frequency, you are so far out of date that an emerge system/world is a dilemma whether to just format and start over. The old adage, "if it ain't broke, don't fix it" can't even be applied for that very reason. Nothing like having a production server S.T.B. because some "stable" update hosed my box/config/settings, and then I have to scramble for the next few hours tracking down solutions -- Exim, Dovecot, Apache, KDE, Gnome all come to mind (my KDE is currently broken as of the emerge update two days ago). Every time I find myself fighting with some package that won't compile, or a needing a version of something that isn't marked x86 (like SVN STILL!) that should be by now, or when I watch the 10 other developers where I work who have Compiz working flawlessly on Ubuntu by simply "apt-get install"ing it, I wonder what am I hanging on to Gentoo for (since my first install in 2004). I REALLY love the theory behind it. I REALLY think/thought it has potential. I REALLY love the customization. But is that all REALLY worth the headaches. I literally triple boot my notebook now. Gentoo, XP and Ubuntu. The Ubuntu Gnome/Compiz works great. I can't even get it to work in Gentoo. SAME F'N HARDWARE! The stupid nVidia drivers are all whack and have stopped supporting my GeForce 440 card -- I can't change the card so I'm screwed with older drivers. Yet, somehow Ubuntu works in composite mode (albeit a tiny bit pokie). WTF? I look at the major notebook players like Dell and now Lenovo talking about distros to support and they both choose Ubuntu. I look at distro-watch and Ubuntu is #1, with gentoo #13 with 1/4 the votes. I'm not quite ready to jump ship yet, but someone please tell me the _very near_ future is brighter for Gentoo. Give me some hope... -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: mail cannot send emails (trying to use it with smartd)
On 4/2/20 8:23 PM, Grant Edwards wrote: It's very powerful but the configuration file format is almost impossible to understand, so people developed an m4 application that accepted a _slightly_ less cryptic language and generated the sendmail configuration file. The configuration file is far from impossible to understand. Calling it a configuration file is sort of a misnomer in that it's more of a programing language than a configuration file. Some have even said that it's Turning complete. It does have some things going against it though. 1) It is highly dependent on the tab character (one or more) being used to separate two parts of specific lines. This is easily visually lost as well as frequently lost with bad copy & paste. But it's trivial to know about and correct. (Compare that to Python that has lost all of it's leading white space.) 2) The "config" file is really multiple sub-routine that are called in specific instances and do very specific things. You must know which one you need to use when. 3) Sendmail's logic is different than what most people are used to. It's not quite RPN. But it's different enough that many people have problems with it. I think it's more like relay logic. Each line in a rule-set has an opportunity to apply to the current working space. Each line can modify the working space, possibly directly or indirectly by calling other things. If you aren't careful, the working set can be inadvertently matched by multiple lines (rules). As such, the working set is specifically modified so that other lines don't match if they should not. There is a lot of pattern manipulation to keep track of and it takes practice. I'm sure that there are others. But those are the big ones that come to mind at the moment. At it's peak back in the early 90's there were approximately five people in the world who actually understood sendmail, and none of them ever worked where you did. I don't know about the '90s, but I do know that in the '00s and '10s, your statement is exaggeration to the point of being hyperbole. I have witnessed an active Sendmail support community for about 15 of the last 20 years. Most of that support was via the comp.mail.sendmail newsgroup. The rest of us stumbled in the dark using the finely honed cargo-cult practices cutting and pasting random snippets out of example configurations to see what happened. Your lack of use of resources doesn't mean that said resources wasn't available. Usually what happed is that mail was lost or flew around in a loop multiplying to the point where a disk parition filled up. Yep. That said, sendmail has features that no other MTA has. For example, it can transfer mail using all sorts of different protocols that nobody uses these days. It's not just (on the wire) protocols that sendmail supports. Many of which are effectively obsolete save for specific microcosms. Sendmail also supports interfacing with other programs in a very flexible manner. It is fairly easy to have Sendmail support Mailman (et al.) in such a way as that you don't need to change anything on the email server when adding or removing mailing lists. No, I'm not talking about automated alias generation. There is no need for alias generation when Sendmail and Mailman are connected properly. Sendmail quite happily supports LMTP into local mail stores / programs. This is quite handy when you want something like a recipient's sive filter to be able to reject a message. Back in the 90's a number of replacement MTAs were developed such as qmail, postfix, exim, etc. When you installed one of these, (instead of the classic sendmail), they would usually provide an executable file named "sendmail" that accepted the same command line arguments and input format that the original did. That allowed applications who wanted to send email to remain ignorant about exactly what MTA was installed. Yep. The "sendmail" command has become a de facto industry standard that most MTAs emulate. -- Grant. . . . unix || die
Re: [gentoo-user] GCC gone bad! Help!
On Thu, Nov 19, 2009 at 4:51 PM, Michael Sullivan wrote: > I've started seeing this line after failed emerges: > > > > checking for C compiler default output file name... configure: error: C > compiler cannot create executables > > Checking gcc-config returns this: > carter sys-devel # gcc-config -l > * gcc-config: Active gcc profile is invalid! > [1] i686-pc-linux-gnu-4.3.4 > > > When I upgraded gcc to 4.3.4 I runned # gcc-config i686-pc-linux-gnu-4.3.4 # source /etc/profile Maybe it helps you. gcc-config i686-pc-linux-gnu-4.3.4 > How can I get gcc back? Here's some other information on the system: > carter ~ # emerge --info > !!! No gcc found. You probably need to 'source /etc/profile' > !!! to update the environment of this terminal and possibly > !!! other terminals also. > Portage 2.1.6.13 (default/linux/x86/10.0/desktop, [unavailable], > glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 i686) > = > System uname: > > Linux-2.6.30-gentoo-r4-i686-AMD_Athlon-tm-_7550_Dual-Core_Processor-with-gentoo-1.12.13 > Timestamp of tree: Thu, 19 Nov 2009 06:00:01 + > distcc 3.1 i686-pc-linux-gnu [disabled] > app-shells/bash: 4.0_p28 > dev-java/java-config: 2.1.9-r1 > dev-lang/python: 2.6.2-r1 > sys-apps/baselayout: 1.12.13 > sys-apps/sandbox:1.6-r2 > sys-devel/autoconf: 2.63-r1 > sys-devel/automake: 1.8.5-r3, 1.9.6-r2, 1.10.2 > sys-devel/binutils: 2.18-r3 > sys-devel/gcc-config: 1.4.1 > sys-devel/libtool: 2.2.6a > virtual/os-headers: 2.6.27-r2 > ACCEPT_KEYWORDS="x86" > CBUILD="i686-pc-linux-gnu" > CFLAGS="-O2 -march=i686 -pipe" > CHOST="i686-pc-linux-gnu" > CONFIG_PROTECT="/etc /var/bind" > CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ > /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ > /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ > /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d > /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c > /etc/udev/rules.d" > CXXFLAGS="-O2 -march=i686 -pipe" > DISTDIR="/usr/portage/distfiles" > EMERGE_DEFAULT_OPTS="--with-bdeps y" > FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox > sfperms strict unmerge-orphans userfetch" > GENTOO_MIRRORS="http://distfiles.gentoo.org > http://distro.ibiblio.org/pub/linux/distributions/gentoo"; > LDFLAGS="-Wl,-O1" > LINGUAS="en es fr" > MAKEOPTS="-j2" > PKGDIR="/usr/portage-packages/carter" > PORTAGE_CONFIGROOT="/" > PORTAGE_RSYNC_EXTRA_OPTS="--human-readable" > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times > --compress --force --whole-file --delete --stats --timeout=180 > --exclude=/distfiles --exclude=/local --exclude=/packages" > PORTAGE_TMPDIR="/var/tmp" > PORTDIR="/usr/portage" > PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/bscharpf" > SYNC="rsync://rsync.gentoo.org/gentoo-portage" > USE="X a52 aac acl acpi alsa apache2 apm bash-completion berkdb > bind-mysql bluetooth branding bzip2 cairo cdr cli consolekit cracklib > crypt cups dbus dhcp doc dri dts dvd dvdr eds emboss encode evo examples > exim fam firefox flac foomaticdb fortran gdbm geoip gif gnome gpm > gstreamer gtk hal iconv imap imlib innodb ipv6 ithreads jadetex java > jpeg kde ldap libclamav libg++ libnotify libwww mad mikmod mmx > mode-owner modules mp3 mp4 mpeg mpm-leader mudflap mysql ncurses > networking nls nptl nptlonly oav offensive ogg opengl openmp pam pcre > pdf perl perlsuid png ppds pppd python qt3 qt3support qt4 quicktime > readline reflection ruby samba sdl search server session slp spell spl > ssl startup-notification svg sysfs syslog tcpd tetex threads thunar tiff > tk truetype unicode usb virus-scan vorbis win32codecs x264 x86 xml xorg > xulrunner xv xvid zaptel zlib" ALSA_CARDS="ali5451 als4000 atiixp > atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 > es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio > via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy > dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat > linear meter mmap_emul mulaw multi null plug rate route share shm > softvol" APACHE2_MODULES="actions alias auth_basic authn_alias > authn_anon authn_dbm authn_default authn_file authz_dbm authz_default > authz_groupfile authz_host authz_owner authz_user autoindex cache dav > dav_fs dav_lock deflate
[gentoo-user] OT - Sent messages not being saved in Sent Items folder
For some time now (Since April 26) evolution hasn't been saving the mail I send in the Sent Items folder. I don't know if this is a problem with my evolution installation, with dovecot, or with exim, but it's really annoying. My wife's evolution still saves her sent mail in Sent Items, so it's probably evolution. I checked the account preferences, and it says it's set to save them in Sent Items. Here is my info: camille ~ # emerge --info Portage 2.1.2.7 (default-linux/x86/no-nptl, gcc-4.1.2, glibc-2.5-r3, 2.6.20-gentoo-r7 i686) = System uname: 2.6.20-gentoo-r7 i686 Intel(R) Celeron(R) CPU 2.66GHz Gentoo Base System release 1.12.9 Timestamp of tree: Wed, 13 Jun 2007 09:00:09 + distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox:1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo"; LINGUAS="en fr es" MAKEOPTS="-j2" PKGDIR="/usr/portage-packages/camille" PORTAGE_RSYNC_EXTRA_OPTS="--human-readable" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apache2 apm arts asterisk audiofile avi bash-completion berkdb bind-mysql bitmap-fonts browserplugin bzip2 candy cdr cgi cli cracklib crypt ctype cups dba dbus divx4linux doc dri dvb dvd dvdr dvdread eds emboss encode examples expat f77 ffmpeg flash foomaticdb fortran ftp gdbm gif glut gnome gphoto2 gpm gstreamer gtk gtk2 guile hal iconv imap imlib ipv6 isdnlog ithreads ivtv jack jack-tempfs java jikes joystick jpeg kde kerberos lib libclamav libg++ libwww lirc mad midi mikmod mmx mmx2 mmxext mode-owner motif mp3 mpeg mpm-leader mudflap mysql mythtv nas nautilus ncurses new-login nls nntp nsplugin offensive ogg oggvorbis opengl openmp oss pam pcre pdf perl php png portaudio ppds pppd python qt qt3 qt4 quicktime readline real reflection ruby samba sasl sdl seamonkey session slp snmp spell spl sql ssl svga syslog tcl tcltk tcpd threads tidy truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vorbis win32codecs x86 xml xml2 xorg xv zaptel zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr es" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS camille ~ # emerge -pv evolution These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] mail-client/evolution-2.8.3-r2 USE="crypt dbus doc hal ipv6 kerberos nntp spell ssl -bogofilter -debug -krb4 -ldap -mono -pda -profile" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Can anyone help me with this? If there is any additional information that would be helpful, please let me know... -- [EMAIL PROTECTED] mailing list
[gentoo-user] Vixiecron not working all the sudden
Recently, around October 23rd, I've noticed that my cron.daily stuff isn't running. I've tried to 'restart' vixiecron and it complains that it's already started (duh). So I'll killall cron, rm the pid, etc. and then start it again and it works for a while then dies again. I made a simple script that emails me and put it in cron.hourly... Sure enough after a while it just stops working. WTF. I haven't updated vixiecron in a very long time... # genlop -l | grep cron Fri Jul 23 04:23:37 2004 >>> sys-apps/cronbase-0.3 Sun Nov 7 10:54:47 2004 >>> sys-apps/vixie-cron-4.1-r2 Sun Nov 7 21:54:46 2004 >>> sys-apps/cronbase-0.3.1 Mon Nov 29 03:50:10 2004 >>> sys-apps/vixie-cron-4.1-r4 Mon Apr 25 04:21:06 2005 >>> sys-process/vixie-cron-4.1-r7 Sat May 7 20:28:31 2005 >>> sys-process/cronbase-0.3.2 Thu Aug 11 06:22:34 2005 >>> sys-process/vixie-cron-4.1-r8 # genlop -l --date 4 weeks ago * app-admin/gnome-system-tools [I removed some kde/gnome stuff, as that should have no effect] Wed Oct 19 12:51:38 2005 >>> [some stuff, but cron worked after this point] Mon Oct 31 17:33:17 2005 >>> app-shells/bash-3.0-r13 Mon Oct 31 20:48:56 2005 >>> dev-libs/openssl-0.9.7e-r2 Mon Oct 31 23:23:51 2005 >>> dev-lang/python-2.4.2 Mon Oct 31 23:36:04 2005 >>> sys-apps/sysvinit-2.86-r2 Tue Nov 1 00:29:48 2005 >>> net-misc/rsync-2.6.6-r1 Tue Nov 1 01:11:06 2005 >>> net-misc/wget-1.10.2 Tue Nov 1 01:45:29 2005 >>> sys-apps/man-pages-2.09 Tue Nov 1 03:00:18 2005 >>> sys-devel/libtool-1.5.20 Tue Nov 1 17:22:28 2005 >>> sys-fs/udev-070-r1 Tue Nov 1 19:48:17 2005 >>> sys-libs/pam-0.78-r3 Tue Nov 1 21:29:46 2005 >>> net-misc/openssh-4.2_p1 Wed Nov 2 01:18:33 2005 >>> dev-perl/DBD-mysql-2.9007 Wed Nov 2 01:22:39 2005 >>> media-sound/alsa-headers-1.0.10_rc2 Wed Nov 2 01:32:16 2005 >>> media-libs/alsa-lib-1.0.10_rc2 Wed Nov 2 01:32:51 2005 >>> app-admin/localepurge-0.2-r2 Wed Nov 2 01:37:12 2005 >>> mail-mta/exim-4.54 Wed Nov 2 01:42:49 2005 >>> dev-libs/glib-2.8.3 Wed Nov 2 11:25:22 2005 >>> app-crypt/gpgme-1.1.0 Thu Nov 3 01:24:42 2005 >>> media-libs/taglib-1.4 Thu Nov 3 08:53:06 2005 >>> net-misc/curl-7.15.0 Thu Nov 3 08:57:10 2005 >>> gnome-base/librsvg-2.12.7 Thu Nov 3 08:58:36 2005 >>> app-text/gnome-doc-utils-0.4.3 Thu Nov 3 09:01:17 2005 >>> media-sound/sound-juicer-2.12.2-r1 Thu Nov 3 09:31:07 2005 >>> dev-python/pygtk-2.8.2 Thu Nov 3 09:34:29 2005 >>> app-portage/gentoolkit-0.2.0-r2 Thu Nov 3 09:37:48 2005 >>> dev-db/phpmyadmin-2.6.4_p3 Thu Nov 3 09:38:29 2005 >>> net-www/mod_auth_mysql-3.0.0 Thu Nov 3 09:48:29 2005 >>> media-sound/beep-media-player-0.9.7-r8 Thu Nov 3 09:51:51 2005 >>> media-libs/imlib2-1.2.1.009 Thu Nov 3 09:52:48 2005 >>> net-ftp/vsftpd-2.0.3-r2 Thu Nov 3 10:26:21 2005 >>> media-gfx/imagemagick-6.2.4.2-r1 Thu Nov 3 23:31:26 2005 >>> sys-devel/gcc-config-1.3.12-r3 Thu Nov 3 23:42:31 2005 >>> sys-kernel/gentoo-sources-2.6.13-r5 Thu Nov 3 23:51:59 2005 >>> media-libs/netpbm-10.29 Thu Nov 3 23:52:43 2005 >>> app-admin/eselect-1.0_rc1 Thu Nov 3 23:53:21 2005 >>> app-admin/eselect-opengl-1.0.3 Fri Nov 4 00:05:30 2005 >>> media-gfx/xloadimage-4.1-r4 Fri Nov 4 00:10:50 2005 >>> dev-libs/liboil-0.3.3 Fri Nov 4 00:26:44 2005 >>> net-libs/libwww-5.4.0-r4 Fri Nov 4 00:32:55 2005 >>> x11-libs/fltk-1.1.6 Fri Nov 4 00:41:16 2005 >>> media-video/totem-1.2.0-r2 Sat Nov 5 20:04:15 2005 >>> sys-apps/man-pages-2.11 Sat Nov 5 23:21:51 2005 >>> media-libs/giflib-4.1.4 Thu Nov 10 22:13:58 2005 >>> sys-apps/attr-2.4.19-r1 Thu Nov 10 22:16:32 2005 >>> sys-apps/acl-2.2.27 Thu Nov 10 22:38:35 2005 >>> media-sound/alsa-headers-1.0.10_rc3 Thu Nov 10 22:46:57 2005 >>> media-libs/alsa-lib-1.0.10_rc3 Thu Nov 10 22:47:27 2005 >>> app-portage/mirrorselect-1.2 Thu Nov 10 23:27:17 2005 >>> dev-util/desktop-file-utils-0.10-r1 Thu Nov 10 23:34:36 2005 >>> x11-libs/vte-0.11.15-r1 Thu Nov 10 23:35:17 2005 >>> app-portage/gentoolkit-0.2.0-r3 Thu Nov 10 23:38:35 2005 >>> dev-db/phpmyadmin-2.7.0_beta1 The cron man page states: "In this version of cron, /etc/crontab must not be readable or writable by any user other than root. In other words, it should be mode 0600." # ll /etc/crontab -rw-r--r-- 1 root root 2477 Aug 11 06:22 /etc/crontab # chmod 600 /etc/crontab # ll /etc/crontab -rw--- 1 root root 2477 Aug 11 06:22 /etc/crontab # /etc/init.d/vixie-cron restart But I don't think that will slove it, as the date of the file his Aug 11th... So that means it was running fine for several months with the wrong perms... -- gentoo-user@gentoo.org mailing list
[gentoo-user] mailman stopped working after upgrade
Mailman was working, then a (Gentoo) 'emerge -Davu system' update happened the other day and looks like it broke mailman. daevid portage-logs # ll *mailman* -rw-r--r-- 1 root root 62662 Sep 7 11:34 3485-mailman-2.1.5-r4.log -rw-r--r-- 1 root root 1105 Sep 7 11:34 3486-mailman-2.1.5-r4.log Sep 12 12:16:19 [Mailman mail-wrapper] Group mismatch error. Mailman expected the mail_wrapper script to be executed as group "mailman", but_the system's mail server executed the mail script as_group "mail". Try tweaking the mail server to run the_script as group "mailman", or re-run configure, _providing the command line option `--with-mail-gid=mail'._ Sep 12 12:16:19 [exim] 2005-09-12 12:16:19 1EEtms-00021M-60 ** |/usr/local/mailman/mail/mailman post rbc <[EMAIL PROTECTED]> R=system_aliases T=address_pipe: Child process of address_pipe transport returned 2 from command: /usr/local/mailman/mail/mailman daevid bin # locate mail_wrapper daevid bin # locate as_group daevid portage-logs # ll /usr/local/mailman/mail/mailman -rwxr-sr-x 1 mailman mailman 7768 Sep 7 11:34 /usr/local/mailman/mail/mailman daevid bin # ll total 372 drwxrwsr-x 2 mailman mailman 4096 Sep 7 11:34 . drwxrwsr-x 20 mailman mailman 4096 Apr 4 13:52 .. -rwxr-xr-x 1 mailman mailman 7612 Sep 7 11:34 add_members -rwxr-xr-x 1 mailman mailman 5406 Sep 7 11:34 arch -rw-r--r-- 1 mailman mailman 3748 Sep 7 11:34 auto -rwxr-xr-x 1 mailman mailman 2559 Sep 7 11:34 b4b5-archfix -rwxr-xr-x 1 mailman mailman 6130 Sep 7 11:34 change_pw -rwxr-xr-x 1 mailman mailman 4264 Sep 7 11:34 check_db -rwxr-xr-x 1 mailman mailman 12223 Sep 7 11:34 check_perms -rwxr-xr-x 1 mailman mailman 6632 Sep 7 11:34 check_perms_grsecurity.py -rwxr-xr-x 1 mailman mailman 5492 Sep 7 11:34 cleanarch -rwxr-xr-x 1 mailman mailman 6409 Sep 7 11:34 clone_member -rwxr-xr-x 1 mailman mailman 12326 Sep 7 11:34 config_list -rwxr-xr-x 1 mailman mailman 1499 Sep 7 11:34 convert.py -rwxr-xr-x 1 mailman mailman 3238 Sep 7 11:34 discard -rwxr-xr-x 1 mailman mailman 4399 Sep 7 11:34 dumpdb -rwxr-xr-x 1 mailman mailman 4951 Sep 7 11:34 find_member -rwxr-xr-x 1 mailman mailman 2633 Sep 7 11:34 fix_url.py -rw-r--r-- 1 mailman mailman 2497 Apr 4 13:52 fix_url.pyc -rwxr-xr-x 1 mailman mailman 3097 Sep 7 11:34 genaliases -rwxr-xr-x 1 mailman mailman 2815 Sep 7 11:34 inject -rwxr-xr-x 1 mailman mailman 2561 Sep 7 11:34 list_admins -rwxr-xr-x 1 mailman mailman 3329 Sep 7 11:34 list_lists -rwxr-xr-x 1 mailman mailman 8316 Sep 7 11:34 list_members -rwxr-xr-x 1 mailman mailman 3165 Sep 7 11:34 list_owners -rwxr-xr-x 1 mailman mailman 21124 Sep 7 11:34 mailmanctl -rw-r--r-- 1 mailman mailman 18995 Sep 7 11:34 majordomo2mailman.pl -rw-r--r-- 1 mailman mailman 5951 Sep 7 11:34 mm-handler -rw-r--r-- 1 mailman mailman 7048 Sep 7 11:34 mm-handler.readme -rwxr-xr-x 1 mailman mailman 2989 Sep 7 11:34 mmsitepass -rwxr-xr-x 1 mailman mailman 5530 Sep 7 11:34 msgfmt.py -rwxr-xr-x 1 mailman mailman 7127 Sep 7 11:34 newlist -rw-r--r-- 1 mailman mailman 2412 Sep 7 11:34 paths.py -rw-r--r-- 1 rootmailman 652 Sep 7 11:34 paths.pyc -rwxr-xr-x 1 mailman mailman 4076 Sep 7 11:34 qmail-to-mailman.py -rwxr-xr-x 1 mailman mailman 9196 Sep 7 11:34 qrunner -rwxr-xr-x 1 mailman mailman 2957 Sep 7 11:34 rb-archfix -rwxr-xr-x 1 mailman mailman 4699 Sep 7 11:34 remove_members -rwxr-xr-x 1 mailman mailman 4256 Sep 7 11:34 rmlist -rwxr-xr-x 1 mailman mailman 3463 Sep 7 11:34 rotatelogs.py -rwxr-xr-x 1 mailman mailman 1346 Sep 7 11:34 show_qfiles -rwxr-xr-x 1 mailman mailman 9664 Sep 7 11:34 sync_members -rwxr-xr-x 1 mailman mailman 11999 Sep 7 11:34 transcheck -rwxr-xr-x 1 mailman mailman 2286 Sep 7 11:34 unshunt -rwxr-xr-x 1 mailman mailman 29648 Sep 7 11:34 update -rwxr-xr-x 1 mailman mailman 963 Sep 7 11:34 version -rwxr-xr-x 1 mailman mailman 8382 Sep 7 11:34 withlist daevid portage-logs # more 3486-mailman-2.1.5-r4.log No updates are necessary. * Running `/usr/local/mailman/bin/check_perms -f` * /usr/local/mailman/cgi-bin/admindb must be set-gid (fixing) /usr/local/mailman/cgi-bin/admin must be set-gid (fixing) /usr/local/mailman/cgi-bin/confirm must be set-gid (fixing) /usr/local/mailman/cgi-bin/create must be set-gid (fixing) /usr/local/mailman/cgi-bin/edithtml must be set-gid (fixing) /usr/local/mailman/cgi-bin/listinfo must be set-gid (fixing) /usr/local/mailman/cgi-bin/options must be set-gid (fixing) /usr/local/mailman/cgi-bin/private must be set-gid (fixing) /usr/local/mailman/cgi-bin/rmlist must be set-gid (fixing) /usr/local/mailman/cgi-bin/roster must be set-gid (fixing) /usr/local/mailman/cgi-bin/subscribe must be set-gid (fixing) /usr/local/mailman/mail/mailman must be set-gid (fixing) Problems found: 12 Re-run as mailman (or root) with -f flag to fix * * Please r
RE: [gentoo-user] mailman stopped working after upgrade
Someone on the 'mailman' list pointed me at, but that didn't seem to be very helpful: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq06.016.htp I don't know why this would have broken/changed. I've been running mailman, so this was really just an upgrade. Same user/groups, lists, dirs, etc. The only 'USE' flag I have availabe to me is +apache2 [ebuild R ] net-mail/mailman-2.1.5-r4 +apache2 5,611 kB Furthermore, it appears that the .ebuild has those --with flags mentioned in the FAQ. # more /usr/portage/net-mail/mailman/mailman-2.1.5-r4.ebuild ... src_compile() { econf \ --prefix=${INSTALLDIR} \ --with-mail-gid=${MAILGID} \ --with-cgi-gid=${APACHEGID} \ || die "configure failed" make || die "make failed" } ... > -Original Message- > From: Daevid Vincent [mailto:[EMAIL PROTECTED] > Sent: Monday, September 12, 2005 12:35 PM > To: gentoo-user@lists.gentoo.org > Subject: [gentoo-user] mailman stopped working after upgrade > > Mailman was working, then a (Gentoo) 'emerge -Davu system' > update happened > the other day and looks like it broke mailman. > > daevid portage-logs # ll *mailman* > -rw-r--r-- 1 root root 62662 Sep 7 11:34 3485-mailman-2.1.5-r4.log > -rw-r--r-- 1 root root 1105 Sep 7 11:34 3486-mailman-2.1.5-r4.log > > Sep 12 12:16:19 [Mailman mail-wrapper] Group mismatch error. Mailman > expected the mail_wrapper script to be executed as group > "mailman", but_the > system's mail server executed the mail script as_group > "mail". Try tweaking > the mail server to run the_script as group "mailman", or > re-run configure, > _providing the command line option `--with-mail-gid=mail'._ > Sep 12 12:16:19 [exim] 2005-09-12 12:16:19 1EEtms-00021M-60 ** > |/usr/local/mailman/mail/mailman post rbc <[EMAIL PROTECTED]> > R=system_aliases > T=address_pipe: Child process of address_pipe transport > returned 2 from > command: /usr/local/mailman/mail/mailman > > daevid bin # locate mail_wrapper > daevid bin # locate as_group > > daevid portage-logs # ll /usr/local/mailman/mail/mailman > -rwxr-sr-x 1 mailman mailman 7768 Sep 7 11:34 > /usr/local/mailman/mail/mailman > > daevid bin # ll > total 372 > drwxrwsr-x 2 mailman mailman 4096 Sep 7 11:34 . > drwxrwsr-x 20 mailman mailman 4096 Apr 4 13:52 .. > -rwxr-xr-x 1 mailman mailman 7612 Sep 7 11:34 add_members > -rwxr-xr-x 1 mailman mailman 5406 Sep 7 11:34 arch > -rw-r--r-- 1 mailman mailman 3748 Sep 7 11:34 auto > -rwxr-xr-x 1 mailman mailman 2559 Sep 7 11:34 b4b5-archfix > -rwxr-xr-x 1 mailman mailman 6130 Sep 7 11:34 change_pw > -rwxr-xr-x 1 mailman mailman 4264 Sep 7 11:34 check_db > -rwxr-xr-x 1 mailman mailman 12223 Sep 7 11:34 check_perms > -rwxr-xr-x 1 mailman mailman 6632 Sep 7 11:34 > check_perms_grsecurity.py > -rwxr-xr-x 1 mailman mailman 5492 Sep 7 11:34 cleanarch > -rwxr-xr-x 1 mailman mailman 6409 Sep 7 11:34 clone_member > -rwxr-xr-x 1 mailman mailman 12326 Sep 7 11:34 config_list > -rwxr-xr-x 1 mailman mailman 1499 Sep 7 11:34 convert.py > -rwxr-xr-x 1 mailman mailman 3238 Sep 7 11:34 discard > -rwxr-xr-x 1 mailman mailman 4399 Sep 7 11:34 dumpdb > -rwxr-xr-x 1 mailman mailman 4951 Sep 7 11:34 find_member > -rwxr-xr-x 1 mailman mailman 2633 Sep 7 11:34 fix_url.py > -rw-r--r-- 1 mailman mailman 2497 Apr 4 13:52 fix_url.pyc > -rwxr-xr-x 1 mailman mailman 3097 Sep 7 11:34 genaliases > -rwxr-xr-x 1 mailman mailman 2815 Sep 7 11:34 inject > -rwxr-xr-x 1 mailman mailman 2561 Sep 7 11:34 list_admins > -rwxr-xr-x 1 mailman mailman 3329 Sep 7 11:34 list_lists > -rwxr-xr-x 1 mailman mailman 8316 Sep 7 11:34 list_members > -rwxr-xr-x 1 mailman mailman 3165 Sep 7 11:34 list_owners > -rwxr-xr-x 1 mailman mailman 21124 Sep 7 11:34 mailmanctl > -rw-r--r-- 1 mailman mailman 18995 Sep 7 11:34 majordomo2mailman.pl > -rw-r--r-- 1 mailman mailman 5951 Sep 7 11:34 mm-handler > -rw-r--r-- 1 mailman mailman 7048 Sep 7 11:34 mm-handler.readme > -rwxr-xr-x 1 mailman mailman 2989 Sep 7 11:34 mmsitepass > -rwxr-xr-x 1 mailman mailman 5530 Sep 7 11:34 msgfmt.py > -rwxr-xr-x 1 mailman mailman 7127 Sep 7 11:34 newlist > -rw-r--r-- 1 mailman mailman 2412 Sep 7 11:34 paths.py > -rw-r--r-- 1 rootmailman 652 Sep 7 11:34 paths.pyc > -rwxr-xr-x 1 mailman mailman 4076 Sep 7 11:34 qmail-to-mailman.py > -rwxr-xr-x 1 mailman mailman 9196 Sep 7 11:34 qrunner > -rwxr-xr-x 1 mailman mailman 2957 Sep 7 11:34 rb-archfix > -rwxr-xr-x 1 mailman mailman 4699 Sep 7 11:34 re