LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-02-2003, 10:57 AM   #1
ppuddick
Member
 
Registered: Feb 2001
Location: UK
Distribution: Ubuntu 9.10. Debian 5, RHEL 5.3
Posts: 66

Rep: Reputation: 15
/etc/mail/access.swp


Hi there. I have a problem with my sendmail server. This is sitting behind a firewall with the SMART host configured as my ISP's mail server. I can send mail out, I can receive mail. So whats the problem?

The problem is that my ISP has told me that my sendmail box is acting as an open relay. I have configured /etc/mail/access and told it that the only hosts who can relay are those within the internal LAN. Then I type make to make the access.db database. This is the way I have setup Sendmail at other customers sites and it works perfectly.

I have noticed that when I vi /etc/mail/access the machine tells me that there is another file of the same name running as access.swp I'm still a relative newbie to Linux but I would take it from this message that there is the same file in swap. Maybe I,m wrong?!? How do I delete the access.swp file from within the swap? I'm prerrt certain this is confusing sendmail and is the only reason I why the machine is acting as an SMTP open relay. As I've said I have setup sendmail up in exactly the same way at another site and, as far as the ISP is concerned, this sendmail server at the other site is not an open relay. The only difference is the access.swp in swap.

Maybe I'm barking up the wrong tree here. Can somebody please shed some light on this for me? Any help would be much appreciated.
 
Old 05-02-2003, 12:19 PM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
The access.swap has nothing to do with your open relay problem. You should check the contents of access again and recreate the access.db using makemap. You can delete the access.swap btw with just a rm ... the file has been created because of a vi session that didn't successfully exit or something alike ...
 
Old 05-02-2003, 01:06 PM   #3
ppuddick
Member
 
Registered: Feb 2001
Location: UK
Distribution: Ubuntu 9.10. Debian 5, RHEL 5.3
Posts: 66

Original Poster
Rep: Reputation: 15
Thanks markus! ok I'll check the contents of access again! Just out of curiousity where would the access.swap file be? I know that might sound pretty dumb but do I have to be in a certain directory to delete it?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to deal with huge swp files such as .store.log.2.swp from squid directory? Niceman2005 Linux - General 2 11-01-2005 07:25 AM
local mail: how to access with Moz mail client acummings Linux - Networking 2 11-11-2004 08:33 AM
.file.swp praveenv Linux - Newbie 4 08-13-2004 06:14 AM
Sendmail /etc/mail/access issue (access.db) CactusS4 Linux - General 0 05-22-2004 07:59 PM
.swp files sadiboyz Linux - Newbie 2 05-01-2003 11:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:03 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration