Re: [gentoo-user] I can't send attachments

2008-01-06 Thread Michael Sullivan
On Sun, January 6, 2008 7:55 am, Mark Shields wrote:
 On Jan 6, 2008 7:42 AM, Michael Sullivan [EMAIL PROTECTED] wrote:

 I tried to send a comic strip as an attachment to my wife and I got a
 Mailbox Unavailable error.  I'm running:

 baby log # emerge -pv exim

 These are the packages that would be merged, in order:

 Calculating dependencies... done!
 [ebuild   R   ] mail-mta/exim-4.68  USE=exiscan exiscan-acl ldap mysql
 pam perl sasl ssl syslog tcpd -X -dnsdb -domainkeys -dovecot-sasl
 -gnutls -ipv6 -lmtp -mailwrapper -mbox -mbx -nis -postgres -radius -spf
 -sqlite -srs 0 kB

 Total: 1 package (1 reinstall), Size of downloads: 0 kB

 And here's my exim.conf file:
 baby log # cat /etc/exim/exim.conf | sed '/#/d'
 domainlist local_domains = @ : espersunited.com :
 baby.espersunited.com : localhost : localdomain :
 camille.espersunited.com : catherine.espersunited.com : camille :
 catherine
 domainlist relay_to_domains =
 hostlist   relay_from_hosts = 127.0.0.1 : 192.168.1.2 : 192.168.1.3 :
 192.168.1.4
 acl_smtp_rcpt = acl_check_rcpt
 acl_smtp_data = acl_check_data
 acl_smtp_mime = acl_check_mime
 av_scanner = clamd:/tmp/clamd
 spamd_address = 127.0.0.1 783
 qualify_domain = espersunited.com
 never_users = root
 host_lookup = *
 rfc1413_hosts = *
 rfc1413_query_timeout = 5s
 sender_unqualified_hosts = baby.espersunited.com :
 camille.espersunited.com : catherine.espersunited.com :
 localhost.localdomain
 recipient_unqualified_hosts = baby.espersunited.com :
 camille.espersunited.com : catherine.espersunited.com :
 localhost.localdomain
 ignore_bounce_errors_after = 2d
 timeout_frozen_after = 7d
 begin acl
 acl_check_rcpt:
  accept  hosts = :
  denymessage   = Restricted characters in address
  domains   = +local_domains
  local_parts   = ^[.] : [EMAIL PROTECTED]/|]
  denymessage   = Restricted characters in address
  domains   = !+local_domains
  local_parts   = ^[./|] : [EMAIL PROTECTED] : ^.*/\\.\\./
  accept  local_parts   = postmaster
  domains   = +local_domains
  require verify= sender
  accept  hosts = +relay_from_hosts
  control   = submission
  accept  authenticated = *
  control   = submission
  require message = relay not permitted
  domains = +local_domains : +relay_to_domains
  require verify = recipient
  accept
 acl_check_data:
 warnmessage= X-SpamScore: $spam_score ($spam_bar)
spam   = nobody:true
 warnmessage= X-SpamReport: $spam_report
spam   = nobody:true
 warnmessage= X-Spam-Flag: ${if \
 {$spam_score_int}{58}{Almost Certainly}\
 {${if {$spam_score_int}{55}{Probably}\
 {${if {$spam_score_int}{50}{Possibly}{Doubtful}\
 }
spam   = nobody
 warn message = Subject: [*SPAM*] $h_Subject ${if \
 {$spam_score_int}{58}{Almost Certainly}\
 {${if {$spam_score_int}{55}{Probably}\
 {${if {$spam_score_int}{50}{Possibly}{Doubtful}\
 }
spam   = nobody
 denymessage= Rejected: spam score $spam_score
spam   = nobody:true
condition  = ${if {$spam_score_int}{60}{1}{0}}
 accept
 acl_check_mime:
   warn decode = default
   deny message = Blacklisted file extension detected
   condition = ${if match \
   {${lc:$mime_filename}} \
   {\N(\.exe|\.pif|\.bat|\.scr|\.lnk|\.com|.vbs)$\N} \
   {1}{0}}
   accept
 acl_check_content:
   deny  message = Serious MIME defect detected ($demime_reason)
   demime = *
   condition = ${if {$demime_errorlevel}{2}{1}{0}}
   deny  message = This message contains malware ($malware_name)
   malware = *
   warn  message = X-Spam-Score: $spam_score ($spam_bar)
   spam = nobody:true
   warn  message = X-Spam-Report: $spam_report
   spam = nobody:true
   warn message = Subject: [*SPAM*] $h_Subject
   spam = nobody
   deny  message = This message scored $spam_score points.
 Congratulations!
   spam = nobody:true
   condition = ${if {$spam_score_int}{50}{1}{0}}
   accept
 begin routers
 dnslookup:
  driver = dnslookup
  domains = ! +local_domains
  transport = remote_smtp
  ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
  no_more
 system_aliases:
  driver = redirect
  allow_fail
  allow_defer
  data = ${lookup{$local_part}lsearch{/etc/mail/aliases}}
  file_transport = address_file
  pipe_transport = address_pipe
 userforward:
  driver = redirect
  check_local_user
  file = $home/.forward
  no_verify
  no_expn
  check_ancestor
  file_transport = address_file
  pipe_transport = address_pipe
  reply_transport = address_reply
 localuser:
  driver = accept
  check_local_user
  transport = local_delivery
  cannot_route_message = Unknown user
 begin transports
 remote_smtp:
  driver = smtp
 local_delivery:
  driver = appendfile
  directory = /home/$local_part/.maildir
  maildir_format
  delivery_date_add

Re: [gentoo-user] Exim, Outlook 2007, and Thunderbird

2008-09-08 Thread Michael Sullivan
On Mon, 2008-09-08 at 17:51 -0500, Michael Sullivan wrote:
 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
 imap  143/tcp imap2   # Internet Message Access 
 Protocol
 imap  143/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?
 
 

I forgot:

camille log # netstat -ptln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address   Foreign Address
State   PID/Program name   
tcp0  0 0.0.0.0:80000.0.0.0:*
LISTEN  14520/nasd  
tcp0  0 0.0.0.0:60512   0.0.0.0:*
LISTEN  14193/rpc.mountd
tcp0  0 0.0.0.0:20490.0.0.0:*
LISTEN  -   
tcp0  0 192.168.1.2:33060.0.0.0:*
LISTEN  18476/mysqld
tcp0  0 0.0.0.0:38285   0.0.0.0:*
LISTEN  13957/rpc.statd 
tcp0  0 0.0.0.0:143 0.0.0.0:*
LISTEN  4311/dovecot
tcp0  0 0.0.0.0:65430.0.0.0:*
LISTEN  14886/mythbackend   
tcp0  0 127.0.0.1:783   0.0.0.0:*
LISTEN  13656/spamd child   
tcp0  0 0.0.0.0:111 0.0.0.0:*
LISTEN  13825/portmap   
tcp0  0 0.0.0.0:65440.0.0.0:*
LISTEN  14886/mythbackend   
tcp0  0 0.0.0.0:21  0.0.0.0:*
LISTEN  13764/vsftpd
tcp0  0 192.168.1.2:53  0.0.0.0:*
LISTEN  13718/named 
tcp0  0 127.0.0.1:530.0.0.0:*
LISTEN  13718/named 
tcp0  0 0.0.0.0:41495   0.0.0.0:*
LISTEN  -   
tcp0  0 0.0.0.0:25  0.0.0.0:*
LISTEN  3879/exim   
tcp0  0 127.0.0.1:953   0.0.0.0:*
LISTEN  13718/named 
tcp0  0 :::16001:::*
LISTEN  14503/esound-esd
tcp0  0 :::80   :::*
LISTEN  2502/apache2
tcp0  0 :::22   :::*
LISTEN  13783/sshd  





Re: [gentoo-user] Exim, Outlook 2007, and Thunderbird

2008-09-08 Thread Michael Sullivan
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] [OT] opinions know-how requested: how to create a mail cluster

2005-08-05 Thread kashani

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?

2018-01-19 Thread Grant Edwards
On 2018-01-20, Grant Taylor <gtay...@tnetconsulting.net> 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)

2020-04-02 Thread Caveman Al Toraboran
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



[gentoo-user] Re: mail cannot send emails (trying to use it with smartd)

2020-04-02 Thread Grant Edwards
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.




Re: [gentoo-user] Is it sefe to unmerge?

2008-02-13 Thread Alan McKinnon
On Wednesday 13 February 2008, Sergey Kobzar wrote:
 Hi

 'emerge -pv --depclean' shows that these packages may be unmerged:
snip detail
  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 package-name'

-- 
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

2008-04-21 Thread darren kirby
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] Qmail and Spamassassin won't integrate

2008-04-26 Thread Sean
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] Exim, Outlook 2007, and Thunderbird

2008-09-08 Thread Michael Sullivan
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] Exim, Outlook 2007, and Thunderbird

2008-09-08 Thread Dale

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

:-)  :-) 



Re: [gentoo-user] Exim, Outlook 2007, and Thunderbird

2008-09-08 Thread Michael Sullivan
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] Exim, Outlook 2007, and Thunderbird

2008-09-08 Thread Dale

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

:-)  :-) 



Re: Re: [gentoo-user] Re: Messed up mail access rights

2005-09-26 Thread Michael Kintzios
 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: Re: [gentoo-user] Re: Messed up mail access rights

2005-09-27 Thread Michael Kintzios


 -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

2005-09-30 Thread Mark Shields
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] Simple SMTP queue for a laptop

2005-10-26 Thread Richard Fish

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



Re: [gentoo-user] [OT] Simple and lightweight SMTP server

2005-11-11 Thread Chad Leigh -- Shire.Net LLC


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] FW: mail-mta/exim (is blocking mail-mta/ssmtp-2.61-r2) (more info added)

2007-05-30 Thread Boyd Stephen Smith Jr.
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


Re: [gentoo-user] dns at startup

2006-04-16 Thread Rohit Sharma
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



[gentoo-user] Re: Mail system recommendations

2006-11-08 Thread reader
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] Re: Mail system recommendations

2006-11-08 Thread Vladimir G. Ivanovic
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



[gentoo-user] [OT] opinions know-how requested: how to create a mail cluster

2005-08-05 Thread daniel
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] mailman stopped working after upgrade

2005-09-15 Thread Daevid Vincent
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: [gentoo-user] netqmail and qmail

2006-07-31 Thread kashani

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] A little OT; ssmtp: Is this correct?

2009-07-17 Thread Michael Higgins
On Fri, 17 Jul 2009 09:26:24 -0500
Michael Sullivan msulli1...@gmail.com 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



[gentoo-user] Re: Simple SMTP to cmd-line MTA relay?

2018-01-19 Thread Grant Edwards
On 2018-01-19, Ralph Seichter <m16+gen...@monksofcool.net> 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] Simple SMTP to cmd-line MTA relay?

2018-01-19 Thread Grant Taylor

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?

2018-01-19 Thread Grant Edwards
On 2018-01-19, Grant Taylor <gtay...@tnetconsulting.net> 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

2019-03-28 Thread tuxic
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] tips on running a mail server in a cheap vps provider run but not-so-trusty admins?

2020-08-18 Thread Rich Freeman
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

2020-11-25 Thread Bhaskar Chowdhury

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


[gentoo-user] Re: sendmail configuration

2020-11-25 Thread Grant Edwards
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] merge-usr and SPF implementations

2024-03-29 Thread Stefan Schmiedl

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[2]: [gentoo-user] merge-usr and SPF implementations

2024-03-29 Thread Stefan Schmiedl

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] merge-usr and SPF implementations

2024-03-29 Thread Michael
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.


[gentoo-user] Need help configuribng PORTAGE_ELOG_MAILURI

2007-09-06 Thread Michael Sullivan
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=username@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] Need help configuribng PORTAGE_ELOG_MAILURI

2007-09-06 Thread Michael Sullivan

