LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-15-2007, 06:32 AM   #1
jborko
LQ Newbie
 
Registered: Mar 2007
Posts: 1

Rep: Reputation: 0
sendmail catchall virtusertable CC problem


Hi,

I use sendmail with several virtual domains in virtusertable.. My config is :

cat /etc/mail/virtusertable

@test.com borko
@sw4itest.com bane

cat /etc/mail/local-host-names
# local-host-names - include all aliases for your machine here.
test.com
sw4itest.com

Problem is next:
when smoneone try to send email e.g. to: mark@test.com and cc:ed@test.com , only one message is found in /var/spoo/mail/borko

can someone help me?

P.S. maillog:


Mar 15 11:56:43 mail sendmail[14150]: l2FAuhOL014150: from=root, size=56, class=0, nrcpts=2, msgid=<200703151056.l2FAuhOL014150@mail.office.com>, relay=root@localhost
Mar 15 11:56:43 mail sendmail[14152]: l2FAuhFO014152: from=<root@mail.office.sw4i.com>, size=328, class=0, nrcpts=1, msgid=<200703151056.l2FAuhOL014150@mail.office.com>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Mar 15 11:56:43 mail sendmail[14150]: l2FAuhOL014150: to=mark@test.com,ed@test.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=60056, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (l2FAuhFO014152 Message accepted for delivery)
Mar 15 11:56:43 mail sendmail[14153]: l2FAuhFO014152: to=<mark@test.com>, ctladdr=<root@mail.office.com> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30529, dsn=2.0.0, stat=Sent
 
Old 03-16-2007, 03:08 PM   #2
Sagebrush Gardener
LQ Newbie
 
Registered: Mar 2007
Posts: 29

Rep: Reputation: 15
> when smoneone try to send email e.g. to: mark@test.com and cc:ed@test.com , only one message is found in /var/spoo/mail/borko

That is intentional. If two or more mail recipients for the same message resolve to the same final delivery address (in this case "borko") only one message will be sent to the final delivery address.

If this is really important to you, here is a workaround that will do what you want:

mark@test.com borko+mark
ed@test.com borko+ed
@test.com borko

By the way, having a catchall address will greatly increase the amount of spam you receive. Avoid it if possible. I always do "@test.com error:nouser" as my last entry.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail virtusertable niranjan_mr Linux - Software 0 11-07-2005 03:41 AM
sendmail virtusertable or aliases? HeadNoodle Linux - Newbie 7 02-18-2005 11:38 AM
Sendmail & Virtusertable akilles Linux - Newbie 0 01-14-2005 03:19 AM
Sendmail /etc/mail/virtusertable not created katana Linux - General 4 03-01-2004 12:19 PM
Sendmail /etc/mail/virtusertable headache! katana Solaris / OpenSolaris 4 12-29-2002 12:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration