Sponsored Content
Top Forums UNIX for Advanced & Expert Users Sendmail virtual domain problem Post 302568793 by andyt22 on Friday 28th of October 2011 08:40:54 AM
Old 10-28-2011
Sendmail virtual domain problem

For a long time we have successfully been running mail servers using sendmail+ClamAV+clamav-milter+SpamAssassin+smf_spamd-milter on Solaris both as a mail server for several domains with local users getting their mail using POP and IMAP and also as a message filtering relay for other domains where after spam/anti-virus filtering, mail is forwarded on to specific email addresses using the virtual users features of sendmail.

Now I want to use this to filter email for 4 domains whose email ends up on the same destination server which is running qmail+vpopmail and has virtual email addresses (there are no real users with login accounts on this server). What is the best way to configure my virtusers table to forward all mail for these 4 domains to the destination server? Supposing one domain is called 'catbowls.com' and another is called 'catbiscuits.com' while the destination server is called 'mail.catbowls.com', can I do something like this:

@catbiscuits.com mail.catbowls.com
@catbowls.com mail.catbowls.com

or should I put:

@catbiscuits.com %1@mail.catbowls.com
@catbowls.com %1@mail.catbowls.com

My attempts do far have resulted in 'unknown user' or 'no mailbox of that name' error messages from the destination server. I don't think this is due to a qmail config issue on the destination server as all 4 domains are currently using Google Postini to filter their email prior to it being forwarded to mail.catbowls.com and this is working. So it looks like there is something wrong with my virtual users table.

Any suggestions gratefully received,

Andy Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Using Sendmail for multiple domain names

Hi, We're an internet company with several domain names. Our mail server was originally set up to deal with xxx@domain1.com email addresses which works fine. The problem I have is that we're now also using a domain2.com, and sales@domain1.com isn't the same as sales@domain2.com. I've added... (1 Reply)
Discussion started by: captainash
1 Replies

2. UNIX for Dummies Questions & Answers

Apache not logging virtual domain

A client has asked us to set up a different domain (as an alias for their site) which they could use on certain marketing material and hence measure the campaign's effectiveness. We've set it up and it all seems to be working fine except that the access log file for the new domain is stuck at zero... (2 Replies)
Discussion started by: fire>ant>
2 Replies

3. UNIX for Advanced & Expert Users

blocking sendmail from domain

hi i edited the /etc/mail/access files with the line "yahoo.com REJECT", afterwhich i cannot send out files to the yahoo.com domain. :mad: can someone advise on how to go about configuring such that i am able to send mail out to yahoo.com BUT block INCOMING mail from yahoo.com :confused: i... (0 Replies)
Discussion started by: legato
0 Replies

4. AIX

sendmail only sends emails to its own domain

Hi, folks! I have a problem with an AIX 5.3 server running sendmail where it is able to send messages within its own domain just fine. This is being used for a web email service portion of a web site. However, when it attempts to send email to any other domain -- i.e., hotmail.com -- it... (3 Replies)
Discussion started by: jjwood64
3 Replies

5. UNIX for Advanced & Expert Users

configure sendmail to append domain

I am running redhat enterprise 4 with sendmail version 8.13. I am trying to configure sendmail to append the domain to localpart. For example If i send an email to “username”. I want sendmail to append the “username” with @bbl.com I tried modifying the following in /etc/mail/sendmail.mc ... (2 Replies)
Discussion started by: hassan1
2 Replies

6. HP-UX

Configuring sendmail to modify the domain name

Hi, I would like to change the domain name using sendmail. For example, currently mails are sent like user@domain1.com I would like to change it to user@domain2.com How this can be done from HP-UX? Your help is highly appreciated. Thanks in advance. (0 Replies)
Discussion started by: smuthuvel
0 Replies

7. Shell Programming and Scripting

Sendmail: Remove domain name from From mail id

While sending mails using sendmail, the domain name is getting appended to the from id. My requirement is not to have that domain name in the From mail id. Could anyone help me on this? I am using the below command: cat t|/usr/lib/sendmail -f"Admin" user1@domain1.com (0 Replies)
Discussion started by: skar_a
0 Replies

8. AIX

Allow unresolveable domain in AIX5.3/Sendmail 8.13.4

Is there a way in AIX5.3 with Sendmail 8.13.4 to accept a sender address with an unresolvable domain? I've read about the option: FEATURE(`accept_unresolvable_domains') But can't seem to confirm if that option is available in this version of Sendmail. If it that feature is not available... (1 Reply)
Discussion started by: epearson1
1 Replies

9. Red Hat

Sendmail not delivering to own domain

I can send off network but can not send to anyone on network. SitRep is this the legacy mail system at work is setup as 2 servers, one is the outbound server and /etc/aliases has a list of users to deliver the mail to another server. for this instance we will call the 192.168.1.9(outgoing)... (4 Replies)
Discussion started by: sycomix
4 Replies

10. Shell Programming and Scripting

Sendmail with wrong domain name

Not sure if this is the right place so I'm sorry if its not. I am setting up a new RHE server and trying to get sendmail to work correctly. Currently when I test sendmail I will recieve an email from (username@servermydomain.com.com) I have scoured the sendmail.cf and cannot find this anywhere.... (2 Replies)
Discussion started by: thumbelina
2 Replies
Sendmail::Milter(3pm)					User Contributed Perl Documentation				     Sendmail::Milter(3pm)

NAME
Sendmail::Milter - compatibility interface for Sendmail::PMilter SYNOPSIS
use Sendmail::Milter; Sendmail::Milter::auto_setconn(NAME); Sendmail::Milter::register(NAME, { CALLBACKS }, FLAGS); Sendmail::Milter::main(); DESCRIPTION
This is a compatibility interface which emulates the "standard" Sendmail::Milter API. FUNCTIONS
The following functions are available in this module. Unlike "Sendmail::PMilter", this interface involves a single, global instance of milter data, so these functions are called without an object reference. For each function, see the description of its object-based counterpart in Sendmail::PMilter. Sendmail::Milter::auto_getconn(NAME[, CONFIG]) Sendmail::Milter::auto_setconn(NAME[, CONFIG]) Sendmail::Milter::main([MAXCHILDREN[, MAXREQ]]) Sendmail::Milter::register(NAME, CALLBACKS[, FLAGS]) Sendmail::Milter::setconn(DESC) One extension function is provided by this implementation. Sendmail::Milter::get_milter() Returns the "Sendmail::PMilter" instance underlying this emulation layer. This allows mostly-unmodified milter scripts to set PMilter extensions (such as dispatcher and sendmail.cf values). It is recommended, however, that new code use the object instance methods described in Sendmail::PMilter. EXPORTS
In order to preserve compatibility with the standard "Sendmail::Milter" interface, all SMFI* constants described in Sendmail::PMilter are exported into the caller's namespace by default. (Note that "Sendmail::PMilter" itself does not export these symbols by default.) perl v5.10.1 2011-02-12 Sendmail::Milter(3pm)
All times are GMT -4. The time now is 03:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy