Solved

Unix Networks question

Posted on 1997-09-23
3
172 Views
Last Modified: 2013-12-23
Here's the problem! :
Our dialup users can choose to retrieve their email using either pop3 or smtp.  If They decide to use pop3, we create a directoy on the server called
/var/spool/popmail/x1/x2
x1 is the first letter of their hostname
x2 is the FQDN e.g. bob.test.co.uk
so for this address we would create
/var/spool/popmail/b/bob.test.co.uk

If they decide to use SMTP to retrieve their mail, we don't create this directory.

When sendmail recieves email it has to make the following decision-
If for example the email address that sendmail has to deliver to is bob@test.domain.co.uk

If the directory /var/spool/popmail/t/test.domain.co.uk exists, use one delivery agent (Mpop) to write to that pop3
mailbox.
If the directory doesn't exist use Mddn to deliver it to the mailq.

We currently have an old version of sendmail that seems to have slightly modified code to enable this.
We now need to upgrade to sendmail 8.8.7 but we dont have the source code for the older version of sendmail and thus cannot get sendmail 8.8.7 to make this check.

Does anybody know

a)  a change that we could make to the sendmail.cf file to make the check (this would be the ideal solution)
b)  a change to the sendmail code that will make the check

Any help would be really appreciated :)

Cheers
0
Comment
Question by:ianfoster
  • 2
3 Comments
 
LVL 84

Expert Comment

by:ozo
ID: 1582596
You might be able to do something with $( or D= or FW
But I hate fooling around with sendmail.cf any more than I need to.
Maybe it would be easier just to create the directory for everyone
and put a .forward in it?
0
 
LVL 84

Expert Comment

by:ozo
ID: 1582597
Or, make your delivery agent check the directory, and exec to either Mpop or Mddn
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 270 total points
ID: 1582598
.forward, as ozo suggested, would be one simple solution.

I also suggest not to fiddle around in sendmail.cf (using special rules or deliverers).
Just create the directory /var/spool/popmail/t/test.domain.co.uk
and there the file test, then make a soft link in /var/spool/mail (or whatever your mail spool directory is):
   ln -s /var/spool/popmail/t/test.domain.co.uk/test test

   
0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Samba Question 11 76
Router Question 12 55
Receiving wifi on an underground station 22 96
Confirming a network firewall is blocking connections to a port 7 45
Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question