--- 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
 
 # Gentoo bug #47562
 # Commenting the following line will force ssmtp to
 figure
 # out the hostname itself.
 
 #hostname=username@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
 
 

Let me make a small correction; the last line of
make.conf should be uncommented, and the error from
glsa-check should be:

camille etc # glsa-check -m 200610-14Traceback (most
recent call last):
  File /usr/bin/glsa-check, line 316, in ?
portage_mail.send_mail

Re[2]: [gentoo-user] Is it sefe to unmerge?

2008-02-13 Thread Sergey Kobzar
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:
 snip detail
  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 package-name'

Thanks.


 -- 
 Alan McKinnon
 alan dot mckinnon at gmail dot com

-- 
Sergey

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Unable to locate mail

2006-02-18 Thread Christopher Cowart
 
 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


[gentoo-user] Re: Re: Unable to locate mail

2006-02-19 Thread Mick
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: Re: [gentoo-user] Re: Messed up mail access rights

2005-09-30 Thread Mark Shields
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 youusing 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] Omitting blocked package when updating world

2005-10-15 Thread C. Beamer
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 ] mail-client/pine-4.64-r1 (is blocking
net-mail/uw-mailutils-2004g)
[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
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Simple SMTP queue for a laptop

2005-10-26 Thread John Jolet


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] Gnome / problem registering the panel with bonobo-activation-server / error code 3

2007-05-14 Thread Daevid Vincent
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] FW: mail-mta/exim (is blocking mail-mta/ssmtp-2.61-r2) (more info added)

2007-05-30 Thread Bo Ørsted Andresen
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.


[gentoo-user] Spamassassin: Ignoring setup ???

2006-05-31 Thread Meino Christian Cramer

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] Spamassassin: Ignoring setup ???

2006-05-31 Thread Korthrun
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 messagehas 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 namedescription -- --1.2 SUBJ_ALL_CAPSSubject is all capitals
0.9 DEAR_FRIENDBODY: Dear Friend? That's not very dear! 1.2 BLANK_LINES_70_80BODY: 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_1Appears 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] [OT] opinions know-how requested: how to create a mail cluster

2005-08-05 Thread Raymond Lillard

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



[gentoo-user] Re: new install using lxdeL no `run' cmd

2014-12-17 Thread Harry Putnam
Harry Putnam rea...@newsguy.com writes:

 For your information:  Attached is message from the lxde devel gmane
 group from Jonathan Thibault jonat...@navigue.com.

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 jonat...@navigue.com
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 rea...@newsguy.com, lxde-l...@lists.sourceforge.net
Original-X-From: lxde-list-boun...@lists.sourceforge.net Tue Dec 16 22:36:56 
2014
Return-path: lxde-list-boun...@lists.sourceforge.net
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 lxde-list-boun...@lists.sourceforge.net)
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 lxde-list-boun...@lists.sourceforge.net)
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 jonat...@navigue.com) 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: lxde-list.lists.sourceforge.net
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

Re: [gentoo-user] Re: Simple SMTP to cmd-line MTA relay?

2018-01-19 Thread Grant Taylor

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

2021-12-14 Thread Grant Taylor

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-ppc-user] Glibc pooched. Borked system.

2005-12-10 Thread darren kirby
quoth the David Bélanger:
 On Wed, Dec 07, 2005 at 09:33:14PM -0800, darren kirby wrote:

 Did you try the glibc on the installation/Live CDs?
 If there is no packages, simply copy all the glibc files over and try
 it.

I have the universal install disk. The glibc package here will just be source 
code wont it? I guess I could just re-unpack the stage 3 file, but I am 
unsure how this will affect the packages I have already installed/updated, 
such as everything you do after unpacking the stage tarball in the install 
guide.

I am unsure of how to separate the glibc files from the rest in the stage 
tarball.

 Basically, if you don't want to reinstall, you need a good glibc and
 a good toolchain (gcc, binutils).

 Once you have that, rebuild glibc.

  2. Is this problem a sign of things to come? Is gentoo on ppc not stable
  enough to use as a server? Any advice from experts on this?

 Gentoo is not really design for production environments because you
 have no guarranty if all packages have been tested with the exact
 same settings, lib version, gcc version, etc. as you.

Well, I am well aware of the strengths/weaknesses of gentoo. I should say that 
my current server, ie: the one I am trying to replace with this G4 box, has 
been running gentoo for a couple years with no problems.

 It does not really have things to do with the ppc architecture itself.

Perhaps not, but I have run into this glibc problem in the first day! So what 
I am trying to find out is if the packages I will be relying on (apache, 
exim, mysql, named etc...) are reliable enough to use on this platform.

 I would recommend using an other operating system than Gentoo for your
 server if keeping it running 24/24 and smoothly is an issue.  Also,
 for servers, you probably don't want to do updates other than security
 updates.

The server just runs my personal web/mailserver publically, and does pop3 and 
DNS service for the private network behind it. I don't think you could call 
this a production server with a strait face. While I do strive for 
reliability with it, the worst that can happen if it goes down is bounced 
mail, and Unknown host messages for those trying to view my webpages.

My more pressing concern is for security. I am currently running a hardened 
kernel and toolchain, and would like to do the same with this one.

 David

Thanks for the reply,
-d

 ---

 David Bélanger
 Web page:   http://www.cs.mcgill.ca/~dbelan2/
 Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt

-- 
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


pgp53MfhFd4PF.pgp
Description: PGP signature


RE: [gentoo-user] mailman stopped working after upgrade

2005-09-23 Thread Daevid Vincent
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] Omitting blocked package when updating world

2005-10-15 Thread Holly Bostick
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 ]
 mail-client/pine-4.64-r1 (is blocking net-mail/uw-mailutils-2004g) 
 [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



RE: [gentoo-user] mailman stopped working after upgrade

2005-09-15 Thread Michael Sullivan
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



[gentoo-user] A little OT; ssmtp: Is this correct?

2009-07-17 Thread Michael Sullivan
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] Anything better than procmail?

2010-06-12 Thread David W Noon
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


Re: [gentoo-user] Palemoon with gcc-5 without issues WAS: Palemoon again - again

2017-04-19 Thread Miroslav Rovis
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: <d90e68bf-08f6-4e71-9b55-e2cb68a9f...@antarean.org>
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 <pe...@prh.myzen.co.uk>
To: gentoo-user@lists.gentoo.org

and:

Date: Tue, 18 Apr 2017 17:04:16 +0200
From: Miroslav Rovis <miro.ro...@croatiafidelis.hr>
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] OT: looking for email provider

2020-02-02 Thread Daryl
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.



Re: [gentoo-user] Alternate Incoming Mail Server

2020-04-07 Thread Stefan Schmiedl
"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

2021-12-15 Thread Laurence Perkins
>
>
>-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] Mail systems

2005-10-10 Thread Patrick Börjesson
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. 

Example
:0
* ^List-Id.*gentoo-user\.gentoo\.org
.gentoo-user/
/Example

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 easily done
with any mail client supporting local maildirs and IMAP (Pine should do
it, I think).
If you have any problems, the mailing list is always open ;)

PS. I'm pretty certain I've forgotten to bring something up, but the
documentation on either Gentoo's official site or [1] will probably
help. DS.

[1] http://dev.gentoo.org/~spider

Re: [gentoo-user] Qmail and Spamassassin won't integrate

2008-04-21 Thread Tim Garton
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

2007-09-13 Thread Daevid Vincent
 -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.

rant
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 installing 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...
/rant

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] RE: Digest of gentoo-user@gentoo.org issue 454 (27878-27927)

2005-12-04 Thread Eric Lehmann
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] mailman stopped working after upgrade

2005-09-14 Thread Daevid Vincent
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

2010-04-21 Thread Alan McKinnon
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



Re: [gentoo-user] Re: mail cannot send emails (trying to use it with smartd)

2020-04-03 Thread Grant Taylor

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



[gentoo-user] Vixiecron not working all the sudden

2005-11-16 Thread Daevid Vincent
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] OT - Sent messages not being saved in Sent Items folder

2007-06-13 Thread Michael Sullivan
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] GCC gone bad! Help!

2009-11-19 Thread Michael Sullivan
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] GCC gone bad! Help!

2009-11-19 Thread Fernando Antunes
On Thu, Nov 19, 2009 at 4:51 PM, Michael Sullivan msulli1...@gmail.comwrote:

 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 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

[gentoo-user] OT - vsftpd won't let local users connect

2007-11-06 Thread Michael Sullivan
My vsftpd server won't let users with accounts connect.  This used to
work, and the only thing I can think of after checking the docs is that
pam got upgraded.  Here is my info:

baby pam.d # emerge --info
Portage 2.1.3.16 (hardened/x86/2.6, gcc-4.1.1, glibc-2.6.1-r0,
2.6.19-hardened-r6 i686)
=
System uname: 2.6.19-hardened-r6 i686 AMD Duron(tm) Processor
Timestamp of tree: Sun, 04 Nov 2007 12:00:01 +
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
app-shells/bash: 3.2_p17
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python: 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-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/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/terminfo 
/etc/texmf/web2c /etc/udev/rules.d
CXXFLAGS=-O2 -march=i686 -pipe
DISTDIR=/usr/portage/distfiles
FEATURES=distlocks metadata-transfer sandbox sfperms strict
unmerge-orphans userfetch
GENTOO_MIRRORS=http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo;
LINGUAS=en fr es
MAKEOPTS=-j9
PKGDIR=/usr/portage-packages/baby
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 /usr/local/portage/bscharpf
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=apache2 apm bash-completion berkdb bind-mysql cli cracklib crypt
cups dhcp doc encode examples exim foomaticdb fortran gdbm geoip gif gpm
gstreamer hal hardened imap imlib innodb ithreads java jpeg kerberos
libclamav libg++ libwww midi mikmod mmx mode-owner mpm-leader mysql
ncurses nls nptl nptlonly oav offensive pam pcre perl perlsuid pic png
ppds python readline ruby samba search session slp spell ssl syslog tcpd
tetex threads truetype unicode urandom usb virus-scan x86 xml xorg
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
mulaw multi null plug rate route share shm softvol ELIBC=glibc
INPUT_DEVICES=mouse keyboard 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG,
LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS


baby pam.d # emerge -pv vsftpd

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-ftp/vsftpd-2.0.5-r3  USE=pam ssl tcpd -caps
-logrotate (-selinux) -xinetd 0 kB 

Total: 1 package (1 reinstall), Size of downloads: 0 kB


baby pam.d # cat /etc/vsftpd/vsftpd.conf
#
# Example vsftpd config file
#
# See man 5 vsftpd.conf for more information.
#
# $Header: /var/cvsroot/gentoo-x86/net-ftp/vsftpd/files/vsftpd.conf,v
1.3 2004/07/18 03:56:09 dragonheart Exp $

# Allow anonymous FTP?
anonymous_enable=YES

# Uncomment this to allow local users to log in.
local_enable=YES

# Uncomment this to enable any form of FTP write command.
write_enable=YES

# Default umask for local users is 077. You may wish to change this to
022,
# if your users expect that (022 is used by most other ftpd's)
local_umask=022

# Uncomment this to allow the anonymous FTP user to upload files. This
only
# has an effect if the above global write enable is activated. Also, you
will
# obviously need to create a directory writable by the FTP user.
#anon_upload_enable=YES

# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#anon_mkdir_write_enable=YES

# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES

# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES

# If you want, you can arrange for uploaded anonymous

RE: [gentoo-user] mailman stopped working after upgrade

2005-09-12 Thread Daevid Vincent
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=showfile=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 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

RE: [gentoo-user] mailman stopped working after upgrade

2005-09-12 Thread Daevid Vincent
Well, since I've gotten no replies here, I figured I'd file a report:
http://bugs.gentoo.org/show_bug.cgi?id=105744 

 -Original Message-
 From: Daevid Vincent [mailto:[EMAIL PROTECTED] 
 Sent: Monday, September 12, 2005 1:53 PM
 To: gentoo-user@lists.gentoo.org
 Subject: 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=showfile=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

<    1   2   3